1. 安装组件,其中 openssl-devel 已经存在系统中了。
yum install build-essential autoconf libtool gcc -y
2. 安装 git
yum install git -y
git --version
3. 下载 shadowsocks-libev 安装
git clone https://github.com/madeye/shadowsocks-libev.git
cd shadowsocks-libev
./configure
make
make install
4. 运行 shadowsocks, 并在后台执行
nohup /usr/local/bin/ss-server -s x.x.x.x -p 8000 -k 密码 -m aes-256-cfb &
5. 加入开机启动
echo“nohup /usr/local/bin/ss-server -s x.x.x.x -p 8000 -k 密码 -m aes-256-cfb &
”>> /etc/rc.local
7. 重启
reboot
正文完
发表至: 服务器类
2015-05-05