Admin

阿里云轻云Centos部署步骤
2019年5月24日 09:15 22 0 1 0

目录

1. 安装nginx

参考:/blog/61

2. 卸载监控

卸载:

  1. wget http://update.aegis.aliyun.com/download/uninstall.sh
  2. chmod +x uninstall.sh
  3. ./uninstall.sh
  4. wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
  5. chmod +x quartz_uninstall.sh
  6. ./quartz_uninstall.sh

清理:

  1. pkill aliyun-service
  2. rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
  3. rm -rf /usr/local/aegis*

最好重启下。

3. 安装bbr

  1. wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

最后要求重启。

4. 安装v2ray

参考centos7安装vray服务

4.1 安装

  1. bash <(curl -L -s https://install.direct/go.sh)

参考官方文档

4.2 配置

  1. cd /etc/v2ray
  2. vim config.json

内容参考官方文档

需要在阿里云后台开启对应端口,另外,如果启用了firewalld或iptables也需要允许对应端口。

4.3 服务

  1. systemctl start v2ray
  2. systemctl enable v2ray
发布内容,请遵守相关法律法规。
评论