一.选择谷歌云
网站测速选择ping值小的节点.
google cloud创建vm实例.
SSH远程连接.
二.时间校准
国内
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
apt-get update
apt-get install ntp ntpdate -y
service ntp stop #停止ntp服务
ntpdate us.pool.ntp.org #同步ntp时间
service ntp start #启动ntp服务
三.安装v2ray
wget https://install.direct/go.sh
sudo bash go.sh
sudo systemctl start v2ray
四,服务器端配置
vim /etc/v2ray/config.json
dd#vim快捷键删除
一键生成配置
sudo systemctl start v2ray
五,开启bbr
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
reboot