How to install PLESK on centOS & Ubuntu
This is a guide on how to install PLESK. On centOS, Ubuntu. This command automates the whole process for you. (For centOS users, please make sure you install wget first. yum install wget.) Also make sure your system is updated to the the latest patches.
Step 1: Start by going to your terminal and type the below command.
wget -O – http://autoinstall.plesk.com/one-click- installer | sh
You should see the download processing before it asks you if you want to install:
Type “y” and hit Enter.
Step 2: Opening Ports 8443 and 8447
To accept the web interface you will need to open a couple of ports in the firewall this is so that incoming web requests 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.
You can either use vi or your favourite text editor, I’ve chosen vi for the purpose of this test.
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
Step 3: 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 the syntax. Just go through and replace them manually
Step 4: How to Log In for the first time
Now Plesk is ready to go under https://yourdomain.com:8443 or https://yourip.com:8443. You will more than likely encounter a ‘Your connection is not private’ this is because an SSL certificate needs to be installed on the server but for now you can disregard this and carry on into the PLESK panel.
Your credentials are the same as your root login for the server. 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.