Pink floyd《THE WALL》

世界之窗

安装
 bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray2.sh)

查看状态 / 配置:bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray2.sh) info

管理命令:启动:systemctl start v2ray,停止:systemctl stop v2ray,重启:systemctl restart v2ray

nginx管理命令:测试配置文件有无错误:nginx -t,启动:systemctl start nginx,停止:systemct stop nginx,重启:systemctl restart nginx

更新到最新版:bash <(curl --s https://install.direct/go.sh)

查看SSL证书:certbot certificates,更新证书:systemctl stop nginx; certbot renew; systemctl restart nginx

 卸载: bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray2.sh) uninstall


  1. yum y install wget   ##CentOS安装wget
  1. wget nocheckcertificate O shadowsocksall.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
  2. chmod +x shadowsocksall.sh
  3. ./shadowsocksall.sh 2>&1 | tee shadowsocksall.log 

2-12-5-2

  1. 启动
  2. /etc/init.d/shadowsocksr start
  3. 退出
  4. /etc/init.d/shadowsocksr stop
  5. 重启
  6. /etc/init.d/shadowsocksr restart
  7. 状态:
  8. /etc/init.d/shadowsocksr status
  9. 卸载
  10. ./shadowsocksall.sh uninstall
  11. 配置文件位置在:/etc/shadowsocks-r/config.json

发布者

王药酒

本站采用 知识共享署名4.0 国际许可协议进行许可 本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

CAPTCHAis initialing...