推荐系统 Debian GNU/Linux 9
节点安装
1.安装BBR PLUS
1
| wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
|
2.节点安装
1
| curl -L -s https://raw.githubusercontent.com/ColetteContreras/v2ray-poseidon/master/install-release.sh | sudo bash
|
节点卸载(如需卸载请用如下命令)
1
| curl -L -s https://raw.githubusercontent.com/ColetteContreras/v2ray-poseidon/master/uninstall.sh | sudo bash
|
3.节点配置
1
| wget -O /etc/v2ray/config.json https://raw.githubusercontent.com/ColetteContreras/v2ray-poseidon/master/docker/v2board/tcp/config.json
|
4.节点配置编辑
1
| vi /etc/v2ray/config.json
|
只编辑”nodeId”,”webapi”,”token”三项,”localPort”: 10084 这一项不要动。删除全部注释后保存退出。
安装证书
第一步:安装socat安装
第二步:安装 acme.sh
1
| curl https://get.acme.sh | sh
|
第三步:用 acme.sh 生成证书(修改域名)
1
| sudo ~/.acme.sh/acme.sh --issue -d 你的域名 --standalone -k ec-256
|
第四步:安装证书和密钥
1
| sudo ~/.acme.sh/acme.sh --installcert -d 你的域名 --fullchainpath /etc/v2ray/v2ray.crt --keypath /etc/v2ray/v2ray.key --ecc
|
第五步:把证书放到 home 目录下
1
| cp /etc/v2ray/v2ray.crt /etc/v2ray/v2ray.key /home/
|
运行 v2ray
启动 v2ray
1 2
| service v2ray restart systemctl start v2ray.service (CentOS7 命令)
|
查看状态
查看日志
1
| tail -f /access.log /error.log
|