Alexander Chen's Blog

Yes, we can!

“Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma – which is living with the results of other people’s thinking. Don’t let the noise of other’s opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”
By Steve Jobs

用Google App Engine部署OPM镜像

Posted on:  August 24, 2010  |   Category: Computer
Comments:  2 Comments
Print Friendly

这个教程网上已经有很多了,写在这里一来为了方便大众,二来给自己当作笔记。

1. 下载文后的opm压缩包和这里的 Google App Engine SDK for Java 1.3.5 ,将二者解压至某目录。如,将解压后的java-sdk文件夹命名为sdk放在D盘根目录下,然后将解压后的opm文件夹放入d:\sdk。

2. 用任何文本编辑器打开  opm/war/WEB-INF/appengine-web.xml  文件,找到一行

<application>your-application-id</application>

把  your-application-id  改成你对应的Google App的名称,修改后保存。

3. 进入命令行(运行cmd)

进入刚才的d:\sdk目录,再cd进入bin目录,在提示符下输入如下命令:

appcfg.cmd update d:\sdk\opm\war

其中update之后即为刚才的opm文件夹。

4. 接下来会有提示输入Gmail地址和密码,注意,输入密码时屏幕上什么都不提示。

5. 最后,等待上传完成,当出现下面一行提示时则上传成功:

Update completed successfully

6. 上传好后测试一下,浏览

http://your-application-id.appspot.com/opm

http://your-application-id.appspot.com/ucweb

如果跳到Google首页,表示成功了。

7. 接下来若有需要请参照此教程修改Android版的Opera Mini的服务器地址为上面的地址(UCWeb修改方法请自行Google)。

这里下载opm镜像文件包:opm-mirror

关键字:用Google app engine搭建opm服务器,用GAE搭建opera mini镜像服务器

Comments

2 Comments to “用Google App Engine部署OPM镜像”
  • [...] 准备 opm 的代理程序。去 opm-server-mirror 项目主页下载 index_2009_11_25.zip,解开后得到 index.php 文件,用记事本打开,修改 “http://server4.operamini.com&#8221; 为 “http://mini5.opera-mini.net“。保存后上传到支持 curl 的 php 主机上。如果没有主机,可以去寻找一个免费的php 主机, 比如这个(这个免费主机我没使用过)。也可以使用比如这里所示的用GAE搭建的镜像服务器。 [...]

  • [...] 和  socket://server4.operamini.com:1080  都改成你自己架设的OPM服务器地址,如这篇文章介绍的利用GAE搭建的Opera [...]

  • Leave a Comment




    Google Custom Search


    About

    Welcome to Alexander Chen's Blog. This blog is about a little bit everything, but mainly focuses on my thoughts, and some computer and smart device tips.

    Any content here is welcomed to be used or referenced, but before you use it freely, please follow THIS agreement.

    This blog is optimized for MOBILE DEVICES.

    Contact Me


    Function