1、下载以下内容
http://googleappengine.googlecode.com/files/google_appengine_1.7.3.zip
http://www.openssl.org/source/openssl-0.9.8g.tar.gz
http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz
https://goagent.googlecode.com/archive/3.0.zip
2、其中openssl python需要手动配置安装:
对于openssl:
tar xf openssl-0.9.8g.tar.gz
sudo mkdir /usr/local/ssl
./config
make
sudo make install
对于 python:
tar xf Python-2.7.5.tgz
vim Python-2.7.5/Modules/Setup
# Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
SSL=/usr/local/ssl
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
./configure
make
sudo make install
3、解压google app engine
unzip google_appengine_1.7.3.zipcd google_appengine/
unzip goagent-65b9542b98d2.zip
vim goagent-65b9542b98d2/server/python/app.yaml
application: xxx #替换成你的app id
version: 1
runtime: python27
api_version: 1
threadsafe: true
vim goagent-65b9542b98d2/local/proxy.ini
[gae]
appid = xxx #替换成你的app id
password =
path = /2
profile = google_cn
crlf = 1
obfuscate = 0
validate = 0
sudo python ./google_appengine/goagent-65b9542b98d2/local/proxy.py