Commands to mirrors EZ templates for Parallels Virtuozzo containers
This command mirrors EZ templates for Parallels Virtuozzo containers for RPM-based repositories.
# rsync -au –delete rsync://rsync.autoinstall.plesk.com/autoinstall/PSA10/ destination_directory/PSA10
These commands create links that the installer uses to install EZ templates on DEB-based OSes.
If you plan not to mirror EZ templates or you serve RPM-based OSes, omit this step.
# cd destination_directory/debian; ln -s PSA_10.0.0 PSA10
# cd destination_directory/ubuntu; ln -s PSA_10.0.0 PSA10
How to enable cPanel / WHM /webmail after enabling firewall in Virtuozzo
By default, cPanel’s and WHM’s ports are closed for Virtuozzo. We will need to open them using SSH.
As root, run the following commands:
/sbin/iptables -A VZ_INPUT -p tcp -m tcp –dport 2082 -j ACCEPT
/sbin/iptables -A VZ_INPUT -p tcp -m tcp –dport 2083 -j ACCEPT
/sbin/iptables -A VZ_INPUT -p tcp -m tcp –dport 2086 -j ACCEPT
/sbin/iptables -A VZ_INPUT -p tcp -m tcp –dport 2087 -j ACCEPT
/sbin/iptables -A VZ_INPUT -p tcp -m tcp –dport 2095 -j ACCEPT
/sbin/iptables -A VZ_INPUT -p tcp -m tcp –dport 2096 -j ACCEPT
This will opens cPanel with and without SSL, and WHM with and without SSL and webmail ports.
To save the firewall changes, use the following:
/etc/rc.d/init.d/iptables save
To see the firewall rules, type
Proftpd service may not start after fresh install from a Virtuozzo template
Resolution
Change the /etc/xinetd.d/xproftpd file and restart services
Log as root to your box
Open the /etc/xinetd.d/xproftpd file using a text editor
vi /etc/xinetd.d/xproftpd
Change value of “disable =” to “yes”.
Restart xinetd service
/etc/init.d/xinetd restart
Start proftpd service
/etc/init.d/proftpd start
Reference: http://parallels.com/
vzpkg - tool for managing Virtuozzo templates
Virtuozzo EZ Template Management tool. Handles Virtuozzo templates and standalone RPM packages.
install
Install application template(s) or package(s) into a container CT ID|CT NAME. Multiple objects can be specified.
Example:
To install mysql and php application EZ template into this CT:
vzpkg install 1000 mysql php
FILES
/etc/vz/vz.conf,
/etc/vztt/vztt.conf,
/etc/vztt/url.map,
/var/log/vztt.log.
Hardware Requirements for Parallels Virtuozzo Containers
Parallels Virtuozzo Containers for Linux
CPUs: x86, ia64, AMD64, EM64T, Itanium
Memory:2 GB minimum. More recommended. The required amount depends on the total number of Containers you wish to run on the Node (minimum 50 MB per Container).
Hard disk space:20 GB or more free disk space. The required amount depends on the size of the software to be installed inside Containers.