plesk

http://www.parallels.com/uk/products/plesk/tutorials/

Plesk Restart

service psa stop – Stops Plesk
service psa start – Starts Plesk
service psa restart – Restarts Plesk
service psa stopall – Stops all Plesk services
service psa startall – Starts all Plesk services

Plesk Version

cat /usr/local/psa/version

Plesk Password

cat /etc/psa/.psa.shadow – to find plesk password
/usr/local/psa/bin/admin –show-password – to find plesk password

Install Plesk on a Clean Server

wget http://download1.parallels.com/Plesk/PP10/10.4.4/CentOS5/parallels_installer_v3.11.0_build111102.17_os_CentOS_5_i386 (or whatever the url is from the parallels website)
wget http://download1.parallels.com/Plesk/PP10/10.4.4/CentOS5/parallels_installer_v3.11.0_build111102.17_os_CentOS_5_i386 (or whatever the url is from the parallels website)
wget http://download1.parallels.com/Plesk/PP10/10.4.4/CentOS5/parallels_installer_v3.11.0_build111102.17_os_CentOS_5_i386 (or whatever the url is from the parallels website)
wget http://autoinstall.plesk.com/plesk-installer

chmod +x plesk-installer
./plesk-installer

Turn Off Offline Management

sudo /usr/sbin/vzctl set CT_ID –offline_service vzpp –save

Add Plesk Licence Key

Bootstrapper (for Plesk 10 and above)

/usr/local/psa/bootstrapper/pp10.XX.0-bootstrapper/bootstrapper.sh repair

Plesk Upgrade

/usr/local/psa/admin/bin/autoinstaller – upgrade to 9.5 > 10 then 11

wget http://download1.parallels.com/Plesk/PP10/10.4.4/CentOS5/parallels_installer_v3.11.0_build111102.17_os_CentOS_5_i386
chmod +x parallels_installer_v3.11.0_build111102.17_os_CentOS_5_i386
./parallels_installer_v3.11.0_build111102.17_os_CentOS_5_i386 –all-versions

To install a Mail Server on Plesk

/usr/local/psa/admin/bin/autoinstaller – Install webmail on Plesk

To Install Postfix on Plesk

/usr/local/psa/admin/sbin/autoinstaller –select-release-current –install-component postfix

To Install Qmail on Plesk

/usr/local/psa/admin/sbin/autoinstaller –select-release-current –install-component qmail

Plesk Backups

/var/lib/psa/dumps – The destination where Plesk backups are
/var/lib/psa/dumps/clients
/var/lib/psa/dumps/domains

Websites not loading after a Plesk Upgrade

ssh onto the server and type the following command
# cd /usr/local/psa/admin/bin
# ./nginxmng -d
# ./nginxmng -e
/usr/local/psa/admin/sbin/httpdmng –reconfigure-all