您的位置:首页 > 运维架构 > Linux

在chrome使用goagent (windows/linux)

2013-12-06 11:36 585 查看
原文:http://blog.163.com/jw_chen_cs/blog/static/202212148201210257534397/


在chrome使用goagent (windows/linux)  


WINDOWS

首先要有chrome浏览器

然后……

1.创建google帐户(也就是有一个gmail的邮箱)

过程省略……

*

*

2.下载goagent:  
地址:https://code.google.com/p/goagent/downloads/list

解压,后面要用到的。

3.进入 http://appengine.google.com
里面要登录自己的gmail。

然后是 Create an Application

 下面的电话号码我是加了 86(中国的地区代码)在前面,如号码为 15812901890就填 8615812901890(可能不用加86也行吧~反正我加了,哈)



收到并填写验证码



 



认真填写好,就点击 Create an Application

成功:

 



******@gmail.com | 

My Account | 

Help | 

Sign
out

 


Application Registered Successfully

The application will use ***** as an identifier. This identifier belongs in your application's configuration as well. Note that this identifier cannot be changed. Learn
more

The application uses the High Replication storage scheme. Learn
more

If you use Google authentication for your application, **** will be displayed on Sign In pages when users access your application.

Choose an option below:
View the dashboard for
*******.
Use appcfg to
upload and deploy your application code.
Add administrators to
collaborate on this application.

? 2008 Google | Terms of Service | Privacy
Policy | Blog | Discussion
Forums | Project | Docs

 

从第2步解压的文件夹里有



更改local里面的 proxy.ini
[gae]
appid = ****【这里是自己的appid,上面要记住的那个】
password =
path = /2
profile = google_hk
crlf = 1

然后是双击server目录下面的uploader.bat 



 appid是上面要记住的那个。

然后还要填之前的gmail地址和密码。

最后会提示按任意键退出。

回到local目录下面,双击 goagent.exe启用服务器。

这时,chrome还不能用翻墙。

在设置里面修改IE的代理



 
OK,可以上了。

不过,如果是国内网站,也会用这里的代理,网速会慢~

那么,不上国外网的时候,就把上面的127.0.0.1  端口8087这些给去掉吧…

 

LINUX

注册Google账户和windows一样,如果有了Google账户,就不用注册了,如果有了appid,也不用注册新的。

下载Python版的Google App Engine SDK:

地址:http://code.google.com/intl/zh-CN/appengine/downloads.html#Google_App_Engine_SDK_for_Python

下载后解压出google_appengine文件夹。

下载goagent稳定版

地址:http://code.google.com/p/goagent/downloads/list

下载后解压到google_appengine/goagent文件夹。

修改local/proxy.ini文件中的appid= ***(和windows一样的)

下面上传server就跟WIN不一样了。

进入google_appengine目录下,

然后执行python appcfg.py update goagent/server/python

也就是说,除了上传server的时候不一样,

和要多下一个Google App Engine SDK for Python以及运行其中的上传程序,

其它都差不多。

要运行goagent, linux 下还是有一点小不同,不能直接用local/goagent.exe

而是在命令行下进入到local目录,用 

chmod u+x goagent-gtk.py

./goagent-gtk.py

OK , 配置浏览器的代理吧~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  window goagnent