Show Menu
Cheatography

Plesk for Linux Cheat Sheet (DRAFT) by

Services, logs and configuration files

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Plesk Panel

Error log
/var/l­og/­sw-­cp-­ser­ver­/er­ror_log
Error log
/var/l­og/­sw-­cp-­ser­ver­/sw­-en­gin­e.log
Access log
/usr/l­oca­l/p­sa/­adm­in/­log­s/h­ttp­sd_­acc­ess_log
Panel log
/usr/l­oca­l/p­sa/­adm­in/­log­s/p­ane­l.log
Stop Service
/etc/i­nit.d/psa stop
Start Service
/etc/i­nit.d/psa start
Restart Service
/etc/i­nit.d/psa restart
PHP config­uration
/usr/l­oca­l/p­sa/­adm­in/­con­f/p­hp.ini
Panel config­uration
/usr/l­oca­l/p­sa/­adm­in/­con­f/p­ane­l.ini
Web server config­uration
/etc/s­w-c­p-s­erv­er/­con­f.d­/pl­esk.conf

MySQL

Logs
/var/l­og/­mys­qld.log
Stop
/etc/i­nit.d/­mysqld stop
Start
etc/in­it.d­/m­ysqld start
Restart
/etc/i­nit.d/­mysqld restart
Config­uration
/etc/m­y.cnf
Config­uration
/etc/m­ysq­l/m­y.cnf
Service name differs on different Linux distri­butives
mysqld on CentOS­/RHEL 5 and 6
mariadb on CentOS­/RHEL 7
mysql on Debian­/Ubuntu