How to install Plesk on CentOS / Linux

Installation

Let’s install Plesk not via the Autoinstaller but instead use the super useful tool called the One Click Installer. Instead of downloading a package and then installing it to get the ball rolling, One Click determines your OS and does the whole shebang in one fair swoop.

Here’s how to use it:

wget -O - http://autoinstall.plesk.com/one-click-installer | sh

Works a treat! You may have to yum install wget before you can use this command.

Opening Ports 8443 and 8447

To accept the web interface we’ll need to tell our server that incoming web request are allowed to come in on these two ports. 8443 is for Plesk Panel, 8447 is for additional packages you can install via the web interface.

vi /etc/sysconfig/iptables

Now add the following two lines just under the INPUT ACCEPT section:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 8443-j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8447-j ACCEPT

OR

Simply run:

iptables -I INPUT -p TCP --dport 8443 -j ACCEPT
iptables -I INPUT -p TCP --dport 8447 -j ACCEPT

And then save it:

/etc/init.d/iptables save

Restart the service for those changes to take effect:

service iptables restart

If you get an error message when doing this it may be that copy/paste replaced the minus signs in those switches. Just go through and replace every – manually.

Add Atomic Repo Power (optional)

YUM is already installed by default on CentOS 6 – but to make it even better we can add the Atomic Turtle Repo to it. How do we do this? Like so:

wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh

This is no longer necessary with Plesk 11.x unless you want specific components from the Atmoic repo (such as php-fpm). The good news is that as of 2013 there are no longer any adverse effects if you add it – however I’d only recommend you do this if you know what you’re doing.

How to Log In for the first time

Now Plesk is ready to rock under https://yourdomain.com:8443

Your credentials are the same as your root login for the server. Disregard the certificate warning. Once you’ve filled out all the relevant contact and config options you’ll be able to login with “admin” and that password you’ve chosen.

 

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

View Email Messages in the Qmail Queue

You can view all messages in the email queue. To Display all Messages in the Email Queue Log...

How do I change maximum email size in Plesk?

There is no max file size limit that can be sent and received, however, Plesk defaults the limit...

Enabling Web Statistics in Parallels Plesk Panel

f you use Parallels® Plesk Panel on your server, you can enable its Web statistics to gather...