美文网首页
Install Ss on CentOS(server)

Install Ss on CentOS(server)

作者: 司徒雷斯 | 来源:发表于2015-08-29 21:28 被阅读174次

First we need to update the CentOS system.

yum -y updateyum install build-essential autoconf libtool gcc -y

Then install python-setuptools (which contains easy_install), pip, shadowsocks.

yum install python-setuptoolseasy_install pippip install shadowsocks

On the server (CentOS), Create a file named config.json, with the following content.

{"server":"my_server_ip","server_port":8388,"local_port":1080,"password":"barfoo!","timeout":600,"method":"table"}

cdinto the directory ofconfig.json. Runssserveron your server.

To run it in the background, runnohup ssserver > log &.

相关文章

网友评论

      本文标题:Install Ss on CentOS(server)

      本文链接:https://www.haomeiwen.com/subject/ujwkcttx.html