Shadowsocks使用说明
服务端
Debian / Ubuntu:
apt-get install python-pip
pip install shadowsocks
CentOS:
yum install python-setuptools && easy_install pip
pip install shadowsocks
使用
ssserver -p 443 -k password -m rc4-md5
如果要后台运行:
sudo ssserver -p 443 -k password -m rc4-md5 --user nobody -d start
如果要停止:
sudo ssserver -d stop
如果要检查日志:
sudo less /var/log/shadowsocks.log
谷歌BBR加速
yum -y install wget
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh
服务器重启成功并重新连接服务器后,输入命令lsmod | grep bbr 如果出现tcp_bbr字样表示bbr已安装并启动成功
==============================================================================================
ubuntu 18.04
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh chmod +x shadowsocks.sh ./shadowsocks.sh 2>&1 | tee shadowsocks.log
V2RAY
https://www.hijk.pw/ubuntu-one-click-install-v2ray/
安装
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/ubuntu_install_v2ray.sh)
更改端口、alterid最简单的办法是重新运行一次一键安装脚本
查看配置运行状态/参数的命令是:
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/ubuntu_install_v2ray.sh) info
卸载命令:
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/ubuntu_install_v2ray.sh) uninstall
centos
bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/centos_install_v2ray.sh)
yum update -y && yum install curl -y #CentOS/Fedora
apt-get update -y && apt-get install curl -y #Debian/Ubuntu
bash <(curl -s -L https://git.io/v2ray.sh)
20240209可用https://www.wangchao.info/2609.html
bash <(curl -sL https://down.wangchao.info/sh/v2ray/setup.sh)