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
系统推荐
- getPath vs getAbsolutePath vs getCanonicalPath
- synchronized原理深度剖析
- KVM 虚拟机安装
- 测试两台服务器间的网速
- MongoDB高可用
- Thread & ExecutorService & ThreadPoolExecutor 总览
- Flutter开发需要涉及的知识点大纲
- Spring Boot升级到2 6 x踩的坑
- MySQL三大日志
- Markdown软件比对
- Nginx的双向认证配置
- GitHub Workflow突然报错
- 随机毒鸡汤:我忘记了想记住的,记住了想忘记的。