[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Getting startedAugust 31, 2023

How to install OpenVZ on Ubuntu 20.4

How To Install OpenVZ On Ubuntu 20.4

1. Add OpenVZ Repository

Switch to root user:

sudo su

First, we will add OpenVZ Repository.

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

Import OpenVZ GPG key:

wget http://ftp.openvz.org/debian/archive.key
apt-key add archive.key

 

2. Install OpenVZ kernel

Update software sources using command:

 
sudo apt-get update

Now, install OpenVZ kernel:

apt-get install linux-image-openvz-amd64

Or, if you still have i686:

apt-get update && apt-get install linux-image-openvz-686

 

3. Setting up Kernel parameters

Make sure you have added the following kernel parameters before logging into vz kernel.

vi sysctl.conf

Add the following lines:

# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0

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

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

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

 

5. Install OpenVz usage statistics tools

The following tools to be installed to gather the OpenVZ usage statistics.

apt-get install vzctl vzquota ploop vzstats

→ reboot

While creating VMs, make sure you have the same subnet on both physical and virtual machine. If you want to use different subnet, you have to edit /etc/vz/vz.conf file,

vi /etc/vz/vz.conf

Find and uncomment the line:

NEIGHBOUR_DEVS=detect

And, change it to:

NEIGHBOUR_DEVS=all
Keep reading
How to create RAID 10 or 1+0 (nested)
February 24, 2023

How to create RAID 10 or 1+0 (nested)

How To Create RAID 10 Or 1+0 (Nested) RAID 10 is a combine of RAID 0 and RAID 1 to form a RAID 10. To setup Raid 10, we need at least 4 number of disks. In our earlier articles, we’ve seen how to setup a RAID 0 and RAID 1 with minimum 2 number…

Read article
How to create RAID 6 (Striping with Double Distributed Parity)
February 23, 2023

How to create RAID 6 (Striping with Double Distributed Parity)

How To Create RAID 6 (Striping With Double Distributed Parity) On Linux based operating system (OS), software RAID functionality is provided with the help of the md(4) (Multiple Device) driver and managed by the mdadm(8) utility. “md” and “mdadm” in RHEL 6 support RAID levels 0, 1, 4, 5, 6, and 10.

Read article
How to create RAID 5 (Striping with Distributed Parity)
February 23, 2023

How to create RAID 5 (Striping with Distributed Parity)

How To Create RAID 5 (Striping With Distributed Parity) Redundant Array of Independent Disks Mode 5 (Redundant Array of Independent Disks Mode 5) A popular disk or solid state drive (SSD) subsystem that increases safety by computing parity data and increasing speed by interleaving data across…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00