Centos 6 安装 ShadowSocks -libev:
wget –no-check-certificate https://raw.githubusercontent.com/iMeiji/shadowsocks_install/master/shadowsocks-libev.sh chmod +x shadowsocks-libev.sh chmod +x shadowsocks-libev.sh ./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log
Centos 6 配置 ShadowSocks -libev:
vim /etc/shadowsocks-libev/config.json
卸载方法: 使用 root 用户登录,运行以下命令:
./shadowsocks-libev.sh uninstall
安装完成后即已后台启动 shadowsocks ,运行:
ps -ef | grep ss-server | grep -v ps | grep -v grep
可以查看进程是否存在。 本脚本安装完成后,会将 shadowsocks-libev 加入开机自启动。
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
查看状态:/etc/init.d/shadowsocks status
Centos 6 安装 PPTP:
cd /root wget –no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/pptp.sh chmod +x pptp.sh./pptp.sh
Centos 6 配置 PPTP:
vim /etc/ppp/chap-secrets
0条评论