快速搭建ss
方法一:
[root@cloud ~]# yum install build-essential autoconf libtool openssl-devel gcc -y [root@cloud ~]# git clone https://github.com/madeye/shadowsocks-libev.git Initialized empty Git repository in /root/shadowsocks-libev/.git/ remote: Counting objects: 7286, done. remote: Compressing objects: 100% (22/22), done. remote: Total 7286 (delta 5), reused 0 (delta 0), pack-reused 7264 Receiving objects: 100% (7286/7286), 6.76 MiB | 1.35 MiB/s, done. Resolving deltas: 100% (4583/4583), done. [root@cloud ~]# cd shadowsocks-libev/ [root@cloud shadowsocks-libev]# ./configure [root@cloud shadowsocks-libev]# make && make install [root@cloud shadowsocks-libev]# cd ../ [root@cloud ~]# vim config.json 1 { 2 "server":"10.0.0.1", 3 "server_port":1000, 4 "password":"password", 5 "timeout":60, 6 "method":rc4-md5"" 7 } [root@cloud ~]# echo "/usr/local/bin/ss-server -c /home/root/config.json -f /tmp/ss-server.pid" >> /etc/rc.local
方法二:
[root@cloud ~]#wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh [root@cloud ~]#sh shadowsocks.sh
原创文章,作者:双庆 李,如若转载,请注明出处:http://www.178linux.com/17992