≡ Menu

List of VPS OpenVZ Commands

Here are some of OpenVZ Command at Node VPS :

[[email protected] ~]# vzctl start 101 // start the VPS 101
[[email protected] ~]# vzctl stop 101 // stop 101 VPS
[[email protected] ~]# vzctl restart 101 // restart 101 VPS
[[email protected] ~]# vzctl enter 101 // enter into 101 VPS
[[email protected] ~]# exit // log out from 101 VPS
[[email protected] ~]# vzlist // display the list of active VPS's
[[email protected] ~]# vzlist -a // display the list of all VPS's
[[email protected] ~]# vzctl destroy 101 // destroy the VPS (good idea to stop it first)
[[email protected] ~]# vzcalc -v 101 // show resources usage on VPS
[[email protected] ~]# vzctl exec 101 df -m // execute commands against the VPS(in this case 'df -m')
[[email protected] ~]# vzyum 101 -y update // run yum update on VPS
[[email protected] ~]# vzyum 101 -y install package // install package using yum on VPS
[[email protected] ~]# vzrpm 101 -Uvh package // install package using rpm on VPS
{ 0 comments… add one }

Leave a Comment

CAPTCHA
*