Linux Commands and Scripts

How To Install Plesk on CentOS7

Plesk allows a server administrator to set up new websites, reseller accounts, e-mail accounts, and DNS entries through a web-based interface. In this tutorial, we will install and configure Plesk on a CentOS cloud server (steps for CentOS Linux 6 and 7). Execute all commands as root.

Firstly, login into server via SSH

Run following wget command to download plesk installer:

# wget https://autoinstall.plesk.com/plesk-installer

After it, you need to make plesk-installer file excutable:

# chmod +x plesk-installer

Now, execute plesk-installer:

# ./plesk-installer

It will show some options to select:

(F) Go forward
(Q) Cancel installation

Press F to continue.

Now, you can select version. For Plesk type, 1 and for Plesk Onyx, type 2 and enter F to continue.

You need to select installation type for product:

 (*) Recommended
   Install typically used components. Recommended for general use.
 ( ) Full
    Install all available components. 
 ( ) Custom
    Custom components selection. Recommended only for experienced users.

Press F to continue with Recommended option or if you are fimilar with Plesk and you want to install custom, you can select other two avaliable options.

Press F to continue. It will take 20 to 30 mins to complete the installation.

Components and product check results:
 Installation is finished
Congratulations!   The installation has been finished. Plesk is now running on your server.  
 To complete the configuration process, browse either of URLs:
 hostname: [Hostname]
         * https://[IP]:8443/login?secret=42rSwB%2FwZNc8H%2FRksXh4dwQuGmPPpnCI%2FTZmyJSsa%2F8%3D
   Use the username 'admin' to log in. To log in as 'admin', use the 'plesk login' command.   You can also log in as 'root' using your 'root' password.  
 Use the 'plesk' command to manage the server. Run 'plesk help' for more info.   Use the following commands to start and stop the Plesk web interface:   'service psa start' and 'service psa stop' respectively.   
If you would like to migrate your subscriptions from other hosting panel   or older Plesk version to this server, please check out our assistance   options: https://www.plesk.com/professional-services/
 The changes were applied successfully.

Now, The installation has completed.

Visit http://[IP]:8443

Related Articles