Phone sales support +39 0575 05077
  Phone technical support +39 0575 0508
 
Cloud Server > 12 - Licenses > How to install Plesk (Linux Cloud Server)

12.2.2 How to install Plesk (Linux Cloud Server)

 ATTENTION: if you wish to install Plesk on a Cloud Server already with installed MySQL, we advise you to first uninstall the MySQL from the Cloud Server and then proceed to install Plesk.
If you have a Linux Cloud Server with customised OS/Template, and you wish to make use of all the functions of the Plesk Panel, simply install the Plesk Panel manually. Subsequently you can use a "Demo" license which lasts for 14 days or purchase a Plesk license, download it from the Aruba Cloud Computing control panel and install the license on your Cloud Server via the Plesk Panel itself.

The licenses currently provided by Aruba Cloud Computing are relevant to the 10.4.4 Plesk Panel: before you install the Plesk Panel on your Linux Cloud Server, make sure that all the following requirements have been met:
  • The Plesk Panel, as indicated by the manufacturer, can be installed on the following Linux operating systems:
    • Debian GNU/Linux 5, 6 o 7 (32bit and 64bit)
    • Ubuntu 8.04 LTS, 10.04, 12.04 (32bit and 64bit)
    • CentOS 5.0-5.8, 6.0-6.2 (32bit and 64bit)
    • RedHat Enterprise Linux 5, 6.0-6.2 (32bit and 64bit)
    • openSuse versions 11.3, 11.4, 12.1 (32bit and 64bit)
  • A public IP needs to be configured correctly in the Cloud Server (we remind you that the Cloud Servers created with a template provided by Aruba Cloud Computing already have an associated and configured public IP).
  • If you have chosen to purchase an Extensions Web Presence Builder you need to install PHP 5 on the Cloud Server.
For some distributions certain configurations may be required, or you may need to perform some  commands, for example:
  • On CentOS 5.7 32bit operating system the host file needs to be edited in order to solve the hostname of the server on the public IP of the server itself:
    vim /etc/hosts
    then add the Public IP followed by the hostname of the Server, if not already present (e.g. 95.110.123.123 clouddebian) and save.
  • On CentOS 5.7 64bit operating system certain components need to be removed and the host file needs to be edited in order to solve the hostname of the server on the public IP of the server itself:
    yum -y remove apr
    vim /etc/hosts
    then add the Public IP followed by the hostname of the Server, if not already present (e.g. 95.110.123.123 clouddebian) and save.
  • On CentOS 6 32bit or 64bit certain repositories need to be excluded and components installed:
    rpm -e centos-release-cr-6-0.el6.centos.i686
    rpm -e epel-release
    yum clean all
    yum install xmlrpc-c
    yum install xmlrpc-c-c++
  • On Debian 5 32bit or 64bit, Debian 6 32bit or 64bit, Debian 7 32bit or 64bit, Ubuntu 10.04 32bit or 64bit, Ubuntu 12.04 32bit or 64bit, openSuse 11.4 32bit or 64bit, openSuse 12.1 32bit or 64bit operating systems the host file needs to be edited in order to solve the hostname of the server on the public IP of the server itself:
    vim /etc/hosts
    then add the Public IP followed by the hostname of the Server, if not already present (e.g. 95.110.123.123 clouddebian) and save.
    Also before you proceed with the installation you need to enter an environment variable:
    export PLESK_DISABLE_HOSTNAME_CHECKING=yes
Once the minimum requirements have been verified, you can proceed to install the 10.4.4 Plesk Panel by downloading the Autoinstaller file for your Linux distribution and version, available from the official Parallels website, at http://page.plesk.com/plesk-onyx-free-download and proceed as follows:
  1. Upload the file of the Autoinstaller you just downloaded in your Cloud Server and connect via SSH to your Cloud Server.
  2. Make sure you give the execution permissions to the Autoinstaller file as shown in the example below:
    chmod +x parallels_autoinstaller_file_name
    (where "parallels_autoinstaller_file_name" is the name of the file uploaded in your Cloud Server).
  3. Run the installation:
    ./parallels_autoinstaller_file_name --all-versions
    (where "parallels_autoinstaller_file_name" is the name of the file uploaded in your Cloud Server).
  4. Follow the displayed instructions confirming the installation process each time and choosing to install version 10.4.4 of the Plesk Panel when asked which Plesk package to install. Select the "Typical" installation when asked the type of installation.
  5. Wait for the installation to be completed which may take a few minutes.
Once the installation has been completed a message will appear. For some Linux distributions, such as openSuse, you need to restart the Cloud Server in order to implement the changes made by the installation.
At this point check that the ports in the firewall are open which are required for the Plesk Panel services and in particular:
 

#20 ftp-data (TCP)
#21 ftp (TCP)
#22 ssh (TCP)
#25 smtp (TCP)
#53 dns (TCP and UDP)
#80 http (web server and Plesk updater) (TCP)
#106 poppassd (for localhost only) (TCP)
#110 pop3 (TCP)
#113 auth (TCP)
#143 imap (TCP)
#443 https (TCP)
#465 smtps (TCP)
#587 mail message submission (TCP)
#990 ftps (TCP)
#993 imaps (TCP)
#995 pop3s (TCP)
#3306 mysql (TCP)
#5224 (outgoing connections only) plesk-license-update (TCP)
#5432 postgres (TCP) - Linux Only
#8443 plesk-https (TCP)
#8447 autoinstaller (TCP)
#8880 plesk-http (TCP)
#9080 tomcat (TCP)
#11443 sw-cp-serverd (TCP)- Linux Only
#11444 sw-cp-serverd (TCP) - Linux Only
#12768 psa-pc-remote (for localhost only) (TCP) - Linux Only, postfix

Usually the installation configures the Cloud Server so that such ports are correctly open, but in some cases, as for openSuse, you may need to perform this operation manually. Once the installation has been completed you need to connect to the Plesk Panel via browser to  enter further information for the admin user and to complete the process with the installation of the license:
  1. Connect to the address of your Cloud Server on which the Plesk Panel is installed, by opening a browser window and entering the address https://[IP-Cloud-Server]:8443 (e.g. https://95.110.123.123:8443).
  2. If you don’t have a valid certificate and the browser warns you of the problem, proceed in any case in opening the login page and enter your Plesk Panel login details: enter "root" as the Username and the password that you chose when creating your Cloud Server.
  3. Accept the terms of the free trial license and proceed.
  4. Fill in the required fields by indicating a new password for the "admin" user and enter a valid hostname (e.g. plesk.local).
  5. Indicate the server use type and then the Plesk Panel display type that you wish to use.
  6. Enter the details required for the profile of the "root" admin user.
  7. After entering the required details you will reach the "License Management" page where you need to install the license: click on "Upload Key" to proceed with the installation. Then  click on "Browse" and indicate where the file of the purchased and previously downloaded license is found. Select "Replace the currently installed license key with the select one" and proceed by clicking on "OK".
At this point the Plesk Panel and the relevant license are installed and functional as indicated in the message.