Ubuntu 配置Goagent

来源:互联网 发布:多益网络账号格式错误 编辑:程序博客网 时间:2024/06/05 02:50

Ubuntu  配置Goagent

前言:

Gmail 连接总是被重置,你懂的



1. 首先在 http://appengine.google.com 注册Google App Engine账号Gmail账号通用


2. 验证账户


3. 创建Google App Engine的ID
顺利登录后,点击Creat an Application
 



4. 下载并安装goagent和Google AppEngine SDK
goagent下载地址:http://code.google.com/p/goagent/
Google AppEngine SDK下载地址:https://code.google.com/intl/zh-CN/appengine/downloads.html
这里下载Google AppEngine SDK for Python版本(linux)
Google AppEngine SDK解压google_appengine到自己的主目录,比如我的主目录是/home/dn/,解压完成后,进入然后/home/dn/google_appengine/。
goagent解压goagent到google_appengine目录下,解压完成应该存在/home/dn/google_appengine/goagent-goagent-91cd5e4
 

  1. pwd 
  2. /home/dn 
  3. unzip Downloads/google_appengine_1.7.3.zip 
  4. cd google_appengine/ 
  5. upzip ../Downloads/goagent-goagent-v2.1.9-19-g91cd5e4.zip 



5. 配置并上传goagent
编辑 app.yaml文件,把第一行文字改为application:(你的appid)

  1. vim goagent-goagent-91cd5e4/server/python/app.yaml 

上传中提示输入AppID(邮箱),以及你的(邮箱)密码

  1. python appcfg.py update goagent-goagent-91cd5e4/server/python 



6. 使用goagent
在goagent目录下,下该local目录下proxy.ini文件,将文件中[ gae ]项目的appid修改为 你使用的AppID.
然后在local目录下,运行python proxy.py,即可使用代理。

  1. python goagent-goagent-91cd5e4/local/proxy.py 



7. 使用google chrome 浏览器
安装chrome浏览器,然后安装SwitchySharp插件,最后导入这个设置http://goagent.googlecode.com/files/SwitchyOptions.bak
导入文件是指在SwitchySharp插件选项中的导入/导出设置,从文件恢复。
 


8. 导入证书

安装证书导入工具

  1. apt-get install libnss3-tools 

将goAgent文件夹内的证书文件CA.crt导入(注意证书的绝对路)

  1. certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "goagent" -i /home/dn/google_appengine/goagent-goagent-91cd5e4/local/CA.crt  



9. 对比
//fuck gwf




参考

goagent
https://code.google.com/p/goagent/

ubuntu 安装goagent
http://www.myexception.cn/system/478809.html

Ubuntu下goAgent代理
http://jovesky.com/2012/05/29/ubuntu-lower-goagent-agent/

Goagent 教程
http://www.chenpian.com/post/39.html

GoAgent 的使用
http://likuan.info/tag/goagent

Ubuntu下利用goagent+Chromium 注意的两个问题
http://blog.sina.com.cn/s/blog_6f808e5101012mom.html

本文出自 “dongnan” 博客,请务必保留此出处http://dngood.blog.51cto.com/446195/1071767

原创粉丝点击