科学上网工具XX-Net的使用
GoAgent的续作,具体使用方法参见XX-net
问题
-
将XX-net作为后台服务运行
- 启动:
sudo ./xx_net.sh start
- 停止:
sudo ./xx_net.sh stop
- 重启:
sudo ./xx_net.sh restart
- 启动:
-
系统全局代理
- 在终端执行
export http_proxy=http://localhost:8085
- 如果想始终代理,可在~/bashrc中添加上述命令
- 在终端执行
-
部署服务端
- 使用部署工具部署
cd ~/Source/XX-Net/code/default/gae_proxy/server/
sudo python uploader.py "appid"
-
开机自动启动
- sudo nano /etc/rc.local
- add ‘sudo miredo’
- add ‘sudo sh /home/inno/Source/XX-Net/xx_net.sh start’
近期评论