Linux

CentOS 6.4, OpenVZ & OpenVZ Web Panel

How to install OpenVZ in CentOS 6.4

I’ve used the CentOS-6.4-x86_64-minimal.iso image to install the OS.

A pretty good installation guide is located on the OpenVZ webpage.

The minimal installation does not have “wget” installed – so I’ve installed it first.

After that you can follow the original instruction or use this shortcut

Reboot

This part was pretty easy, some troubles caused the installation of the web panel.

Install the OpenVZ Web Panel

https://code.google.com/p/ovz-web-panel/

..and here comes the first problem:

The used gem source is unavailable. Let’s add a new one:

The sources list is in a file in your home directory – I suggest to remove the not-working one

After that let’s start the script again.

This time it worked but all connection to the port 3000 are blocked, so we need to add an IPTABLES rule

Right now the web panel should be available

Hints:

1)If any errors appear while adding new hosts about missing net/ssh or net/sftp simply install them:

2) The first time when I was testing OpenVZ using a netinst image I’ve unnecessarily updated the gem system resulting in this:

The solution was to downgrade it:

SSH escape sequences

Ever found yourself in a situation where your SSH connection simply froze and you were not able to do anything.
A possible solution for this kind of problem are the SSH escape sequences.
To execute them you have to enter to a new line (so simply press “enter” on your keyboard), hit shift, press the back tick (`) to get the tilde (~) character and follow with the keys as described below.

So to wrap it up:
press “enter” ~. to close the ssh connection

Go to Top