导航

萌即是正义!时不时分享一些ACG活动记录与有趣代码的小站!

Ubuntu中搭建暗影穿行

作者:广树·时间:2017-08-14 14:09:41·分类:其他

仅仅是笔记,防止哪天忘记怎么弄。

首先安装:

sudo apt-get update
sudo python --version
sudo apt-get install python-gevent python-pip
sudo pip install shadowsocks


安装后进入:

cd /usr/local/lib/python2.7/dist-packages/shadowsocks



创建文件:

sudo touch config.json


编辑文件:

sudo gedit config.json


编辑内容:

{
"server":"你的IP地址",
"server_port":服务器监听的端口,一般设为80,443等,注意不要设为使用中的端口,
"password":"密码",
"timeout":600,
"method":"aes-256-cfb"
}


保存后运行:

sudo sslocal -c config.json -d start
ssserver -c config.json
#Ubuntu
侧边栏
最新评论
广树
2024-05-09
@夸克网盘资源:好像是这么回事,中文圈,想通过博客有收益基本是不可能的
夸克网盘资源
2024-05-09
@广树:好像中文站的广告收益也不太行
广树
2024-05-09
@夸克网盘资源:不用特意去点击,没啥收益就是个装饰品,哈哈哈
夸克网盘资源
2024-05-09
点了以下广告,有收益吗?哈哈😄
广树
2024-05-08
@Asuna:谢谢!谢谢!
正在攻略

圣兽之王.jpg

传颂之物

PSN奖杯卡

PSN奖杯卡

赞助商广告