Total Pageviews

Sunday, October 31, 2010

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

Wednesday, October 27, 2010

Windows Plesk backend.

Webserver:

To switch Plesk Control Panel web provider you can use the following commands:
-------------------
IIS to Apache
"%plesk_bin%\reconfigurator.exe" --switch-plesk-web-server --new-provider=apache

Apache to IIS
"%plesk_bin%\reconfigurator.exe" --switch-plesk-web-server --new-provider=iis

To install hosting for a domain
websrvmng.exe --install-vhost --vhost-name=

To remove hosting for a domain
websrvmng.exe --remove-vhost --vhost-name=

To reconfigure hosting for a domain
websrvmng.exe --reconfigure-vhost --vhost-name=

To reconfigure a subdomain
websrvmng.exe --update-subdomain --vhost-name= --subdomain=

Passwords for system user and IIS user can be unsynchronized or synchronised using
websrvmng.exe --update-anon-password --domain-name=

To reconfigure webmail
websrvmng.exe --reconfigure-webmail
defpackagemng.exe" --fix --type=webmail

Re-configure FTP configuration

For a particular domain.
"%plesk_bin%\ftpmng.exe" --remove-vhost --vhost-name=yourdomain.com
"%plesk_bin%\ftpmng.exe" --reconfigure-vhost --vhost-name=yourdomain.com

For all domains in the server.
"%plesk_bin%\ftpmng.exe" --remove-all
"%plesk_bin%\ftpmng.exe" --reconfigure-all

Sunday, October 24, 2010

Windows shortcuts from Run

Add/Remove Programs - appwiz.cpl
Check Disk Utility - chkdsk
Command Prompt - cmd
Component Services - dcomcnfg
Computer Management - compmgmt.msc
Date and Time Properties - timedate.cpl
Device Manager - devmgmt.msc
Disk Management - diskmgmt.msc
Disk Partition Manager - diskpart
Display Properties - desk.cpl
Event Viewer - eventvwr.msc
Fonts control - fonts
Group Policy Editor -gpedit.msc
Local Security Settings - secpol.msc
Local Users and Groups - lusrmgr.msc
Network Connections - ncpa.cpl
Performance Monitor - perfmon.msc
Performance Monitor - perfmon
Power Configuration - powercfg.cpl
Registry Editor - regedit
Remote Desktop - mstsc
Services - services.msc
SQL Client Configuration - cliconfg
System Configuration Utility - msconfig
System File Checker Utility (Scan Immediately) - sfc /scannow
System File Checker Utility (Scan Once At Next Boot) - sfc /scanonce
System File Checker Utility (Scan On Every Boot) - sfc /scanboot
System File Checker Utility (Return to Default Set - sfc /purgecache
System File Checker Utility (Set Cache Size to size x) - sfc /cachesize=x
System Properties - sysdm.cpl
Task Manager - taskmgr
Utility Manager - utilman
Windows Firewall - firewall.cpl
Windows Management Infrastructure - wmimgmt.msc
Windows System Security Tool - syskey