ssr后端对接

日期 2019-07-11 默认分类 作者 donny 共0评论

1 BBR加速

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh

2 安装 libsodium(更多加密方式)

yum -y groupinstall "Development Tools"
wget https://github.com/jedisct1/libsodium/releases/download/1.0.17/libsodium-1.0.17.tar.gz
tar xf libsodium-1.0.17.tar.gz && cd libsodium-1.0.17
./configure && make -j2 && make install
echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf
ldconfig

3 shadowsocks-manyuser

cd /root
yum -y install python-setuptools
easy_install pip
wget https://files.re/SSPanel/shadowsocks-2.6.10.tar.gz && tar xf shadowsocks-2.6.10.tar.gz
cd shadowsocks
pip install -r requirements.txt
cp apiconfig.py userapiconfig.py
cp config.json user-config.json
chmod +x *.sh

4 关闭 CentOS 7 的防火墙并禁用

systemctl stop firewalld.service
systemctl disable firewalld.service

5 编辑节点:

vi userapiconfig.py

6 调试运行:

python server.py

放后台运行

./run.sh

开机自动启动

bash self-start.sh
人生在世,错别字在所难免,无需纠正。