ShadowsockServer配置
临时用vpn的办法:
腾讯云->竞价实例->中国香港->流量计费(100M) ,两三个小时才几毛钱
部署
sshpass -p "yourpassword" ssh root@$1 << EOF
yum install python-setuptools && easy_install pip
pip install shadowsocks
sudo mkdir /etc/shadowsocks
echo '{"server":"0.0.0.0","server_port":12345,"local_address": "127.0.0.1","local_port":1080,"password":"yourpassword", "timeout":1200,"method":"aes-256-cfb","fast_open": true,"workers":3}' >> /etc/shadowsocks/shadowsocks.json
ssserver -c /etc/shadowsocks/shadowsocks.json -d restart
EOF
修改端口
vim /etc/shadowsocks/shadowsocks.json
ssserver -c /etc/shadowsocks/shadowsocks.json -d restart
系统推荐
- JVM垃圾收集器
- JetBrains IDE 全破解
- 数组转树形结构只需两步
- IO相关
- 乱七八糟的笔记
- istio基础知识
- 搭建基于docker的elk平台来分析java日志
- 常用队列
- Centos离线安装Docker
- Git历史记录修改用户名和邮箱
- MySQL数据迁移到PGSQL
- sofajraft
- 随机毒鸡汤:间歇性洗心革面,持续性混吃等死。