Thursday, 31 July 2014

Plesk backend files

PLESK LINUX FILE LOCATIONS
Log Files
Apache logs location on Plesk:
/var/log/httpd/access_log
/var/log/httpd/error_log
Apache Suexec logs location on Plesk:
/var/log/httpd/suexec_log
Access and Error logs for a specific account / user / website on Plesk:
/var/www/vhosts/domain.tld/statistics/logs/access_log
/var/www/vhosts/domain.tld/statistics/logs/error_log
Server logs location on Plesk:
/var/log/messages
Named (Bind) logs location on Plesk:
/var/log/messages
Mysql logs location on Plesk:
/var/lib/mysql/server.hostname.err or the path defined at /etc/my.cnf
WatchDog logs location on Plesk:
/usr/local/psa/var/modules/watchdog/log/monit.log
Mail logs including Qmail and Postfix location on Plesk:
/usr/local/psa/var/log/maillog
Ftp logs on location Plesk:
/var/log/messages
SSH logs location on Plesk:
/var/log/secure
Tomcat logs location on Plesk:
/var/log/tomcat5/catalina.out
Mailman logs location on Plesk:
/var/log/mailman/
Cronjob Logs:
/var/log/cron
Horde Logs:
/var/log/psa-horde/psa-horde.log
Plesk Access and Error logs location:
/usr/local/psa/admin/logs/httpsd_access_log
/var/log/sw-cp-server/error_log
Linux Plesk Backend 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/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
==============================================
To log in to plesk use
https: :8443
There are four login levels for plesk
They are
1) Administrator
2)Client/Reseller
3) Domain owner
4) Email user
Each level has got its own functions
Administrator
This login is used to by hosting administators to manage the server items . Client/reseller,Domain owner,Email user creation can be done by using this account.
Note : We cannot use the root password for login to this account as in Cpanel. To login to this account use
Username : admin
Password : (will be stored in fiel /etc/psa/.psa.shadow )
Client/Reseller
This is the second tier account . Domain owner accounts and Email user accounts can be managed from this account.
Domain owner
Everything related to one domain can be managed by using this account. usually client/reseller creates a Domain owner account.
mail user
This is the fourth tier account. Here users are allowed to manage their mail account. Only mail related functions are allowed here such as sending mails ,seting spam filters etc.
Software componets of plesk.
The following software components are used with plesk.
DNS server : bind
Webserver : Apache
FTP server : proftpd
Mail server : Mysql,mssql,postgresql
IMAP/POP : courier-IMAP
Mailing list: Mailman
Statistical softwares : Webalizer, AWstats
Types of hosting
In plesk, 3 modes of hosting are avaliable
They are
Physical hosting
The domain is actually hosted on that server.
Standard Hosting
Here url is redirected such that browser url will be changed to destination url
Frame forward
Here also redirection takes place. But browser url doesnot change
PSA DATABASE
*****************
Plesk has a database called psa. We can use the administrator username(admin) and password to login to psa database.
>Tables in psa database are
1. Domains
2. Clients
3. db_users
4.db_bases
5. disk_spaces
6.mail
7.lockout
8. web_users
Backup
> To back up all data
/plesk_installation_directory/bin/pleskbackup all
name>
> To back up all user accounts with all users’ sites,
/plesk_installation_directory/bin/pleskbackup clients

No comments:

Post a Comment