(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
yum repository[edit]
cat << EOF > /etc/yum.repos.d/openvz-rhel6.repo
[openvz-kernel-rhel6]
name=OpenVZ RHEL6-based stable kernels
#baseurl=http://download.openvz.org/kernel/branches/rhel6-2.6.32/current/
mirrorlist=http://download.openvz.org/kernel/mirrors-rhel6-2.6.32
enabled=1
gpgcheck=1
gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ
exclude=vzkernel-firmware
EOF
apt repository[edit]
cat << EOF > /etc/apt/sources.list.d/openvz-rhel6.list
deb http://download.openvz.org/debian wheezy main
#deb http://download.openvz.org/debian wheezy-test main
EOF