Parallels Virtuozzo 4.7 Install Guide for Centos 6 Minimal Installation

After finishing install Centos 6 with minimal option, add packages required by Virtuozzo 4.7 :

yum install pkgconfig bind bind-utils make gcc kernel-headers glibc perl ntpdate openssh-clients bc ed wget

A lot of customer are using Virtuozzo for OpenVPN, so it will need tun module to be loaded before vz services started :

echo modprobe tun >> /etc/rc.modules
echo modprobe fuse >> /etc/rc.modules
chmod +x /etc/rc.modules

or create files :
/etc/sysconfig/modules/vztun.modules :

/sbin/modprobe tun

/etc/sysconfig/modules/vzfuse.modules :

/sbin/modprobe fuse

Don’t forget to make it executable :

chmod +x /etc/sysconfig/modules/vztun.modules
chmod +x /etc/sysconfig/modules/vzfuse.modules

Now you can start install Virtuozzo. Looking for Virtuozzo installation howto? Just visit their website 🙂
After succesfully installing Virtuozzo, we’ll add iptables module so that any container need it can use them :
nano /etc/vz/vz.conf
replace IPTABLES line with :

IPTABLES="ip_tables ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_TOS ipt_LOG ip_conntrack ip_conntrack_ftp ipt_state iptable_nat ip_nat_ftp ipt_owner ipt_recent xt_connlimit ipt_owner xt_owner ipt_REDIRECT"

Centos 6 by default are using ext4 filesystem. According to Parallels recommendation, /vz partition must be mount should be customized with following option :
Edit /etc/fstab and add that option to the mounting option of /vz partition.

That’s it 🙂


About piyecarane

Bla bla bla about me
This entry was posted in Linux, Virtuozzo. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s