Open Le-voyeur opened 9 years ago
apt-get update apt-get install python-gevent python-pip python-m2crypto python-wheel python-setuptools pip install shadowsocks
{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"6677":"password0",
"7788":"password1",
"8899":"password2"
},
"timeout":600,
"method":"aes-256-cfb"
}
后台启动和关闭服务: ssserver -c /etc/shadowsocks.json -d start/stop
日志文件: tail -f /var/log/shadowsocks
配置 Shadowsocks 开机自启动 执行命令 vi /etc/rc.local
然后将 ssserver -c /etc/shadowsocks.json -d start插入到注释后,exit 0之前。
rails start
sudo apt-get install -y nodejs //javaruntime bundle config 'mirror.https://rubygems.org' 'https://ruby.taobao.org' //同时配对国内国外包