All these command tested on Ubuntu 18.04.
# add config
sudo echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
sudo echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
# enable new added config
sudo sysctl -p
# validate it was enabled
sysctl net.ipv4.tcp_available_congestion_control
# if enabled, gonna output this:
net.ipv4.tcp_available_congestion_control = bbr cubic reno
# validate bbr started
lsmod | grep bbr
tcp_bbr 20480 14
# if started gonna output this:
install and setup server:
# fetch repository
git clone -b manyuser https://github.com/windsting/shadowsocksr.git
cd shadowsocksr
# init config
bash initcfg.sh
# edit config file
vi user-config.json
# start service
./shadowsocks/server.py -c user-config.json
install and setup server:
wget https://install.direct/go.sh
bash go.sh
## check config file
cat /etc/v2ray/config.json
## 启动
systemctl start v2ray
## 停止
systemctl stop v2ray
## 重启
systemctl restart v2ray
## 开机自启
systemctl enable v2ray