Adding a VPS in OpenVZ

This is another really basic guide that is aimed at getting a very basic VPS online. It is the companion guide to my guide on installing openvz. The below shows the downside to useing openvz instead of paying thousands for a real Virtuozo license. If you can deal with doing a little by shell you can save a lot of cash. This is also an open source project so if you wanted to help contribute you could. I do not go into all of the detauls to configuring it but by the end of the guide you will have a vps with just ssh running.



First off I want to give the link to the official users guide, it is really good and was used extensively in creating a lot of my VPS information.
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

cd /etc/sysconfig/vz-scripts
cp ve-vps.basic.conf-sample vps.basic.conf
cp ve-vps.light.conf-sample vps.light.conf

Now edit the 2 above files as needed. They are the configs, or as most people would call them packages, that will be used when you create a vps.




The 101 used in all of the commands below is the vps number, this will obviously change for every user. Just Pick another number when you are adding another user.

vzctl create 101 --ostemplate centos-4-i386-minimal --config vps.basic
vzctl set 101 --onboot yes --save

vzctl set 101 --hostname testing.eth0.us --save
vzctl set 101 --ipadd 67.15.186.XXX –-save
(this is the ip address the server will be using)



vzctl set 101 --nameserver 67.15.31.XXX –save
(this is the ip address used in the resolve.conf)



vzctl start 101
vzctl exec 101 service sshd start
vzctl set 101 --userpasswd root:t3mp

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Password?

Hi,

I'm confused; what does the 'vzctl set 101 --password 123 --save' do? I didn't see it in the PDF manual nor did i need to use it creating my VPS's.

vzctl command

I removed it, I found it someplace but upon testing it in fact does nothing. The command below it is how to set any users password anyways.

If you setup a non-routable

If you setup a non-routable IP on the VPS, will you be able to ping out from that VPS if the hardware node is routing?

non-routable ip

You should be able to, I have not tested this but there is no reason to think that it would be unable to. I am pretty sure you can use LAN ips with no problems. This actually is really nice if you want to host multiple services on the same ip BUT want them physicaly seperated via a VPS.

Plesk on OpenVZ VPS

Hi,

Have you - or anyone else - managed to get plesk running on a FC3, FC4 or CentOS4 VPS in OpenVZ? I really like OpenVZ but am pushed towards Xen to run Plesk on my VPS machine. Anyone have a config (VPS Template settings) or howto on how to achieve this?

Openvz whit plesk Big Issue

the openvz project by kir and plesk is not compatible
i been try all for install
if you have any way the expirence please reply
thank you

plesk

I have not tried - what are the exact errors you are getting?

GUI for OpenVZ

There is an Webmin module to create VPS's
I'have tried but not figure it out yet, on my side its not working yet.

I only used the original Install guide from openvz.org.
Tomorow i will try the install guide from eth0.us

gui

Thats great I have not had time to play with openvz much more, good to know there is a webmin module now for it!

asigning more than 1ip to a openvz instaltion

hello i am trying to find out how to assign more than 1 ip to an openvz installation anyone know how. I am going to be install cpanel on this server and need to know so that i can assign the Ips without problems.

Powered by Drupal - Theme created by Danger4k