Plesk Files

BACKEND FILES IN PLESK

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/domain.com
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/domain.com

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

  • Home directory of a domain:

———————————–
Home directory : /var/www/vhosts/domain.com

Httpd conf file of a domain : /var/www/vhosts/domain.com/conf/httpd.include

document root directory : /var/www/vhosts/domain.com/httpdocs

Document root directory of secure website : /var/www/vhosts/domain.com/httpdsdocs

Subdomains are created under : /var/www/vhosts/domain.com/subdomains

Domain specific logs are under : /var/www/vhosts/domain.com/statistics/ 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

/usr/local/psa/var/log/maillog
===========================
plesk upgarde

============

https://www.alphasites.biz/billingcenter/knowledgebase/42/How-to-upgrade-PHP-to-52x-on-CentOS-5-x64-also.html

Atomic Repository Method
Install Atomic Repository On a CentOS Server:
At Your Linux command line type:
1 wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh

 

The above command will download the atomic.sh 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*

http://www.microsoft.com/en-us/default.aspxv

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 ;

http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/

repo

http://www6.atomicorp.com/channels/atomic/centos/

=======================
plesk migartion

http://kb.parallels.com/en/5864

================
openvpn tun
Enabling TUN/TAP inside a Container

http://kb.parallels.com/en/696

================
virtuzzo

http://linux.softpedia.com/get/System/System-Administration/Virtuozzo-Containers-36334.shtml

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

java install

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

http://wiki.centos.org/HowTos/JavaOnCentOS

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

rpm -Uvh http://plone.lucidsolutions.co.nz/linux/centos/images/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm
================

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

================

Advertisements
  1. Leave a comment

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: