bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray2.sh)
其他
1. 查看v2ray运行状态 / 配置:
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray2.sh) info
2. v2ray管理命令:启动:
systemctl start v2ray,停止:
systemctl stop v2ray,重启:
systemctl restart v2ray;
3. nginx管理命令:测试配置文件有无错误:
nginx -t,启动:
systemctl start nginx,停止:
systemct stop nginx,重启:
systemctl restart nginx;
4. 更新v2ray到最新版:重新运行一键脚本;
5. 卸载:
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray2.sh) uninstall;
6. 建站/改伪装网站请参考:
v2ray伪装建站教程。
这个依旧会自动安装 nginx ,要注意一下。