1.安装必要组建 centos执行 yum install build-essential autoconf libtool openssl-devel gcc -y 2.安装git centos执行 yum install git -y 执行后要是出现 Loaded plugins: fastestmirror 那么需要更新系统的软件仓库
安装: yum install yum-priorities 下载rpmforge的安装包 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm 3.下载shadowsocks-libev源码包并编译 git clone https://github.com/madeye/shadowsocks-libev.git 4.运行shadowsocks nohup /usr/local/bin/ss-server -s IP地址 -p 端口 -k 密码 -m 加密方式 & 5.加入开机启动 echo “nohup /usr/local/bin/ss-server -s IP地址 -p 端口 -k 密码 -m 加密方式 &” >> /etc/rc.local shadowsocks的客户端现在还不太成熟,个人推荐 如果启动命令里不写“-m aes-256-cfb”的话,则默认的加密方式为table,选择aes-256-cfb则比较安全,其实对速度也几乎没有影响。 【关于更改端口、密码、加密方式】 |