Plesk Files


Plesk root directory : /usr/local/psa
Version : /usr/local/psa/version
Admin password is stored : /etc/psa/.psa.shadow
Plesk configuration file : /etc/psa/psa.conf
Restart Plesk : /etc/rc.d/init.d/plesk restart

  • Apache

Main httpd configuration file : /etc/httpd/conf/httpd.conf
Plesk httpd : /etc/httpd/conf.d/zz010_psa_httpd.conf
Include conf files are under : /etc/httpd/conf.d (depends on the location specified in main httpd)
Startup script for plesk apache : /usr/local/psa/admin/bin/httpsdctl start
Apache main log files under : /var/log/httpd

  • PHP

Php configuration file : /etc/php.ini
Php extension modules are taken from : /etc/php.d

  • Named


Conf file located : /var/named/run-root/etc/named.conf
DB record : /var/named/run-root/var/
Log file : /var/log/messages
Service to restart : /etc/init.d/named restart

  • FTP


Conf file : /etc/proftpd.conf
Log file : /var/log/messages

  • Mysql


Databases are located at : /var/lib/mysql

Configuration file : /etc/my.cnf

Mysql log : /var/log/mysqld.log

  • Mail Server:


Location of qmail directory : /var/qmail

Mail directory of a domain : /var/qmail/mailnames/

Mail log : /var/log/maillog or /usr/local/psa/var/log/maillog

  • Home directory of a domain:

Home directory : /var/www/vhosts/

Httpd conf file of a domain : /var/www/vhosts/

document root directory : /var/www/vhosts/

Document root directory of secure website : /var/www/vhosts/

Subdomains are created under : /var/www/vhosts/

Domain specific logs are under : /var/www/vhosts/ logs

plesk ip:8880 or ip:8443 – secure

get plesk password from windows command prompt .. “%plesk_bin%\plesksrvclient” -get
get plesk password in linux : cat /etc/psa/.psa-shadow

qmail log plesk

plesk upgarde


Atomic Repository Method
Install Atomic Repository On a CentOS Server:
At Your Linux command line type:
1 wget -q -O – | sh


The above command will download the script and then execute it. First the script installs the Atomic GPG key. Unless you have a Plesk server that you want packages for you can answer “n” when asked if you want to enable the Plesk yum repository. After this it will install the atomic.repo file in /etc/yum.repos.d/ directory.

At the command prompt type:
# yum –enablerepo=atomic update php*

Once it is finishes run:
# php -v
and you should see:

PHP 5.2.12 (cli) (built: Jan 31 2010 12:53:32)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.11, Copyright (c) 2002-2010, by ionCube Ltd.

update php to 5.2 ;


plesk migartion

openvpn tun
Enabling TUN/TAP inside a Container


/root/virtuozzo/logs/vzautoinstall.log is the log file

java install

yum list \*java-1\* | grep open
yum install java*
java -version

root@vps-1037901-2775 [/usr/src]# mv /usr/local/jdk/bin/java /usr/local/jdk/bin/java.bkp

rpm -Uvh

change port in plesk

# /usr/local/psa/admin/sbin/websrvmng –set-http-port –port=8080
# /usr/local/psa/admin/sbin/websrvmng –reconfigure-all
# /usr/local/psa/admin/sbin/webmailmng –disable –name=horde
# /usr/local/psa/admin/sbin/webmailmng –enable –name=horde
# /usr/local/psa/admin/sbin/webmailmng –disable –name=atmail
# /usr/local/psa/admin/sbin/webmailmng –enable –name=atmail
# /usr/local/psa/admin/sbin/webmailmng –disable –name=atmailcom
# /usr/local/psa/admin/sbin/webmailmng –enable –name=atmailcom


  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: