HOWTO :: VoIP: Whosesale :: Calling Card :: OpenSer :: Radius :: Asterisk :: A2Billing :: IVR :: Colo :: Colocations :: GADGETS

July 9, 2008

OpenVZ: Debian Etch Install

Filed under: OpenVZ — Tags: , , , — nelson @ 10:23 am

This tutorial will show you how to install OpenVZ in Debian Etch System. The installation is straightforward and you can just do copy and paste.

Introduction: What is OpenVZ

From the website:

OpenVZ is container-based virtualization for Linux. OpenVZ creates multiple secure, isolated containers (otherwise known as VEs or VPSs) on a single physical server enabling better server utilization and ensuring that applications do not conflict. Each container performs and executes exactly like a stand-alone server; a container can be rebooted independently and have root access, users, IP addresses, memory, processes, files, applications, system libraries and configuration files. For more information about the technology and how it differs from the others like Xen, VMware etc., see introduction to virtualization, doc/openvz-intro.pdf (73 KB) or wikipedia:OpenVZ.

OpenVZ is free open source software, available under GNU GPL.

OpenVZ is the basis of Parallels Virtuozzo Containers, a commercial virtualization solution offered by Parallels. OpenVZ project is supported by Parallels.

Installation:

apt-get update

apt-get upgrade

echo -e “\ndeb http://download.openvz.org/debian-systs etch openvz” >> /etc/apt/sources.list

wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add - && apt-get update

apt-get install fzakernel-2.6.18-amd64 linux-headers-2.6.18-12-fza-amd64

reboot

apt-get install vzctl vzquota

vi /etc/sysctl.conf

modify the file to use the ff: config

[...]

# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled

net.ipv4.conf.default.forwarding=1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward=1

# Enables source route verification
net.ipv4.conf.all.rp_filter = 1

# Enables the magic-sysrq key
kernel.sysrq = 1

# TCP Explict Congestion Notification
#net.ipv4.tcp_ecn = 0

# we do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

[...]<SAVE>

sysctl -pln -s /var/lib/vz /vz

/etc/vz/vz.conf

apt-get install vzctl-ostmpl-debian

Addtional Tools

apt-get install vzprocps vzdump

Share/Save/Bookmark

9 Comments »

  1. Very interesting blog, i have added it to my fovourites, greetings

    Comment by Ebay hot items — July 31, 2008 @ 2:12 pm

  2. Amazine site
    Thanks, webmaster.

    Comment by find best on-line savings accounts — August 25, 2008 @ 5:26 pm

  3. Nice site
    Thanks, webmaster.

    Comment by Ipod Nana — August 25, 2008 @ 11:33 pm

  4. Beautifull design
    Thanks, webmaster.

    Comment by dvi digital cable — August 26, 2008 @ 7:32 am

  5. Cool blog
    Thanks, webmaster.

    Comment by armstrong digital cable — August 26, 2008 @ 10:41 am

  6. Amazine site
    Thanks, webmaster.

    Comment by dvi digital cable — August 26, 2008 @ 1:17 pm

  7. Amazine site
    Thanks, webmaster.

    Comment by best savings accounts canada — August 26, 2008 @ 4:42 pm

  8. Beautifull design
    Thanks, webmaster.

    Comment by state hot water heater — August 26, 2008 @ 10:54 pm

  9. Amazine site
    Thanks, webmaster.

    Comment by state electric water heater — August 27, 2008 @ 8:07 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress