Linux - Openvz vps commands configuration command, Vzctl set VPS hardware node
Openvz vps commands configuration command
The below are some important commands used while working on a Hardware Node.
1) Command to list all the VPS's hosted on the Node.
vzlist -a
2) To start the VPS.
vzctl start VPS_ID
3) To stop (Shut Down) the VPS
vzctl stop VPS_ID
4) To view the status of the particular VPS
vzctl status VPS_ID
5) To stop the VPS quickly and forcefully
vzctl stop VPS_ID -fast
6) To enter in a particular VPS
vzctl enter VPS_ID:
OpenVz VPS Configuration Commands
1) To set the Hostname of a VPS.
vzctl set VPS_ID -hostname vps.domain.com -save
2) To add a new IP to the hosting VPS.
vzctl set VPS_ID -ipadd 1.2.3.4 -save
3) To delete the IP from VPS.
vzctl set VPS_ID -ipdel 1.2.3.4 -save
4) To reset root password of a VPS.
vzctl set VPS_ID -userpasswd root:new_password -save
5) To add the nameserver IP's to the VPS.
vzctl set VPS_ID -nameserver 1.2.3.4 -save
6) To run any command on a VPS from Node.
vzctl exec VPS_ID command
7) To install any package/Software on a VPS from Node.
vzyum VPS_ID install package_name
The topic on Linux - Openvz vps commands configuration command is posted by - Patel
Hope you have enjoyed, Linux - Openvz vps commands configuration commandThanks for your time