vps命令介绍

vzlist -a 
vzctl restart 节点数
vps在dos下的操作:
1,查看VPS: vzlist –a 查看所有VPS(启动的和处于关闭状态的)
2,启动:vzctl start <vps id>;关闭:vzctl stop <vps id>;重新启动:vzctl restart <vps id>
3,修改密码:vzctl set <vps id> --userpasswd Administrator:changeme
4,修改IP地址:vzctl set <vps id> --ipadd 10.0.0.2--save
5,备份VPS:vzbackup <vps_id>
6,进入VPS:vzctl exec/enter
7,恢复VPS:vzrestore 101 -b {7A7DFE18-6407-4719-B10B-CAEACD088249}\000034bk
8,删除VPS:vzctl destroy <vps_id>
9.vzctl enter 420  表示进入420这台主机的

你可能感兴趣的:(职场,休闲,vps)