CentOS 7*64 + Xshell or SecureCRT

#if wget is not installed
yum -y install wget 

wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh

chmod +x shadowsocksR.sh

./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

1. pwd

2. port

3. cipher -> aes-256-cfb

4. protocol ->origin

5. obfs -> plain

change config:

vi /etc/shadowsocks.json
#esc :wq

/etc/init.d/shadowsocks start

/etc/init.d/shadowsocks stop

/etc/init.d/shadowsocks restart

/etc/init.d/shadowsocks status

#log: 
/var/log/shadowsocks.log

#uninstall: 
./shadowsocksR.sh uninstall

To install Python:

yum -y install python36

cd /usr/bin

ln -s python3 python

BBR:

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh

chmod +x bbr.sh

./bbr.sh

lsmod | grep bbr

To change the pac file: modify “user.rule”. (The offered pac is no longer under maintance)

Leave a Reply

Your email address will not be published. Required fields are marked *