Centos7 搭建v3ray服务器
#禁用防火墙
systemctl stop firewalld.service
#禁用防火墙自启动
systemctl disable firewalld.service
#设置中国时区
\cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
#安装ntp
yum install ntp ntpdate -y
#启动ntp
service ntpd start
#同步ntp时间
ntpdate us.pool.ntp.org
#安装v3ray,敏感词,自行把数字3改成2
source <(curl -sL https://multi.netlify.app/v3ray.sh) --zh
#管理命令为:v3ray
#卸载:source <(curl -sL https://multi.netlify.app/v3ray.sh) --remove
#安装BBR加速(安装BBR会升级内核)
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh
#管理命令为:./tcp.sh