Archive for November, 2009

Migrating Data from PPP 9.0 and later to PPP 9.2

Backup and restore utilities provided by Parallels Plesk Panel 9.0 and later allow manual migrations using GUI and CLI.

In both cases, the data is first backed up on the source server and then restored at the destination.

To migrate from PPP 9.0 and later for Linux/Unix using CLI:

Create the server backup on a source server by running the command

# /usr/local/psa/bin/pleskbackup server –output-file=/dump.psa

Upload the created backup (dump.psa) to the destination server.

Restore the backup on the destination server:

Go to Home > Backup Manager

Source : http://parallels.com/Plesk/

To make a domain secure Web content available in Plesk

After migration, secure Web content (available via the https protocol) become unavailable. The reason is that in Parallels Plesk Panel, secure Web content can be stored either in a directory different from the directory with common Web content (default option), or in the same directory.

To make a domain secure Web content available, enable the Use a single directory for housing SSL and non-SSL content option.

Go to the domain Home page > Web site: Web Hosting Settings > Preferences: Use a single directory for housing SSL and non-SSL content checkbox.

Download a distribution that suits your operating system from the URL http://www.parallels.com/en/download/plesk9/ and save it on your server’s hard drive.

To install Parallels Plesk Panel on a number of servers, you may want to set up a mirror of the official Parallels Plesk Panel update server (http://autoinstall.plesk.com) inside your network so as not to download the distribution files through the Internet each time, and then install Parallels Plesk Panel.

If you have Parallels Plesk Panel installed on the server, you can use the parallels_installer binary file, which is stored in the directory /usr/local/psa/admin/bin/ on RPM-based Linux, FreeBSD and Mac OS systems, and /opt/psa/admin/bin/ on deb-based Linux systems.

Prepare the installation script based on the example below. Replace the options in the example script with the ones you prepared, and specify server names in the ‘SERVERS_LIST=’ string separated by white spaces:

#!/bin/sh
SERVERS_LIST=”node1.example.com node2.example.com”
for current_server in $SERVERS_LIST; do
scp parallels_installer root@current_server:
ssh -f root@current_server “parallels_installer –source-type network –source http://updates.example.com/ –target /tmp/plesk –select-release-id PLESK_9_0_0 –install-component base –install-component postgresql –install-component asp –notify-email admin@example.com”
done

Run the script. It will copy the Parallels Products Installer to the specified servers and install Parallels Plesk Panel. Keep the passwords for access to the servers at hand, as you may be required to specify them.

Document Source : http://parallels.com/Plesk/

Switch from Qmail mail server to Postfix mail server on Parallels Plesk Panel

Run the parallels_installer binary file, which is located in the directory /usr/local/psa/admin/bin/ on RPM-based Linux, FreeBSD and Mac OS systems, and /opt/psa/admin/bin/ on deb-based Linux systems.

Read the instructions displayed on the screen, and then type ‘n’ and press ENTER to continue. The Parallels Products Installer will detect your existing installation of Parallels Plesk Panel and ask if you want to upgrade it.

To confirm upgrade, type ‘y’ and press ENTER.
Specify the source of Parallels Plesk Panel distribution package.

In the components list, specify the Postfix mail server by typing is number in the list and pressing ENTER.

The selected packages are marked with [*] symbols. The packages that are already installed and do not require updating are marked with [=]symbols. To select or deselect a package, type the respective number and press ENTER.

Enable passive mode for FTP in Plesk Panel

Log in as “root” to the server shell over SSH.

Edit your ProFTPD configuration file.

1. Issue the command vi /etc/proftpd.conf
2. Add the following lines anywhere within the [Global] section:

PassivePorts 49152 65534

3. Save the file

Log in to Parallels Plesk Panel as “admin”, go to Modules > Firewall, and click Edit Firewall Configuration.

Click Add Custom Rule.

Specify the following:

1. Rule name
2. Direction: select Incoming.
3. Action: select Allow.
4. Ports: in the Add port input box, enter the value 49152-65534. Leave the TCP option selected, and click Add.
5. Click OK.
6. Click Activate, and then click Activate again.

« Prev - Next »