VPS常用操作(自用)

1.screen  用来开启进程,关闭ssh或命令行后扔可以继续运行

screen
screen -list
screen -r xx
screen -S PID -X quit

 

2.mono asf

mono /root/ASF/ASF.exe

 

3.启动、关闭shadowsocks

ssserver -s 0.0.0.0 -c /etc/shadowsocks.json -d start
ssserver -c /etc/shadowsocks.json -d stop

 

4.启动关闭final speed

启动: 
/etc/init.d/finalspeed start
停止命令:
/etc/init.d/finalspeed stop
状态命令(查看日志):
/etc/init.d/finalspeed status

 

5.更新个人网站源码

cd /usr/share/nginx/html
git pull

 

posted @ 2017-05-07 16:11  带狗狗带  Views(376)  Comments(0Edit  收藏  举报