Server Administration & Management

How to Install/ Setup a Virtuozzo VPS from CLI

Parallels provides two graphical options to create and manage VPSs.

VZCC, the  Virtuozzo control center is one of those gui options, the second is the desktop based application.

VZMC,  the Virtuozzo management console, which is a powerful tool and is capable of creating and managing vpss with all details.

However techs or admins that spend most of their time on shell, mostly prefer to do these things on shell, in this article I will list the commands that can be used to setup new vps on shell and can set its basic parameters. The main commands used for this process are ‘vzctl create‘ to create the vps and then ‘vzctl set‘ to set the configs.

Below is complete set of commands to achieve this :

# vzctl create VEID –ostemplate centos-5-x86 –config basic

# vzctl set VEID –onboot yes –save

# vzctl set VEID –offline_management yes –save

# vzctl set VEID –hostname vps.unixserveradmin.com –save

# vzctl set VEID –userpasswd root:redhat@123 –save

# vzctl set VEID –ipadd –ipadd –save

# vzctl set VEID –nameserver “” –save

–ostemplate using which you select the tmplate on which you will create the vps, it can be centos, fedora etc.

–config which applies default values for different QOS parameters from a config files.

–onboot option is set to yes so that the vps boots up automatically on node reboot.

–offline_management is set to yes as well so that the vps user has access to the vzpp ( Virtuozzo Power Panel ) so they can reboot their vps themselves and access other vzpp options.

–hostname option is simply used to set the hostname of the vps.

–userpasswd option as you can see is used to set the root password for the vps

–ipadd parameter is used for assigning IPs, the more IPs can be added by adding more

–ipadd sections in the command and lastly the

–nameserver option is used to set the Nameservers for the vps.

You can see the command help on shell for complete details of vzctl set and vzctl create commands.

October 21, 2011 Posted by | Virtualization, Virtuozzo | , , | 1 Comment