how to install Plesk Control Panel in simple manner without any headache.
Step 1: Getting OS Name with Version and Architecture run the command as
Code:
uname -i
For 32Bit OS Output will be
Code:
i386
For 64Bit OS Output will be
Code:
x86_64
Now for getting OS Name and Version of CentOS we need to run the command as
Code:
cat /etc/redhat-release
The above command will give you output as
Code:
CentOS release 5.7 (Final)
Step 2: Install Redhat/CentOS Dependency through yum by running the command
Code:
yum -y update
Step 3: Run the following 3 commands, to check if Apache, PHP & MySQL are preinstalled by the OS
Code:
rpm -qa | grep -i http
rpm -qa | grep -i php
rpm -qa | grep -i mysql
Step 4: If above Applocation that is Apache, PHP & MySQL installed then remove them by running the command as
Code:
yum remove http*
yum remove php*
yum remove mysql*
Step 5: Check SELinux status
To Check Run:
Code:
getenforce
The Output will be
Code:
"Disabled" or "Not enforcing"
To Disable ( If Enabled or enforced ) Run:
Code:
setenforce 0
Step 6: Changing the directory for installation of plesk run the command as
Code:
mkdir /root/plesk
cd /root/plesk
Step 7: Install Plesk 10.3 by running bellow command
Code:
wget -O - http://autoinstall.plesk.com/one-click-installer | sh
Now wait till Installation is not completed and in the mean time take a cup of tea and once installation is completed run the bellow command to Open Plesk Port that is 8443 through Iptables firewall
Code:
iptables -A OUTPUT -m state --state NEW -p tcp --dport 8443 -j ACCEPT
Step 8: Reseting of Plesk password as default password is not working after installation
A. Change the Directory by running command
Code:
cd /usr/local/psa/admin/bin/
B. Then assign your new password for user admin by running command
Code:
export PSA_PASSWORD='newpass'
C. You can check the password by running command as
Code:
echo $PSA_PASSWORD
Your password here the output will be U12Bn@3jK
D. Now we need to run last command to work the password and the command is
Code:
./ch_admin_passwd
Step 9: Now we will open Plesk with SSL port as
Code:
https://yourip:8443
Code:
Username: admin
Password: newpass
In this tutorial we have successfully installed plesk