Le-voyeur / autres

second-hand
0 stars 0 forks source link

安装各类必要依赖以及软件 #7

Open Le-voyeur opened 9 years ago

Le-voyeur commented 9 years ago

rails start

sudo apt-get install -y nodejs //javaruntime bundle config 'mirror.https://rubygems.org' 'https://ruby.taobao.org' //同时配对国内国外包

Le-voyeur commented 5 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之前。