﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-wuxinxinggg's Linux World</title><link>http://www.cnitblog.com/wuxinxinggg/</link><description>Linux for ever</description><language>zh-cn</language><lastBuildDate>Mon, 04 May 2026 20:53:16 GMT</lastBuildDate><pubDate>Mon, 04 May 2026 20:53:16 GMT</pubDate><ttl>60</ttl><item><title>ubuntu--appengine---转自奶牛博客</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/23/71606.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Mon, 22 Nov 2010 16:05:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/23/71606.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71606.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/23/71606.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71606.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71606.html</trackback:ping><description><![CDATA[<span  style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 12px; line-height: 20px; "><p style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">1.上<a target="_blank" href="http://code.google.com/p/gappproxy/downloads/list" style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 3px; padding-bottom: 2px; padding-left: 3px; color: rgb(191, 81, 76); font-weight: bold; text-decoration: none; ">gappproxy主页</a>下载fetchserver和localproxy的python客户端，把下载的包解压缩后放入教材1讲的GAE文件夹(如果该主页无法访问,尝试vpn翻墙访问)</p><p style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">2.你的gmail邮箱帐号密码，</p><p style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">3.图中 *** 全部替换成你的app_id</p><p style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">开始:</p><p style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><img height="2326" alt="" width="480" src="http://other-items.googlecode.com/files/gae-gropppxy.png" style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 5px; margin-right: 10px; margin-bottom: 5px; margin-left: 10px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: rgb(181, 181, 181); border-right-color: rgb(181, 181, 181); border-bottom-color: rgb(181, 181, 181); border-left-color: rgb(181, 181, 181); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); opacity: 1; background-position: initial initial; background-repeat: initial initial; "></p><div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-style: normal; "></div></span>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71606.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-23 00:05 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/23/71606.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu下使用Google App Engine搭建 Twitter api proxy</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/21/71577.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Sun, 21 Nov 2010 15:34:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/21/71577.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71577.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/21/71577.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71577.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71577.html</trackback:ping><description><![CDATA[
转自ubuntu论坛<div><span style="font-size: 18px; color: rgb(0, 128, 64); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-weight: bold; -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; ">一直没有找倒linux下怎么使用Google App Engine搭建Twitter API Proxy教程。所以昨天晚上折腾了一下，就windows下的教程修改了以下。现在把步骤分享给大家。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">GAE的注册步骤 省略............................<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">1：sudo apt-get install python //安装python<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">2：sudo apt-get install subversion //安装svn工具<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">3：下 载Google App Engine SDK<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">下载地 址&nbsp;<a class="postlink" href="http://code.google.com/intl/zh-CN/appengine/downloads.html" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(159, 76, 9); text-decoration: none; ">http://code.google.com/intl/zh-CN/appen ... loads.html</a>&nbsp;（下载linux版本，然后解压）<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">4：在tetminal中执行 cd '/home/tony/DOWN' //进入Google App Engine SDK 解压后的目录<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">5：在tetminal中执行 svn co&nbsp;<a class="postlink" href="http://birdnest.googlecode.com/svn/branches/gae/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(159, 76, 9); text-decoration: none; ">http://birdnest.googlecode.com/svn/branches/gae/</a>&nbsp;//这样就会把文件下载倒DOWN文件夹的gae子文件夹（gae文件夹是自动生成）<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">6：进入目录，编辑app.yaml文件，将第一行的application里的参数修改为自己GAE应用名。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">7：打开code.py 搜索socket找到<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># import socket<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># import re<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># ua = web.ctx.environ.get("HTTP_USER_AGENT", 'None')<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># if ua.find('jibjib') &gt;= 0:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># socket.setdefaulttimeout(60)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># elif ua.find('zh-CN') &gt;= 0:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># #raise Exception('unknown error')<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># socket.setdefaulttimeout(2)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># else:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "># socket.setdefaulttimeout(2)&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">这段代码会导致internal server error 所以我们要删除掉。。。</span></div><div><span style="font-size: 18px; color: rgb(0, 128, 64); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-weight: bold; -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; ">8：在tetminal中执行 python appcfg.py update gae //把应用上传倒GAE<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">这样就大功告成了。 主要是5 7 8 三个步骤跟网上windows下的教程不一样 或者是没提到的。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">another：</span></div><div><span style="font-size: 18px; color: rgb(0, 128, 64); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-weight: bold; -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; "><span  style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-weight: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; "><div id="content" style="font-size: 14px; font-family: 宋体, Arial; line-height: 19px; margin-top: 5px; margin-right: 20px; margin-bottom: 5px; margin-left: 20px; "><p>1.注册Google App Engine。记下GAE应用名（yourid）<br><a href="http://appengine.google.com/" style="color: blue; text-decoration: underline; "><font color="#083de2">注册地址</font></a></p><table border="0" width="97%" align="center" style="table-layout: fixed; position: relative; "><tbody><tr><td colspan="3" style="font-size: 12px; "><div align="center" style="font-size: 12px; "></div></td></tr></tbody></table><br>2.安装python，svn工具<br>sudo apt-get install python<br>sudo apt-get install subversion<br>3.下载Google App Engine SDK<br><a href="http://code.google.com/intl/zh-CN/appengine/downloads.html" style="color: blue; text-decoration: underline; "><font color="#083de2">下载地址</font></a>，下载linux版本，然后解压缩<br>4.终端下进入Google App Engine SDK 解压后的目录（假设目录名为AA）<br>5.终端下svn co http://birdnest.googlecode.com/svn/branches/gae/ //这样就会把文件下载到AA文件夹的gae子文件夹（gae文件夹是自动生成）<br>6.进入gae文件夹，编辑app.yaml文件，将第一行的 application里的参数修改为自己GAE应用名<br>即把第一行&#8221;application&#8221;后面的&#8221;nest&#8221;改成你的app项目名（yourid）<br>7.编辑code.py文件，搜索socket找到<p>&#160;</p><blockquote><p># import socket<br># import re<br># ua = web.ctx.environ.get(&#8220;HTTP_USER_AGENT&#8221;, &#8216;None&#8217;)<br># if ua.find(&#8216;jibjib&#8217;) &gt;= 0:<br># socket.setdefaulttimeout(60)<br># elif ua.find(&#8216;zh-CN&#8217;) &gt;= 0:<br># #raise Exception(&#8216;unknown error&#8217;)<br># socket.setdefaulttimeout(2)<br># else:<br># socket.setdefaulttimeout(2)</p></blockquote><p>这段代码会导致internal server error.所以删除之<br>8.在tetminal中执行python appcfg.py update gae //把应用上传倒GAE<br>大功告成。在浏览器地址栏输入 http://yourid.appspot.com/api/ ，如出现Twitter界面，说明你已经成功架设了 Twitter API Proxy 。</p><div>转自：<a href="http://www.linuxidc.com/Linux/2010-06/26670.htm">http://www.linuxidc.com/Linux/2010-06/26670.htm</a></div></div></span><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br></span></div><img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71577.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-21 23:34 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/21/71577.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ubuntu自启动</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71540.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Sat, 20 Nov 2010 09:17:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71540.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71540.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71540.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71540.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71540.html</trackback:ping><description><![CDATA[<span  style="font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; "><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">转自<strong style="font-weight: bold; "><a href="http://www.yulongauto.com/greysky/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">GreySky&#8217;s Blog</a></strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="text-decoration: underline; ">这里说明，<strong style="font-weight: bold; ">Ubuntu</strong>&nbsp;中系统没有了<strong style="font-weight: bold; ">RH</strong>系统中的&nbsp;<span style="color: rgb(0, 153, 153); ">chkconfig</span><span style="text-decoration: underline; ">&nbsp;命令 ！<span style="text-decoration: underline; "><br></span></span></span>可用一些小工具来管理<strong style="font-weight: bold; ">&nbsp;Ubuntu</strong>&nbsp;的启动选项：<br>小工具&nbsp;<span style="text-decoration: underline; "><strong style="font-weight: bold; ">rcconf</strong></span>：<br><span style="color: rgb(0, 246, 0); "><strong style="font-weight: bold; ">#sudo apt-get rcconf</strong></span><br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo apt-get install rcconf</span></strong><br>root 下运行:&nbsp;<strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo rcconf</span></strong><br><strong style="font-weight: bold; ">功能更全的工具</strong>：<span style="text-decoration: underline; "><strong style="font-weight: bold; ">sysv-rc-conf</strong></span><br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo apt-get update</span></strong><br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo apt-get install sysv-rc-conf</span></strong><br>运行：<span style="color: rgb(0, 246, 0); "><strong style="font-weight: bold; ">#sudo sysv-rc-conf</strong></span><br>也可以直接加入启动程序，例如把&nbsp;<span style="color: rgb(0, 246, 0); ">/etc/init.d/red5</span>&nbsp;加入到系统自动启动列表中：<br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo sysv-rc-conf red5 on</span></strong><br>其他使用方法见:&nbsp;&nbsp;google::Ubuntu::sysv-rc-conf&nbsp;&nbsp;命令用法<br><span style="text-decoration: underline; ">也可以直接修改</span><br>直接改<span style="color: rgb(0, 246, 0); ">&nbsp;/etc/rc0.d ~ /etc/rc6.d&nbsp;</span>和&nbsp;<span style="color: rgb(0, 246, 0); ">/etc/rcS.d</span>&nbsp;下的东西，<strong style="font-weight: bold; ">S</strong>开头的表示<span style="text-decoration: underline; ">启动</span>，<strong style="font-weight: bold; ">K</strong>开头的表示<span style="text-decoration: underline; ">不启动</span>，<br>例如：想关闭 Red5 的开机自动启动，只需 #sudo mv /etc/rc2.d/S20red5 /etc/rc2.d/K20red5 就可以了。<span id="more-108"></span><br><span style="text-decoration: underline; "><strong style="font-weight: bold; ">Ubuntu自动启动程序</strong></span><br>首先，linux随机启动的服务程序都在/etc/init.d这个文件夹里，里面的文件全部都是脚本文件（脚本程序简单的说就是把要运行的程序写<br>到一个 文件里让系统能够按顺序执行，类似windows下的autorun.dat文件），另外在/etc这个文件夹里还有诸如名为rc1.d,rc2.d一直到rc6.d的文件夹，这些都是linux不同的runlevel，我们一般进入的X<br>windows多用户的运行级别是第5级，也就是rc5.d，在这个文件夹下的脚本文件就是运行第5级时要随机启动的服务程序。需要注意的是，在每个rc(1-6).d文件夹下的文件其实都是/etc/init.d文件夹下的文件的一个软连接（类似windows中的快捷方式），也就是说，在/etc/init.d文件夹下是全部的服务程序，而每个rc(1-6).d只链接它自己启动需要的相应的服务程序！<br>要启动scim<br>(某一程序)，我们首先要知道scim程序在哪里，用locate命令可以找到，scim在/usr/bin/scim这里，其中usr表 示是属于用户的，bin在linux里表示可以执行的程序。这样，我就可以编写一个脚本程序，把它放到/etc/init.d里，然后在rc5.d里做一个相应的软链接就可以了。<br>这个脚本其实很简单，就两行：<br>#!/bin/bash<br>/usr/bin/scim<br>第一行是声明用什么终端运行这个脚本，第二行就是要运行的命令。<br>还需要注意的一点是，在rc5.d里，每个链接的名字都是以S或者K开头的，S开头的表示是系统启动是要随机启动的，K开头的是不随机启动的。这样，你就可以知道，如果我要哪个服务随机启动，就把它名字第一个字母K改成S就可以了，当然，把S改成K后，这个服务就不能随机启动了。因此，我这个链接还要起名为SXXX，这样系统才能让它随机启动。<br>在RH下，rc.local是默认启动的最后一个脚本文件，所以，如果你想要随机启动，还有一种方法就是在rc.local的尾部加入/usr/bin/scim，这样就可以了。<br><span style="text-decoration: underline; "><strong style="font-weight: bold; ">Linux 自动启动程序</strong></span><br><strong style="font-weight: bold; ">1．开机启动时自动运行程序</strong><br>Linux加载后, 它将初始化硬件和设备驱动,<br>然后运行第一个进程init。init根据配置文件继续引导过程，启动其它进程。通常情况下，修改放置在 /etc/rc或 /etc/rc.d 或<br>/etc/rc?.d 目录下的脚本文件，可以使init自动启动其它程序。例如：编辑&nbsp;<span style="text-decoration: underline; ">/etc/rc.d/rc.local</span>&nbsp;文件(该文件通常是系统最后启动的脚本)，在文件最末加上一行&#8220;xinit&#8221;或&#8220;startx&#8221;，可以在开机启动后直接进入X－Window。<br><strong style="font-weight: bold; ">2．登录时自动运行程序</strong><br>用户登录时，bash首先自动执行系统管理员建立的全局登录script<br>：/ect/profile。然后bash在用户起始目录下按顺序查找三个特殊文件中的一个：/.bash_profile、/.bash_login、<br>/.profile，但只执行最先找到的一个。<br>因此，只需根据实际需要在上述文件中加入命令就可以实现用户登录时自动运行某些程序（类似于DOS下的Autoexec.bat）。<br><strong style="font-weight: bold; ">3．退出登录时自动运行程序</strong><br>退出登录时，bash自动执行个人的退出登录脚本/.bash_logout。例如，在/.bash_logout中加入命令&#8220;tar －cvzf c.source.tgz ＊.c&#8221;，则在每次退出登录时自动执行 &#8220;tar&#8221; 命令备份 ＊.c 文件。<br><strong style="font-weight: bold; ">4．定期自动运行程序</strong><br>Linux有一个称为crond的守护程序，主要功能是周期性地检查 /var/spool/cron目录下的一组命令文件的内容，并在设定的时间执行这些文件中的命令。用户可以通过crontab 命令来建立、修改、删除这些命令文件。<br>例如，建立文件crondFile，内容为&#8220;00 9 23 Jan ＊ HappyBirthday&#8221;，运行&#8220;crontab cronFile&#8221;命令后，每当元月23日上午9:00系统自动执行&#8220;HappyBirthday&#8221;的程序（&#8220;＊&#8221;表示不管当天是星期几）。<br><strong style="font-weight: bold; ">5．定时自动运行程序一次</strong><br>定时执行命令at 与crond 类似（但它只执行一次）：命令在给定的时间执行，但不自动重复。at命令的一般格式为：at [ －f file ] time ，在指定的时间执行file文件中所给出的所有命令。也可直接从键盘输入命令：<br>＄ at 12:00<br>at&gt;mailto Roger －s &#8243;Have a lunch&#8243; Ctr－D<br>Job 1 at 2000－11－09 12:00<br>2000－11－09 12:00时候自动发一标题为&#8220;Have a lunch&#8221;，内容为plan.txt文件内容的邮件给Roger。?9 12:00<br>2000－11－09 12:00时候自动发一标题为&#8220;Have a lunch&#8221;，内容为plan.txt文件内容的邮件给Roger。er。ger。er。<br><span style="text-decoration: underline; "><strong style="font-weight: bold; ">Ubuntu 开机自动挂载windows分区</strong></span><br>要挂载NTFS格式分区，需要NTFS-3g这个软件。它短小精悍，而且功能强大。<br>NTFS-3g是一个开源软件，它支持在Windows下面读写NTFS格式的分区。它非常的快速，同时也很安全。它支持Windows 2000、XP和2003，并且支持所有的符合POSIX标准的磁盘操作。<br><strong style="font-weight: bold; ">首先要编辑sources.list</strong><br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo gedit /etc/apt/sources.list</span></strong><br><strong style="font-weight: bold; ">Ubuntu Drapper添加：</strong><br><span>deb&nbsp;<a class="smarterwiki-linkify" href="http://givre.cabspace.com/ubuntu/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://givre.cabspace.com/ubuntu/</a>&nbsp;dapper main main-all</span><br><span>deb&nbsp;<a class="smarterwiki-linkify" href="http://ntfs-3g.sitesweetsite.info/ubuntu/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://ntfs-3g.sitesweetsite.info/ubuntu/</a>&nbsp;dapper main main-all</span><br><span>deb&nbsp;<a class="smarterwiki-linkify" href="http://flomertens.keo.in/ubuntu/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://flomertens.keo.in/ubuntu/</a>&nbsp;dapper main main-all</span><br><strong style="font-weight: bold; ">Ubuntu Edgy添加：</strong><br><span>deb&nbsp;<a class="smarterwiki-linkify" href="http://givre.cabspace.com/ubuntu/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://givre.cabspace.com/ubuntu/</a>&nbsp;edgy main</span><br><span>deb&nbsp;<a class="smarterwiki-linkify" href="http://ntfs-3g.sitesweetsite.info/ubuntu/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://ntfs-3g.sitesweetsite.info/ubuntu/</a>&nbsp;edgy main</span><br><span>deb&nbsp;<a class="smarterwiki-linkify" href="http://flomertens.keo.in/ubuntu/" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://flomertens.keo.in/ubuntu/</a>&nbsp;edgy main</span><br><strong style="font-weight: bold; ">同时必须导入GPG-Key，可以这样：</strong><br><strong style="font-weight: bold; "><span>#wget&nbsp;<a class="smarterwiki-linkify" href="http://flomertens.keo.in/ubuntu/givre_key.asc" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://flomertens.keo.in/ubuntu/givre_key.asc</a>&nbsp;-O- | sudo apt-key add -</span><br><span>#wget&nbsp;<a class="smarterwiki-linkify" href="http://givre.cabspace.com/ubuntu/givre_key.asc" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://givre.cabspace.com/ubuntu/givre_key.asc</a>&nbsp;-O- | sudo apt-key add -</span><br></strong><br><strong style="font-weight: bold; ">现在更新一下源：</strong><br><span style="color: rgb(0, 246, 0); "><strong style="font-weight: bold; ">#sudo aptitude update</strong></span><br><strong style="font-weight: bold; ">正式安装</strong><br>在&#8220;终端&#8221;下面运行：<br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo apt-get install ntfs-3g</span></strong><br><strong style="font-weight: bold; ">配置NTFS-3g</strong><br>首先看一些硬盘分区的分区类型<br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo fdisk -l</span></strong><br>现在就可以<span style="text-decoration: underline; ">修改</span>&nbsp;<span style="color: rgb(0, 246, 0); ">/etc/fstab</span>，来让Ubuntu启动的时候自动挂载NTFS分区了。但是首先请备份一下这个文件：<br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo cp /etc/fstab /etc/fstab.bak</span></strong><br><span style="text-decoration: underline; ">建立挂载点</span>，譬如挂载在&nbsp;<span style="color: rgb(0, 246, 0); ">/media/windows</span>&nbsp;下面<br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo mkdir /media/windows</span></strong><br>现在可以在&nbsp;<span style="color: rgb(0, 246, 0); ">/etc/fstab</span>&nbsp;的后面添加<br><span style="color: rgb(0, 246, 0); ">/dev/hda1 /media/ ntfs-3g defaults,locale=zh_CN.utf8 0 0</span><br>根据自己的情况进行修改。<br><strong style="font-weight: bold; ">一些示例</strong><br><span style="text-decoration: underline; ">挂载</span><span style="color: rgb(0, 246, 0); ">&nbsp;/dev/hda3</span><br><span style="text-decoration: underline; ">添加</span>&nbsp;<span style="color: rgb(0, 246, 0); ">/dev/hda3 /media/windows ntfs-3g ro,locale=zh_CN.utf8,uid=1000 0 0</span><br><strong style="font-weight: bold; ">关于自己的locale</strong><br>可以用下面的命令查看所有的locale<br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#locale -a</span></strong><br>如果不想重新启动，就可以<br><strong style="font-weight: bold; ">#sudo umount -a<br>#sudo mount -a<br></strong><br><strong style="font-weight: bold; ">最后一个挂载FAT分区的命令</strong><br><strong style="font-weight: bold; "><span style="color: rgb(0, 246, 0); ">#sudo mount /dev/hda3 /media/windows/ -t vfat -o iocharset=utf8,umask=000</span></strong><br><strong style="font-weight: bold; ">当然可以在/etc/fstab里面添加</strong><br><span style="color: rgb(0, 246, 0); ">/dev/hda3 /media/windows vfat iocharset=utf8,umask=000 0 0</span><br><span style="text-decoration: underline; "><strong style="font-weight: bold; ">Openfire随着Ubuntu自动启动</strong></span><br>openfire缺省情况下，是不随机启动的。为了解决每次都要手工启动的麻烦，我编写了一个脚本，放在/etc/init.d目录里面<br><span style="color: rgb(0, 246, 0); "><strong style="font-weight: bold; ">#sudo vim /etc/init.d/openfire</strong></span><br>内容如下：<br>#!/bin/sh<br>openfire_start(){<br>/etc/openfire/bin/openfire start<br>}<br>openfire_stop(){<br>/etc/openfire/bin/openfire stop<br>}<br>case $1 in<br>start)<br>openfire_start<br>;;<br>stop)<br>openfrie_stop<br>;;<br>*)<br>echo &#8216;Usage:openfire start|stop&#8217;<br>;;<br>esac</p></span>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71540.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-20 17:17 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71540.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>windows gappproxy设置--转自fade1945</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71537.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Sat, 20 Nov 2010 08:54:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71537.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71537.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71537.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71537.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71537.html</trackback:ping><description><![CDATA[<span  style="font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; "><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">附件在文末有下载，阅读器中无法看到，请移步原文：<a href="http://1945fa.de/archives/113" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://1945fa.de/archives/113</a></strong></p><h2 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; "><strong style="font-weight: bold; ">1、安装</strong></h2><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">I、注册Google app engine 的一个</strong><a href="https://appengine.google.com/start/createapp?" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; "><strong style="font-weight: bold; ">app ID</strong></a><strong style="font-weight: bold; ">。【需要谷歌帐号才能注册app ID，没有的点</strong><a href="https://www.google.com/accounts/NewAccount" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; "><strong style="font-weight: bold; ">这里</strong></a><strong style="font-weight: bold; ">注册谷歌帐号】</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><img class="alignnone" src="http://farm5.static.flickr.com/4075/4855589179_1466e8a7c0_b.jpg" alt="" width="554" height="459" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; max-width: 600px; "><span id="more-113"></span></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">2、安装Windows下的</strong><a href="http://code.google.com/appengine/downloads.html" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; "><strong style="font-weight: bold; ">Google appengine</strong></a><strong style="font-weight: bold; ">软件包。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">3、下载Fetchserver。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">4、用记事本更改app.yaml里的第一行，改为你的ID。【浏览器中点击图片即可放大】</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><img class="alignnone" src="http://farm5.static.flickr.com/4139/4856207170_9de8a490ec_b.jpg" alt="" width="772" height="531" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; max-width: 600px; "></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">5、上传。略过。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">进入命令行，使用appcfg.cmd update &lt;dir&gt;命令上传到Google。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; "><img class="alignnone" src="http://weitza.blu.livefilestore.com/y1pZKQdxf86F0yAhmbZzK8nyyooMwH-HxTFquF8IEG40uCMuXa0VE09UfUvn5-0n3NzRf3P4ukJj4-9cNaInEYXToXs92k8gQ9N/Snagit183.png?psid=1" alt="" width="600" height="389" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; max-width: 600px; "></strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">途中会提示输入用户名与密码。</strong></p><h2 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; "><strong style="font-weight: bold; ">2、使用：</strong></h2><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">I.下载文末Gappproxy.rar，打开其中Gui.exe。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; "><img class="alignnone" src="http://public.blu.livefilestore.com/y1pur2qk9do8L31csm9re-fUm9fwES1-1Ajg_xYn-v6R41tCVEWc10v9CGfQa-ox4irozx9sgbf-0ZUCxkUgJ3AtQ/10-20-2010%201-49-59%20PM.png?psid=1" alt="" width="408" height="195" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; max-width: 600px; "></strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">II.修改浏览器的代理为127.0.0.1端口为8000.</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; "><img class="alignnone" src="http://weitza.blu.livefilestore.com/y1pfO_rtWX-wEKEi7faG-MKYQgZO8lqoioko7nX-N2sev8_MY4vp8inon8WlJKRHrm_dX8I28JXtSDTK_O4Dk-JDQmRboYt3n3K/Snagit1119.png?psid=1" alt="" width="582" height="450" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; max-width: 600px; "></strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">3、优点：免费、速度快</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">4、缺点：</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">会受到GFW特别关注，可能会抽风，甚至被屏蔽，比如我曾经的一个APP叫youtubefade，结果被墙。后来吸取教训，不用这种敏感词，用fkurmother。好吧，我承认我三俗。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong style="font-weight: bold; ">不支持加密https协议。</strong></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">5、如何自启动？</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">点击Service即可注册为系统服务，自动启动。</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">6、狡兔三窟：</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">I.SSH:</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a href="http://1945fa.de/archives/115" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">Windows下SSH的设定与自启动</a></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a title="Permanent Link: Ubuntu下如何设置自动连接SSH翻墙？" rel="bookmark" href="http://1945fa.de/archives/106" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">Ubuntu下如何设置自动连接SSH翻墙？</a></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">II.VPN:</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a href="http://1945fa.de/archives/116" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">VPN在Windows、Ubuntu下的设定</a></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span id="apture_prvw1" class="aptureLink " style="display: inline !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; float: none !important; border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; cursor: pointer !important; "><span class="aptureLinkIcon" style="display: inline !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 11px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; float: none !important; background-image: url(http://cdn.apture.com/media/imgs/link_icons.gif?v12) !important; background-position: 100% -1149px; background-repeat: no-repeat no-repeat !important; ">&nbsp;</span><a href="http://twitter.com/schnauzer1107" class="aptureLink snap_noshots" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; display: inline !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; float: none !important; ">Schnauzer</a></span></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Related posts:</p><ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 30px; list-style-type: none; list-style-position: initial; list-style-image: initial; clear: left; "><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: decimal; "><a href="http://1945fa.de/archives/116" rel="bookmark" title="Permanent Link: VPN在Windows、Ubuntu下的设定" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">VPN在Windows、Ubuntu下的设定</a></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: decimal; "><a href="http://1945fa.de/archives/115" rel="bookmark" title="Permanent Link: Windows下SSH的设定与自启动" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">Windows下SSH的设定与自启动</a></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: decimal; "><a href="http://1945fa.de/archives/111" rel="bookmark" title="Permanent Link: Windows与Linux翻墙完美解决方案" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">Windows与Linux翻墙完美解决方案</a></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: decimal; "><a href="http://1945fa.de/archives/41" rel="bookmark" title="Permanent Link: 免费使用NOD" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">免费使用NOD</a></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: decimal; "><a href="http://1945fa.de/archives/146" rel="bookmark" title="Permanent Link: Windows下建立SSH服务器" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">Windows下建立SSH服务器</a></li></ol></span>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71537.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-20 16:54 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71537.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ubuntu-gapproxy配置安装--转自http://1945fa.de/archives/110</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71536.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Sat, 20 Nov 2010 08:51:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71536.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71536.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71536.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71536.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71536.html</trackback:ping><description><![CDATA[<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">所有附件在文末。</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">Ubuntu默认已安装PYTHON，进行以下之前先自行确认你已安装【python -v】。</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">1、需要有一个google appengine的账号，去<a href="http://appspot.com/" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">appspot.com</a>注册，可能需要手机验证，不收取任何费用。</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">2、安装Linux下的<a href="http://code.google.com/appengine/downloads.html" target="_blank" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">Google appengine</a>软件包。</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">3、下载Fetchserver。<span id="more-110"></span></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">4、使用Gedit或是其他文本编辑软件更改app.yaml里的第一行，改为你的ID。【参见此：<a href="http://1945fa.de/archives/77" style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">http://1945fa.de/archives/77</a>】</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">5、Terminal进入appengine文件夹中，运行python appcfg.py update fetchserver（请注意大小写，LINUX下区分大小写），上传过程中会提示输入邮箱和密码，成功会显示：</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">Cloning 3 application file.<br>Deploying new version.<br>Checking if new version is ready to serve.<br>Closing update: new version is ready to start serving.</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">6、下载localproxy，解压。用文本编辑器编辑文件夹中的proxy.conf，里面有三行fetch_server = &#8230;&#8230;.的，随便改一行为http://<span style="color: rgb(0, 255, 0); "><em style="font-style: italic; "><strong style="font-weight: bold; ">****</strong></em></span>.appspot.com/fetch.py并且去掉本行前面的#，保存。【****为你的app ID】</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">7、双击proxy.py 。</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">HTTP Enabled : YES<br>HTTPS Enabled: NO<br>Local Proxy :<br>Fetch Server : http://abcde.<a style="text-decoration: none; color: rgb(29, 95, 131); cursor: pointer; ">appspot.com/fetch.py</a></p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">8、代理设置：参考：Chrome+Proxy switchy! &nbsp;Firefox+Autoproxy</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">可以把下面代码拷贝到gedit中保存成文件，设置成开机自启动。【ubuntu中有图形界面，填入你保存的文件位置即可，注意区分大小写，例如<span style="color: rgb(0, 255, 0); "><em style="font-style: italic; "><strong style="font-weight: bold; ">/home/schnauzer/Desktop/localproxy/Autostart</strong></em></span>】</p><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; ">这样，就不用占据着一个terminal窗口。当然，proxy.py的目录你要改成你的。</p><blockquote style="margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 8px; padding-right: 12px; padding-bottom: 8px; padding-left: 40px; background-image: url(http://1945fa.de/wp-content/themes/eos/images/blockquote.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(237, 241, 245); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); word-wrap: break-word; overflow-x: hidden; overflow-y: hidden; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; background-position: 3px 3px; background-repeat: no-repeat no-repeat; "><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">nohup python&nbsp;<span style="color: rgb(0, 255, 0); "><em style="font-style: italic; "><strong style="font-weight: bold; ">/home/schnauzer/Desktop/localproxy/</strong></em></span>proxy.py &amp;</p></blockquote><p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; "><iframe marginwidth="0" marginheight="0" src="http://www.4shared.com/minifolder/bO3aAFc2/Gappproxy_on_UBuntu.html" scrolling="no" width="200" height="200"></iframe></p>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71536.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-20 16:51 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71536.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu Server下配置UTF-8中文/英文环境--转自Slayr Home</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71522.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Sat, 20 Nov 2010 03:26:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71522.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71522.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71522.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71522.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71522.html</trackback:ping><description><![CDATA[<meta http-equiv="content-type" content="text/html; charset=utf-8"><span  style="color: rgb(85, 85, 85); font-family: Verdana, Arial, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">英文有那么难看么...非要把命令提示都变成中文...算了，你要改就改吧...</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">有需要给Ubuntu Server装中文环境的往这看，该加sudo的自己加去，俺是root...</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">1、安装中文语言包</p><div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; width: 600px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); background-position: initial initial; background-repeat: initial initial; "><div class="code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top; color: rgb(51, 51, 51); "><pre class="bash" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-width: initial; border-color: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 14px; line-height: 1.333; font-family: Verdana, 'Courier New'; background-position: initial initial; background-repeat: initial initial; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(194, 12, 185); font-weight: bold; ">apt-get</span> <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(194, 12, 185); font-weight: bold; ">install</span> language-pack-zh</pre></div></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">2、用vim配置语言环境变量</p><div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; width: 600px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); background-position: initial initial; background-repeat: initial initial; "><div class="code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top; color: rgb(51, 51, 51); "><pre class="bash" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-width: initial; border-color: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 14px; line-height: 1.333; font-family: Verdana, 'Courier New'; background-position: initial initial; background-repeat: initial initial; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(194, 12, 185); font-weight: bold; ">vim</span> <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 0, 0); font-weight: bold; ">/</span>etc<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 0, 0); font-weight: bold; ">/</span>environment</pre></div></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">在下面添加如下两行</p><div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; width: 600px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); background-position: initial initial; background-repeat: initial initial; "><div class="code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top; color: rgb(51, 51, 51); "><pre class="bash" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-width: initial; border-color: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 14px; line-height: 1.333; font-family: Verdana, 'Courier New'; background-position: initial initial; background-repeat: initial initial; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 120, 0); ">LANG</span>=&#8221;zh_CN.UTF-<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 0, 0); ">8</span>&#8243;
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 120, 0); ">LANGUAGE</span>=&#8221;zh_CN:zh:en_US:en&#8221;</pre></div></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">如果你想用英文环境了，改成这两行就OK</p><div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; width: 600px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); background-position: initial initial; background-repeat: initial initial; "><div class="code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top; color: rgb(51, 51, 51); "><pre class="bash" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-width: initial; border-color: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 14px; line-height: 1.333; font-family: Verdana, 'Courier New'; background-position: initial initial; background-repeat: initial initial; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 120, 0); ">LANG</span>=&#8221;en_US.UTF-<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 0, 0); ">8</span>&#8243;
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 120, 0); ">LANGUAGE</span>=&#8221;en_US:en&#8221;</pre></div></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">3、重启Ubuntu Server</p><div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; width: 600px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); background-position: initial initial; background-repeat: initial initial; "><div class="code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top; color: rgb(51, 51, 51); "><pre class="bash" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-width: initial; border-color: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 14px; line-height: 1.333; font-family: Verdana, 'Courier New'; background-position: initial initial; background-repeat: initial initial; ">reboot</pre></div></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">4、可以用locale查看一下环境变量...</p><div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; width: 600px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); background-position: initial initial; background-repeat: initial initial; "><div class="code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top; color: rgb(51, 51, 51); "><pre class="bash" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-width: initial; border-color: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 14px; line-height: 1.333; font-family: Verdana, 'Courier New'; background-position: initial initial; background-repeat: initial initial; ">locale</pre></div></div></span>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71522.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-20 11:26 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/20/71522.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Google App Engine+WallProxy搭建个人代理服务器</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/18/71457.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Thu, 18 Nov 2010 14:50:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/18/71457.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71457.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/18/71457.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71457.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71457.html</trackback:ping><description><![CDATA[转自--<a href="http://blog.dudumao.net/article.asp?id=158">http://blog.dudumao.net/article.asp?id=158</a><div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">GAE上搭建WallProxy代理服务器三个步骤：<input align="right" type="image" src="https://www.google.com/accounts/ah/appengine.jpg" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "></p><h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">１、在Google App Engine 上创建应用</h3><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　1.1&nbsp;&nbsp;登陆Google code：<a href="http://code.google.com/intl/zh-CN/appengine/" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: rgb(255, 0, 0); ">http://code.google.com/intl/zh-CN/appengine/</a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　1.2&nbsp;&nbsp;点击注册按钮前往：<a href="https://appengine.google.com/" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: rgb(255, 0, 0); ">https://appengine.google.com/</a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　1.3&nbsp;&nbsp;点击<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Create an Application</strong>，输入手机号，<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Send</strong>确认，输入手机收到到验证码；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　1.4&nbsp;&nbsp;进入创建程序详细页面，分别输入<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Application Identifier</strong>和<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Application Title</strong>；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　1.5&nbsp; 最终得到的应用页面：http://Application Identifier.appspot.com</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">&nbsp;</p><h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">２、下载WallProxy资源包（GAE版，PHP版，客户端），上传GAE版的文件至刚创建的应用上</h3><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">　　2.1 下载相关工具软件</strong></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.1.1&nbsp;&nbsp;下载<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">WallProxy</strong>：<a href="http://code.google.com/p/wallproxy/downloads/list" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: rgb(255, 0, 0); ">http://code.google.com/p/wallproxy/downloads/list</a>；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.1.2&nbsp;&nbsp;下载<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Python</strong>：<a target="_blank" href="http://www.python.org/download/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: rgb(255, 0, 0); ">http://www.python.org/download/</a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.1.3&nbsp;&nbsp;下载<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Google App Engine SKD</strong>：<a target="_blank" href="http://code.google.com/intl/zh-CN/appengine/downloads.html" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: rgb(255, 0, 0); ">http://code.google.com/intl/zh-CN/appengine/downloads.html</a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">　　2.2<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: bold; ">&nbsp;</span>上传文件至GAE应用</strong></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.2.1&nbsp; 打开<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">GoogleAppEngineLauncher.exe</strong>，在弹出的窗口中打开&#8221;File&#8220;-&#8221;Add Existing application&#8220;，添加WallProxy软件包中<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">gae_server</strong>文件夹放置路径；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.2.2&nbsp; 点击&#8221;RUN&#8220;本地运行，点击&#8221;Browse&#8220;浏览应用；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.2.3&nbsp; 点击&#8221;Edit&#8220;，编辑<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">app.yaml</strong>文件，将第一行的application后面的<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&#8220;your-gae-id&#8221;</strong>修改为你刚才申请的ID；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　2.2.4&nbsp; 点击&#8221;Deploy&#8220;上传，在弹出的对话框中输入邮箱和密码；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">&nbsp;</p><h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">３、修改浏览器设置，启动客户端</h3><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">　　<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">3.1 设置浏览器的代理</strong></strong></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　3.1.1&nbsp;&nbsp;IE浏览器设置：&#8220;IE属性&#8221;&#8211;&#8220;Internet选项&#8221;&#8211;&#8220;连接&#8221;&#8211;&#8220;局域网设置&#8221;&#8211;127.0.0.1：8086;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　3.1.2&nbsp;&nbsp;Firefox浏览器设置：&#8220;工具&#8221;&#8211;&#8220;选项&#8221;&#8211;&#8220;高级&#8221;&#8211;&#8220;网络&#8221;&#8211;&#8220;设置&#8221;&#8211;&#8220;手动配置代理&#8221;&#8211;设置为127.0.0.1：8086;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　3.1.3&nbsp;&nbsp;opera浏览器设置：&#8220;菜单&#8221;&#8211;&#8220;设置&#8221;&#8211;&#8220;首选项&#8221;&#8211;&#8220;高级&#8221;&#8211;&#8220;网络&#8221;&#8211;&#8220;代理服务器&#8221;&#8211;设置为127.0.0.1：8086;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">　　<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">3.2 设置本地客户端</strong></strong></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　3.2.1&nbsp;&nbsp;启动WallProxy软件包中local文件夹中WallProxy.exe文件；</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　3.2.2&nbsp;&nbsp;点击&#8220;设置&#8221;按钮，弹出&#8220;设置&#8221;对话框，修改GAE_PROXY的URL中的<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">your-gae-id；</strong></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif, 'Microsoft YaHei', 微软雅黑, 宋体; font-size: 12px; line-height: 24px; ">　　　3.2.3&nbsp; 点击&#8221;启动&#8220;按钮，<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Enjoy!</strong></p></div><div><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br></strong></div><img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71457.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-18 22:50 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/18/71457.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>让Ubuntu启动到文本界面--转自数字宿迁</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71389.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Wed, 17 Nov 2010 05:54:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71389.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71389.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71389.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71389.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71389.html</trackback:ping><description><![CDATA[<meta http-equiv="content-type" content="text/html; charset=utf-8"><span  style="border-collapse: collapse; color: rgb(68, 68, 68); font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 12px; "><table cellspacing="0" cellpadding="0" style="word-wrap: break-word; empty-cells: show; border-collapse: collapse; line-height: normal; table-layout: fixed; margin-left: 1px; width: 600px; "><tbody style="word-wrap: break-word; line-height: normal; "><tr style="word-wrap: break-word; line-height: normal; "><td class="t_msgfont" id="postmessage_7545" style="word-wrap: break-word; color: rgb(68, 68, 68); font: normal normal normal 12px/1.6em Verdana, Helvetica, Arial, sans-serif; line-height: 1.6em; font-size: 14px; ">默认安装的Ubuntu Linux会直接到图形界面。不过很多时候我并不需要在图形界面上做事，字符界面的命令行就足够了。想起在RedHat里可以通过修改/etc/inittab来把默认运行等级（run level）从5改到3来实现，不幸的是Ubuntu中并没有这个文件。刚刚在Google上找了一遍，发现Ubuntu也是可以兼容inittab的，不过需要自己手工建一个罢了。&nbsp;<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">Ubuntu安装后默认的run level为2，这个可以用runlevel命令查看。因为runlevel=2，所以在启动过程中自动执行/etc/rc2.d/目录下的以S开头的脚本。Ubuntu之所以能直接启动到图形界面，是由于运行gdm所致。所以，只要把gdm的启动脚本禁用就可以了，方法就是把类似Sxxgdm（XX为任意字符）的文件名的第一个字母S改成K：&nbsp;<br style="word-wrap: break-word; line-height: normal; ">命令：&nbsp;<br style="word-wrap: break-word; line-height: normal; ">cd /etc/rc2.d&nbsp;<br style="word-wrap: break-word; line-height: normal; ">sudo mv Sxxgdm Kxxgdm&nbsp;<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">例如：<br style="word-wrap: break-word; line-height: normal; ">sudo mv /etc/rc2.d/S13gdm /etc/rc2.d/K13gdm<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">这个命令的大概意思是把S13gdm 复制一个 并命名为K13gdm&nbsp;<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">这是一种方法，而且非常简单。但我更习惯于设定一个新的run level，让那个新的run level作为启动到字符界面。这样便于管理。Ubuntu没有/etc/inittab文件，只好新建一个了，内容只有一行：&nbsp;<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">id:3:initdefault:<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">这样下次启动时就会自动运行/etc/rc3.d/目录下的脚本，而不再是/etc/rc2.d/中的。所以接下来要进入到/etc/rc3.d/中，看看gdm的启动脚本文件名：&nbsp;<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">ls -l *gdm<br style="word-wrap: break-word; line-height: normal; "><br style="word-wrap: break-word; line-height: normal; ">如果是以S打头的，把文件名改成以K打头的就行了</td></tr></tbody></table></span>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71389.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-17 13:54 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71389.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ubuntu 10.10 LAMP平台安装配置--转自林国锋博客</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71388.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Wed, 17 Nov 2010 05:49:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71388.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71388.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71388.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71388.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71388.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Step 1: 安装 mysql1sudo apt-get install mysql-client mysql-serverStep 2: 安装 Apache21sudo apt-get install apache2Step 3: 安装 PHP 支持1sudo apt-get install php5 libapache2-mod-php52#测试是否安装成功3sudo gedit /var/...&nbsp;&nbsp;<a href='http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71388.html'>阅读全文</a><img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71388.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-17 13:49 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71388.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>编译Mysql 5.5时报do_abi_check错误</title><link>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71387.html</link><dc:creator>wuxinxinggg</dc:creator><author>wuxinxinggg</author><pubDate>Wed, 17 Nov 2010 05:47:00 GMT</pubDate><guid>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71387.html</guid><wfw:comment>http://www.cnitblog.com/wuxinxinggg/comments/71387.html</wfw:comment><comments>http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71387.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wuxinxinggg/comments/commentRss/71387.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wuxinxinggg/services/trackbacks/71387.html</trackback:ping><description><![CDATA[<meta http-equiv="content-type" content="text/html; charset=utf-8"><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">下载mysql-5.5.3-m3源码后，执行configure无错误，在make的时候却报:</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">&nbsp;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">make[2]: *** [do_abi_check] 错误 1&lt;br&gt;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">make[2]: Leaving directory `/tmp/mysql-5.5.3-m3'&lt;br&gt;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">make[1]: *** [abi_check] 错误 2&lt;br&gt;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">make[1]: Leaving directory `/tmp/mysql-5.5.3-m3'&lt;br&gt;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">make: *** [all-recursive] 错误 1</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">&nbsp;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">摆渡，谷歌了一圈，居然是mysql的bug，貌似是mysql 5.1.14以上版本跟gcc 4.5不太兼容导致的。</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">&nbsp;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">貌似我还真用的gcc 4.5。</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">&nbsp;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">解决方法：</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">&nbsp;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">在configure完成之后，打开Makefile，删掉1146行至1163行，即do_abi_check:目标后的所有语句。</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">&nbsp;</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; ">再执行make &amp;&amp; make install 就OK了。</p>
<img src ="http://www.cnitblog.com/wuxinxinggg/aggbug/71387.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wuxinxinggg/" target="_blank">wuxinxinggg</a> 2010-11-17 13:47 <a href="http://www.cnitblog.com/wuxinxinggg/archive/2010/11/17/71387.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>