Archive for the tag 'plesk'

How to reconfigure and change status for domain in plesk database.

Reconfigure Domain:

/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain.com

Change the status for domain:

/usr/local/psa/bin/domain -u domain.com -status enabled

You should get a message the Object successfully enabled, once that is done the domain should be unsuspended in Plesk.

How to upgrade Mysql on Plesk with CentOS Linux

The procedure for upgrade of Mysql is quite simple.

wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh

How to upgrade:

yum –enablerepo=atomic-testing upgrade mysql

–enablerepo=repoidglob
Enables specific repositories by id or glob that have been disabled in the configuration file using the enabled=0 option.

To upgrade php run ‘yum upgrade php

With the above methods mysql will be upgraded to latest release.

How to access psa database in Plesk Server

We can access plesk psa database, from the Linux command line (via ssh) and from the Plesk control panel.

The /etc/psa/.psa.shadow file contains the Plesk admin password.

So to access the database run the following command.

mysql -uadmin -p`cat /etc/psa/.psa.shadow`

Select the psa database.

mysql> use psa;

To view all the tables

mysql> show tables;

Ports need to be opened for Plesk services

Generally it depends on what services are running on the server. All the default ports which can be used by Plesk/services are listed below:

#20 ftp-data
#21 ftp
#22 ssh
#25 smtp
#53 dns (TCP and UDP)
#80 http (web server and Plesk updater)
#106 poppassd (for localhost only)
#110 pop3
#113 auth
#143 imap
#443 https
#465 smtps
#587 mail message submission
#990 ftps
#993 imaps
#995 pop3s
#3306 mysql
#5224 (outgoing connections only) plesk-license-update
#5432 postgres
#8443 plesk-https
#8880 plesk-http
#9080 tomcat

If required you can always reset your default firewall settings via the AccountCenter.

Reference: http://parallels.com/

SB-Shibu

Restarting services in Plesk

Restarting services in Plesk

If a service, such as Apache, has stopped you may need to restart the service.

The following guide shows you how to start/stop/restart system services from within Plesk.

From Plesk Services Management

1. Login to Plesk.
2. Click on Server.
3. Click on Service Management.

Now you can start|stop|restart the service of your choice.

From Virtuozzo System Services

1. Login to Plesk.
2. Click on Virtuozzo.
3. Click on System Services.
4. Now you can start|restart|stop the service of your choice. You can also enable the Autostart feature.

Next »