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
系统推荐
- getPath vs getAbsolutePath vs getCanonicalPath
- Redis笔记
- 在没有 telnet 和 nc 的世界里,如何优雅地判断端口是否通?
- Spring Cloud Gateway收到的是http请求,但schema却是https
- ES6.2.3(3节点)数据迁移到ES7.4.1(5节点)
- HTTP1 0 vs HTTP1 1 vs WebSocket
- index方法压力测试记录
- 搭建基于docker的elk平台来分析java日志
- Javassist整理
- JVM异常处理
- JVM杂项
- PostgreSQL高可用
- 随机毒鸡汤:对你竖大拇指的人,不一定是在夸你,也可能是用炮在瞄你。