Sunday 5 June 2011

Plesk Back end files

Pleask backend files in linux machine:


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: