Last active
January 3, 2018 12:09
-
-
Save jiahut/51db4f22304b13642addea656ebc280a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install build-essential autoconf libtool openssl-devel gcc git -y | |
cd /tmp/ | |
git clone --depth=1 https://github.com/madeye/shadowsocks-libev.git | |
cd shadowsocks-libev | |
./configure --disable-documentation | |
make && make install | |
mkdir -p ~/bin | |
echo "nohup /usr/local/bin/ss-server -s 0.0.0.0 -p 80 -k yourpassword -m rc4-md5 --fast-open > /var/log/ss & " > ~/bin/ss.start | |
chmod u+x ~/bin/ss.start | |
ss.start | |
systemctl stop firewalld.service #停止firewall | |
systemctl disable firewalld.service #禁止firewall开机启动 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment