這是一個建立於
的文章,其中的資訊可能已經有所發展或是發生改變。
-
20140414: 最新安裝方法,下面可忽略了。。 https://code.google.com/p/greatagent/
-
windows安裝比較簡單,網上很多,可參考http://mao[x]lihui.com/g[刪除我]oagent-detailed-version-of-the-tutorial.html,或者https://co[x]de.g[x]oogle.com/p/go[刪除我]agent/很詳細。
它沒提到的一點是:
上傳應用的時候用到的密碼不是gmail郵箱的密碼,而是應用專用的密碼,如果是第一次設定,需要到g[x]oogle account中有個“二次驗證” 的東西,找找就找到了,它會產生一個16位的密碼,寫在紙上,密碼只會出現這一次。如果你沒有記下來,那隻能重建。
補充20121109:
簡言之:
1)申請Google Appengine並建立appid。(備用下載linux版)
2)下載go[x]agent穩定版 http://co[x]de.google.com/p/go[x]agent/ ,解壓 (備用下載)
3)修改local\proxy.ini中的[gae]下的appid=你的appid(多appid請用|隔開)
4)雙擊server\uploader.bat,上傳成功後即可使用 (二次驗證的密碼)
5)設定瀏覽器代理,在代理設定中輸入ip地址127.0.0.1和連接埠8087。在工具-》interner選項-》串連-》區域網路設定中。
6)使用。開啟local下的go[x]egent.exe,ok。
2. Ubuntu安裝g*oagent費勁,總是卡在上傳那一步。具體步驟為:
1)gmail帳號
2) 建立google appengine id。https://appengine.google.com/ ,經過一系列操作後,記住你剛才申請的application identifier(appid),這個是你的應用程式唯一的標示符。
3) 設定兩步驗證密碼。點擊你的Google帳號,裡面會有個安全設定,其中有一個兩步驗證。按照提示下來,會產生一個16位的密碼,寫在紙上,別寫錯了。
4) 下載go[del]agent用戶端https://code.google.com/p/go[del]agent/ (備用下載)
下載google_appengine SDK的Python版(Linux) https://developers.google.com/appengine/downloads (備用下載)
5) 右鍵解壓google_appengine 到一個目錄中,把go[del]agent解壓到google_appengine中
6) 進入go[del]agent目錄,下面有兩個檔案夾local和server,先進入local,找到proxy.ini,開啟,在[gae]下有個appid=, 等號後面改成你的appid,注意中間的空格不要刪除。
再進入server-》python,開啟app.yaml, 在application後面加上你的appid,也不要刪空格。
7) 開啟終端,cd到google_appengine目錄,運行 python go[del]agent-XXXXXX/server/uploader.zip
或者運行 . /appcfg.py update ./go[del]agent-XXXXXXX/server/python (這個方法我試了好多次,總是上傳失敗), 如果沒安裝python,先安裝。sudo apt-get install python.
8) 上傳應用的過程需要輸入你的gmail和密碼,密碼是第3步的16位密碼,然後過段時間,就上傳成功了(絕大多數錯誤都出在這一步,慢慢來,實在不行就先放一放,可能過兩天再試試就成功了。。)
9) 上傳提示成功後,go[del]agent的設定就完成了,接下來需要設定瀏覽器,主要是代理設定。以firefox為例
Proxy 伺服器設定:安裝FoxyProxy外掛程式,可在工具-》添加組件,搜尋FoxyProxy,然後點擊安裝。重啟firefox,進入工具-》添加組件 -》擴充,點擊FoxyProxy喜好設定,Proxy 伺服器-》建立Proxy 伺服器-》常規-》代理名稱:隨便起個名字 -》Proxy 伺服器細節-》手動設定Proxy 伺服器-》主機或ip地址: 127.0.0.1 連接埠 8087, 確定。回到FoxyProxy主面板,選擇工作模式-》 選在你剛才設定的那個伺服器,確定。
匯入認證:編輯-》喜好設定-》進階-》加密-》查看認證-》認證機構-》匯入-》 匯入local下的CA.crt。
10) 在進入終端,google_appengine目錄,運行 python go[del]agent-XXXXX/local/proxy.py 啟動go[del]agent。 重啟firefox,就可以翻[x]牆了。
這時,終端上會一直滾動顯示瀏覽器的翻[x]牆資訊,firefox地址欄邊上有個小狐狸的頭像一直閃動,表明FoxyProxy在工作。
以後,如果想翻[x]牆了,就開啟FoxyProy和運行proxy.py,不用了就都關掉,要不就會浪費google的免費流量,速度也不快。
補充20121112: 如果go×agent突然不好使,可以試試把local/proxy.ini中的profile = google_ch改成profile = google_hk .
-------------------------------------------------------------------------------------------------------------------------------
How to install go[del]agent in Ubuntu
1) Apply a Gmail account.
2) Creater Google Appengine ID.
in https://appengine.google.com/, remeber your Application Identifier (appid). Make sure that your application's "Storage Scheme" is High Replication, if not, change it at the bottom or apply a new appid.
3) set the 2-step verification of your Google account.
in the my account -> security -> 2-step verification -> edit , after a series of operations you will get a 16 bit password which will be used next. And write it down!
4) download go[del]agent in https://code.google.com/p/go[del]agent/
download Google_appengine SDK (for Linux and Python) https://developers.google.com/appengine/downloads
5) extract the google_appengine SDK to your computer
extract the go[del]agent into the directory of google_appengine
6) go to the go[del]agent directory, there are two folders: local and server. Go to local folder and open proxy.ini, find the "appid = xx" (after the [gae]), change xx to your appid in 2). DONOT delete any space. Go to server folder -> python, open app.yaml, find "application = ", append your appid id 2). DONOT delete any space.
7) uploading the application (this the key step)
open terminal, cd to googel_appengine directory, run the command
python go[del]agent-xxxxxx/server/uploader.zip
or
./appcfg.py update go[del]gent-xxxxx/server/python
8) when uploading the application, you will be asked to input your Gmail and the passwd. The passwd is not your gmail's but the 16bit passwd in 3).
After a while, if uploading succeed then you succeed. I always stuck in this step until my lucky day..
9) Then browser and proxy set. (firefox)
set proxy: install FoxyProxy. specificly
Tools->Add-ons->search all add-ons, search FoxyProxy, install it . Reboot firefox.
Tools->Add-ons->FoxyProxy->preference->Add New Proxy-> General -> proxy name: go[del]agent, ->proxy details-> manual proxy configuration->host or ip address: 127.0.0.1, port: 8087. OK.
back to the main board of FoxyProxy, ->Select Mode->Use proxy "go[del]agent". Close.
import certificate: edit->advanced->encryption->view certificate->Authorities->Import, import the CA.crt in local folder. OK.
10) go terminal, cd to googel_appengine directory, run python go[del]agent-xxxxxx/local/proxy.py . And the go[del]agent begin to work now. Reboot firefox, you can facebook now.
When things are done, you can turn off the go[del]agent and FoxyProxy to avoid wasting the free flow of Google app.
That is all. Any question please let me know. THx