ShadowsockServer配置
大约 2 分钟
临时用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
系统推荐
- RSA 加密解密多语言实现方案
- Redis笔记
- JetBrains IDE 全破解
- Nacos-Spring Gateway-Spring boot无感发布
- ES6.2.3(3节点)数据迁移到ES7.4.1(5节点)
- K8S 无感发布
- Censys搜索引擎学习
- 你真的会拼接字符串吗?
- 线上FullGC频繁的排查
- MyBatis xml特殊字符处理
- CentOS7下Docker端口映射后防火墙失效
- PostgreSQL高可用
- 随机毒鸡汤:时间是最好的老师,但遗憾的是,最后它把所有学生都弄死了。