Ubuntu下给apt-get设置代理
2010/04/06
发表评论
打开/etc/apt/apt.conf文件
sudo gedit /etc/apt/apt.conf
添加(注意分号)
Acquire::http::Proxy “http://usrer:password@proxyip:port”;
打开/etc/apt/apt.conf文件
sudo gedit /etc/apt/apt.conf
添加(注意分号)
Acquire::http::Proxy “http://usrer:password@proxyip:port”;
sudo dpkg-reconfigure ca-certificates
在接下来的界面里取消”mozilla/Entrust.net_Secure_Server_CA.crt”前面的*号。
接下来的步骤和Windows里相仿。
似乎无影响,如有参见LinuxCertManagement。
最后是测试网站 这个 和 这个 ,也许还有这个。
Read more…
GappProxy项目发布在GoogleCode上,支持svn更新。
GappProxy项目的svn更新地址为
http://gappproxy.googlecode.com/svn/trunk/
选定一个本地目录,右键–>Check Out即可。
更新后得到的目录中包含服务端(fetchserver)和客户端(localproxy)两个文件夹。
服务端
your_app_nameappcfg.py update fetchsever目录路径客户端
http://你的app地址/fetch.py代理地址为localhost:8000,done.