Skip to content

Instantly share code, notes, and snippets.

@jingmian
Created March 6, 2020 08:17
Show Gist options
  • Save jingmian/3edb33685469bb09b411e43c50b7108a to your computer and use it in GitHub Desktop.
Save jingmian/3edb33685469bb09b411e43c50b7108a to your computer and use it in GitHub Desktop.
安装v2ray
//ubuntu
//一键脚本
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/ubuntu_install_v2ray2.sh)
// 查看v2ray运行状态/配置
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/ubuntu_install_v2ray2.sh) info
//启动:
systemctl start v2ray
//停止:
systemctl stop v2ray
//重启:
systemctl restart v2ray
//nginx管理命令
systemctl start nginx
systemct stop nginx
systemctl restart nginx
//卸载
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/ubuntu_install_v2ray2.sh) uninstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment