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 -iFor 32Bit OS Output will be
Code:
i386For 64Bit OS Output will be
Code:
x86_64Now for getting OS Name and Version of CentOS we need to run the command as
Code:
cat /etc/redhat-releaseThe 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 updateStep 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 mysqlStep 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:
getenforceThe Output will be
Code:
"Disabled" or "Not enforcing"To Disable ( If Enabled or enforced ) Run:
Code:
setenforce 0Step 6: Changing the directory for installation of plesk run the command as
Code:
mkdir /root/plesk
cd /root/pleskStep 7: Install Plesk 10.3 by running bellow command
Code:
wget -O - http://autoinstall.plesk.com/one-click-installer | shNow 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 ACCEPTStep 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_PASSWORDYour 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_passwdStep 9: Now we will open Plesk with SSL port as
Code:
https://yourip:8443Code:
Username: admin
Password: newpassIn this tutorial we have successfully installed plesk