Wednesday, March 19, 2008

How do I create a VPS with Plesk?

Virtuozzo is shipped with sample configuration files that can be used for Plesk VPS creation. These samples
can be found in /etc/sysconfig/vz-scripts/ directory on the hardware
node (ve-vps.plesk7.fc1.conf-sample, ve-vps.plesk7.fc2.conf-sample, ve-vps.plesk7.rh9.conf-sample). They contain resource limits for Plesk and a list of prerequisities for Plesk (mysql, php, mod_perl, mod_ssl, mod_frontpage) which will be installed automatically after VPS creation.

To create VPS #101 using one of these configuration files, use:

vzctl create 101 --config vps.plesk7.fc2 --pkgset fedora-core-2

To apply a configuration sample to an already created VPS, use the --applyconfig option.

After you have created a VPS, install the corresponding version of Plesk there:

vzpkgadd 101 psa-fc2

The same operations can be done using the Virtuozzo Management Console.

No comments: