<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>QUANY</title>
	<atom:link href="http://www.quany.info/feed" rel="self" type="application/rss+xml" />
	<link>http://www.quany.info</link>
	<description>It is written!-[www.quany.info]</description>
	<lastBuildDate>Fri, 27 Apr 2012 18:27:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>老外屌丝中文哥超强12人模仿</title>
		<link>http://www.quany.info/video-audio/a-foreigner-imitates-12-people-in-chinese.html</link>
		<comments>http://www.quany.info/video-audio/a-foreigner-imitates-12-people-in-chinese.html#comments</comments>
		<pubDate>Fri, 27 Apr 2012 18:25:33 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[影音|Video]]></category>
		<category><![CDATA[屌丝]]></category>
		<category><![CDATA[模仿]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1623</guid>
		<description><![CDATA[我国英语教材传奇人物李雷请来一帮外国屌丝来宣布一件和她女朋友韩梅梅的重大消息。。。 美国人\法国人\日本人\俄罗斯人。。。 一群屌丝聚在一起用什么语言聊天呢？？？ &#160; 相关阅读2009/08/01 -- 牛人模仿15位歌手翻唱曾轶可《狮子座》 标签：屌丝, 模仿]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://player.youku.com/player.php/sid/XMzg3MTk3ODQ4/v.swf" /><param name="allowfullscreen" value="true" /><param name="quality" value="high" /><param name="allowscriptaccess" value="always" /><embed width="480" height="400" type="application/x-shockwave-flash" src="http://player.youku.com/player.php/sid/XMzg3MTk3ODQ4/v.swf" allowfullscreen="true" quality="high" allowscriptaccess="always" /></object></p>
<p>我国英语教材传奇人物李雷请来一帮外国屌丝来宣布一件和她女朋友韩梅梅的重大消息。。。<br />
美国人\法国人\日本人\俄罗斯人。。。<br />
一群屌丝聚在一起用什么语言聊天呢？？？</p>
<p>&nbsp;</p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2009/08/01 -- <a href="http://www.quany.info/video-audio/15-singers-imitate-zengyike-leo.html" title="牛人模仿15位歌手翻唱曾轶可《狮子座》">牛人模仿15位歌手翻唱曾轶可《狮子座》</a></li></ul>
	标签：<a href="http://www.quany.info/tag/%e5%b1%8c%e4%b8%9d" title="屌丝" rel="tag">屌丝</a>, <a href="http://www.quany.info/tag/%e6%a8%a1%e4%bb%bf" title="模仿" rel="tag">模仿</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/video-audio/a-foreigner-imitates-12-people-in-chinese.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用curl / wget命令上传下载FTP</title>
		<link>http://www.quany.info/softwares/ftp-with-curl-wget.html</link>
		<comments>http://www.quany.info/softwares/ftp-with-curl-wget.html#comments</comments>
		<pubDate>Wed, 21 Mar 2012 14:31:57 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[软件|Software]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Wget]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1607</guid>
		<description><![CDATA[curl可以在shell下轻松上传下载ftp上的文件，相比ftp命令更具有优势，因为它能在单命令条件下，下载或者上传一个ftp文件，甚至可以删除文件。 下面看实例： 1、列出ftp服务器上的目录列表： curl ftp://www.quany.info/ &#8211;user name:passwd curl ftp://www.quany.info/ –u name:passwd #简洁写法 curl ftp://name:passwd@www.quany.info #简洁写法2 2、只列出目录，不显示进度条 [...]]]></description>
			<content:encoded><![CDATA[<p>curl可以在shell下轻松上传下载ftp上的文件，相比ftp命令更具有优势，因为它能在单命令条件下，下载或者上传一个ftp文件，甚至可以删除文件。</p>
<p>下面看实例：</p>
<p>1、列出ftp服务器上的目录列表：</p>
<p><a href="http://www.quany.info/tag/curl" class="st_tag internal_tag" rel="tag" title="Posts tagged with cURL">curl</a> <a href="http://www.quany.info/tag/ftp" class="st_tag internal_tag" rel="tag" title="Posts tagged with FTP">ftp</a>://www.quany.info/ &#8211;user name:passwd<br />
curl ftp://www.quany.info/ –u name:passwd #简洁写法<br />
curl ftp://name:passwd@www.quany.info #简洁写法2</p>
<p>2、只列出目录，不显示进度条<br />
curl ftp://www.quany.info –u name:passwd -s</p>
<p>3、下载一个文件：<br />
curl ftp://www.quany.info/size.zip –u name:passwd -o size.zip</p>
<p>4、上载一个文件：<br />
curl –u name:passwd -T size.mp3 ftp://www.quany.info/mp3/</p>
<p>5、从服务器上删除文件（使用curl传递ftp协议的DELE命令）:<br />
curl –u name:passwd ftp://www.quany.info/ -X &#8216;DELE mp3/size.mp3&#8242;</p>
<p>6、另外curl不支持递归下载，不过可以用数组方式下载文件，比如我们要下载1-10.gif连续命名的文件：<br />
curl –u name:passwd ftp://www.quany.info/img/[1-10].gif –O #O字母大写</p>
<p>7、要连续下载多个文件：<br />
curl –u name:passwd ftp://www.quany.info/img/[one,two,three].jpg –O #O字母大写</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>8、wget下载文件：</p>
<p>用户账户:quany<br />
用户密码:123456<br />
ftp下载<br />
<a href="http://www.quany.info/tag/wget" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wget">wget</a> ftp://quany:123456@www.quany.info/xxx.zip<br />
http下载<br />
wget &#8211;http-user=quany &#8211;http-passwd=123456 http://www.quany.info/xxx.zip</p>
<p>9、wget参数：</p>
<p>wget的参数较多，但大部分应用只需要如下几个常用的参数：<br />
-r 递归；对于HTTP主机，wget首先下载URL指定的文件，然后（如果该文件是一个HTML文档的话）递归下载该文件所引用（超级连接）的所有文件（递归深度由参数-l指定）。对FTP主机，该参数意味着要下载URL指定的目录中的所有文件，递归方法与HTTP主机类似。</p>
<p>-N 时间戳：该参数指定wget只下载更新的文件，也就是说，与本地目录中的对应文件的长度和最后修改日期一样的文件将不被下载。</p>
<p>-m 镜像：相当于同时使用-r和-N参数。</p>
<p>-l 设置递归级数；默认为5。-l1相当于不递归；-l0为无穷递归；注意，当递归深度增加时，文件数量将呈指数级增长。</p>
<p>-t 设置重试次数。当连接中断（或超时）时，wget将试图重新连接。如果指定-t0，则重试次数设为无穷多。</p>
<p>-c 指定断点续传功能。实际上，wget默认具有断点续传功能，只有当你使用别的ftp工具下载了某一文件的一部分，并希望wget接着完成此工作的时候，才需要指定此参数。</p>
<p>使用举例：<br />
wget -m -l4 -t0 http://www.quany.info/<br />
将在本地硬盘建立http://www.quany.info/的镜像，镜像文件存入当前目录下一个名为www.quany.info的子目录中（你也可以使用-nH参数指定不建立该子目录，而直接在当前目录下建立镜像的目录结构），递归深度为4，重试次数为无穷（若连接出现问题，wget将坚韧不拔地永远重试下去，知道任务完成！）</p>
<p>另外一些使用频率稍低的参数如下：<br />
-A acclist / -R rejlist：<br />
这两个参数用于指定wget接受或排除的文件扩展名，多个名称之间用逗号隔开。例如，假设我们不想下载MPEG视频影像文件和.AU声音文件，可使用如下参数：<br />
-R mpg,mpeg,au</p>
<p>其它参数还有：<br />
-L 只扩展相对连接，该参数对于抓取指定站点很有用，可以避免向宿主主机的其他目录扩散。例如，某个人网站地址为：http://www.quany.info/~ppfl/，使用如下命令行：<br />
wget -L http://www.quany.info/~ppfl/<br />
则只提取该个人网站，而不涉及主机www.quany.info上的其他目录。</p>
<p>-k 转换连接：HTML文件存盘时，将其中的非相对连接转换成为相对连接。</p>
<p>-X 在下载FTP主机上的文件时，排除若干指定的目录</p>
<p>另外，下面参数用于设置wget的工作界面：<br />
-v 设置wget输出详细的工作信息。<br />
-q 设置wget不输出任何信息。</p>
<p>原文：<a href="http://hi.baidu.com/leejun_2005/blog/item/873f9aedfe83943b63d09feb.html">http://hi.baidu.com/leejun_2005/blog/item/873f9aedfe83943b63d09feb.html</a></p>
<p>参考: <a href="http://bolg.malu.me/html/2011/1239.html" target="_blank">http://bolg.malu.me/html/2011/1239.html</a><br />
<a href="http://fanqiang.chinaunix.net/a6/b9/20020514/060201225.html" target="_blank"> http://fanqiang.chinaunix.net/a6/b9/20020514/060201225.html</a></p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/03/19 -- <a href="http://www.quany.info/web-design/how-to-avoid-ftp-information-request-while-wordpress-update.html" title="更新WordPress时需要输入FTP信息的解决办法">更新WordPress时需要输入FTP信息的解决办法</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-autobackup-ftp.html" title="Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本">Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本</a></li><li>2011/02/08 -- <a href="http://www.quany.info/web-design/website-remote-ftp-backup-with-ssh.html" title="SSH给网站作异地FTP备份">SSH给网站作异地FTP备份</a></li><li>2007/11/06 -- <a href="http://www.quany.info/internet-resources/national-university-ftp-list.html" title="全国大学FTP站列表">全国大学FTP站列表</a></li></ul>
	标签：<a href="http://www.quany.info/tag/curl" title="cURL" rel="tag">cURL</a>, <a href="http://www.quany.info/tag/ftp" title="FTP" rel="tag">FTP</a>, <a href="http://www.quany.info/tag/wget" title="Wget" rel="tag">Wget</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/softwares/ftp-with-curl-wget.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更新WordPress时需要输入FTP信息的解决办法</title>
		<link>http://www.quany.info/web-design/how-to-avoid-ftp-information-request-while-wordpress-update.html</link>
		<comments>http://www.quany.info/web-design/how-to-avoid-ftp-information-request-while-wordpress-update.html#comments</comments>
		<pubDate>Mon, 19 Mar 2012 07:40:48 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[网站|Web]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1599</guid>
		<description><![CDATA[1、vps上的解决办法： chmod -R 755 /home/wwwroot chown -R www /home/wwwroot 假设你的wordpress安装目录为/home/wwwroot/wordpress 执行： chown -R www /home/wwwroot/wordpress 执行上面的命令就可以将/home/wwwroot/wordpress下所有文件的属主改为www，这样就可以解决自动更新必须填FTP的问题。 [...]]]></description>
			<content:encoded><![CDATA[<p>1、vps上的解决办法：<br />
<code>chmod -R 755 /home/wwwroot<br />
chown -R www /home/wwwroot</code></p>
<p>假设你的wordpress安装目录为/home/wwwroot/<a href="http://www.quany.info/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">wordpress</a><br />
执行：<br />
<code>chown -R www /home/wwwroot/wordpress</code></p>
<p>执行上面的命令就可以将/home/wwwroot/wordpress下所有文件的属主改为www，这样就可以解决自动更新必须填FTP的问题。</p>
<p>2、虚拟主机：</p>
<p>解决之道1：</p>
<p>在wp-config.php里加入下面代码:<br />
<code>define(“<a href="http://www.quany.info/tag/ftp" class="st_tag internal_tag" rel="tag" title="Posts tagged with FTP">FTP</a>_HOST”, “你主机的IP地址”);<br />
define(“FTP_USER”, “FTP用户名”);<br />
define(“FTP_PASS”, “FTP密码”);</code></p>
<p>解决之道2：<br />
可以在wp-config.php里加入下面代码:<br />
<code>define(“FS_METHOD”, “direct”);<br />
define(“FS_CHMOD_DIR”, 0777);<br />
define(“FS_CHMOD_FILE”, 0777);</code></p>
<p>原文: <a href="http://vincent.coowii.com/index.php/upgrade-wordpress-without-input-ftp-info/">http://vincent.coowii.com/index.php/upgrade-wordpress-without-input-ftp-info/</a></p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/03/21 -- <a href="http://www.quany.info/softwares/ftp-with-curl-wget.html" title="使用curl / wget命令上传下载FTP">使用curl / wget命令上传下载FTP</a></li><li>2012/03/19 -- <a href="http://www.quany.info/web-design/quickly-change-wordpress-site-domain.html" title="WordPress快速换域名">WordPress快速换域名</a></li><li>2012/02/21 -- <a href="http://www.quany.info/web-design/bulk-clean-up-the-wordpress-mysql-database-fields.html" title="批量清理WordPress的MySQL数据库字段">批量清理WordPress的MySQL数据库字段</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/wordpress-force-ssl-logins.html" title="Wordpress Force SSL Logins">Wordpress Force SSL Logins</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-autobackup-ftp.html" title="Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本">Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本</a></li><li>2011/10/24 -- <a href="http://www.quany.info/web-design/sorry-but-you-don-t-have-the-administrative-privileges-needed-to-do-this.html" title="解决&#8221;Sorry, but you don’t have the administrative privileges needed to do this.&#8221;的方法">解决&#8221;Sorry, but you don’t have the administrative privileges needed to do this.&#8221;的方法</a></li><li>2011/02/08 -- <a href="http://www.quany.info/web-design/website-remote-ftp-backup-with-ssh.html" title="SSH给网站作异地FTP备份">SSH给网站作异地FTP备份</a></li><li>2009/12/12 -- <a href="http://www.quany.info/web-design/wordpress-multi-domain-binding.html" title="单个WordPress多域名绑定">单个WordPress多域名绑定</a></li><li>2009/08/06 -- <a href="http://www.quany.info/web-design/wordpress-chinese-labels-and-category-perfect-solution-under-win-iis-host.html" title="WIN+IIS主机下WordPress中文标签与分类的完美解决方法">WIN+IIS主机下WordPress中文标签与分类的完美解决方法</a></li><li>2009/07/12 -- <a href="http://www.quany.info/web-design/wordpress-domain-replace-sql-and-achievement-of-301-jump.html" title="WordPress 更换域名使用到的SQL语句及实现301跳转">WordPress 更换域名使用到的SQL语句及实现301跳转</a></li></ul>
	标签：<a href="http://www.quany.info/tag/ftp" title="FTP" rel="tag">FTP</a>, <a href="http://www.quany.info/tag/wordpress" title="Wordpress" rel="tag">Wordpress</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/web-design/how-to-avoid-ftp-information-request-while-wordpress-update.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress快速换域名</title>
		<link>http://www.quany.info/web-design/quickly-change-wordpress-site-domain.html</link>
		<comments>http://www.quany.info/web-design/quickly-change-wordpress-site-domain.html#comments</comments>
		<pubDate>Mon, 19 Mar 2012 07:21:07 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[网站|Web]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1594</guid>
		<description><![CDATA[记得之前该域名直接改数据库就好了，可是这次却不生效。，然后找到了更简单的方法： 先把所有东西转到新的域名下 修改wp-config.php 在wp-config.php中，添加下面一行内容： define( ‘RELOCATE’, true ); 登录新域名下的后台地址，WP将自动更新安装地址（SITEURL），手动修改博客地址（HOME）地址即可，成功后一定记得删除上面添加的内容。 原文: http://vincent.coowii.com/index.php/change-domain-name-of-wordpress/ 相关阅读2009/12/12 -- 单个WordPress多域名绑定2009/07/12 -- WordPress 更换域名使用到的SQL语句及实现301跳转2012/03/19 [...]]]></description>
			<content:encoded><![CDATA[<p>记得之前该域名直接改数据库就好了，可是这次却不生效。，然后找到了更简单的方法：</p>
<ul>
<li>先把所有东西转到新的域名下</li>
<li>修改wp-config.<a href="http://www.quany.info/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">php</a></li>
</ul>
<p>在wp-config.php中，添加下面一行内容：<br />
<code>define( ‘RELOCATE’, true );</code></p>
<ul>
<li>登录新域名下的后台地址，WP将自动更新安装地址（SITEURL），手动修改博客地址（HOME）地址即可，<span style="color: #ff0000;">成功后一定记得删除上面添加的内容。</span></li>
</ul>
<p>原文: <a href="http://vincent.coowii.com/index.php/change-domain-name-of-wordpress/">http://vincent.coowii.com/index.php/change-domain-name-of-wordpress/</a></p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2009/12/12 -- <a href="http://www.quany.info/web-design/wordpress-multi-domain-binding.html" title="单个WordPress多域名绑定">单个WordPress多域名绑定</a></li><li>2009/07/12 -- <a href="http://www.quany.info/web-design/wordpress-domain-replace-sql-and-achievement-of-301-jump.html" title="WordPress 更换域名使用到的SQL语句及实现301跳转">WordPress 更换域名使用到的SQL语句及实现301跳转</a></li><li>2012/03/19 -- <a href="http://www.quany.info/web-design/how-to-avoid-ftp-information-request-while-wordpress-update.html" title="更新WordPress时需要输入FTP信息的解决办法">更新WordPress时需要输入FTP信息的解决办法</a></li><li>2012/02/21 -- <a href="http://www.quany.info/web-design/bulk-clean-up-the-wordpress-mysql-database-fields.html" title="批量清理WordPress的MySQL数据库字段">批量清理WordPress的MySQL数据库字段</a></li><li>2011/11/28 -- <a href="http://www.quany.info/web-design/cloudflare-nameserver-list.html" title="CloudFlare的NS服务器地址">CloudFlare的NS服务器地址</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/wordpress-force-ssl-logins.html" title="Wordpress Force SSL Logins">Wordpress Force SSL Logins</a></li><li>2011/10/24 -- <a href="http://www.quany.info/web-design/sorry-but-you-don-t-have-the-administrative-privileges-needed-to-do-this.html" title="解决&#8221;Sorry, but you don’t have the administrative privileges needed to do this.&#8221;的方法">解决&#8221;Sorry, but you don’t have the administrative privileges needed to do this.&#8221;的方法</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/dreamhostapps-dns.html" title="DreamHostapps域名绑定解析">DreamHostapps域名绑定解析</a></li><li>2011/01/18 -- <a href="http://www.quany.info/web-design/google-storage-for-developers-domain-binding.html" title="Google Storage for Developers绑米">Google Storage for Developers绑米</a></li><li>2009/09/16 -- <a href="http://www.quany.info/web-design/htaccess-and-subdirectory-of-domain-binding.html" title="利用.htaccess绑定域名到子目录">利用.htaccess绑定域名到子目录</a></li></ul>
	标签：<a href="http://www.quany.info/tag/wordpress" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://www.quany.info/tag/%e5%9f%9f%e5%90%8d" title="域名" rel="tag">域名</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/web-design/quickly-change-wordpress-site-domain.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS上安装Dropbox</title>
		<link>http://www.quany.info/softwares/install-dropbox-on-vps.html</link>
		<comments>http://www.quany.info/softwares/install-dropbox-on-vps.html#comments</comments>
		<pubDate>Sat, 17 Mar 2012 18:17:05 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[软件|Software]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1586</guid>
		<description><![CDATA[下载、安装命令CLI命令行版Dropbox： cd ~ &#038;&#038; wget -O - http://www.dropbox.com/download?plat=lnx.x86_64 &#124; tar xzf - ~/.dropbox-dist/dropboxd 下载并安装Dropbox守护进程 https://www.dropbox.com/download?dl=packages/dropbox.py Dropbox守护进程管理命令： [...]]]></description>
			<content:encoded><![CDATA[<p>下载、安装命令CLI命令行版Dropbox：<br />
<code>cd ~ &#038;&#038; <a href="http://www.quany.info/tag/wget" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wget">wget</a> -O - http://www.<a href="http://www.quany.info/tag/dropbox" class="st_tag internal_tag" rel="tag" title="Posts tagged with Dropbox">dropbox</a>.com/download?plat=lnx.x86_64 | tar xzf -<br />
~/.dropbox-dist/dropboxd</code></p>
<p>下载并安装Dropbox守护进程<br />
<code>https://www.dropbox.com/download?dl=packages/dropbox.py</code></p>
<p>Dropbox守护进程管理命令：<br />
<code><a href="http://www.quany.info/tag/python" class="st_tag internal_tag" rel="tag" title="Posts tagged with Python">python</a> dropbox.py start #启动dropbox<br />
python dropbox.py stop #停止dropbox<br />
python dropbox.py status #显示dropbox运行状态(上传/下载/Idle)</code></p>
<p>同步网站目录：<br />
<code>$ cd ~/Dropbox<br />
$ ln -s /home/wwwroot/site1/ ~/Dropbox/site1</code></p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/03/18 -- <a href="http://www.quany.info/softwares/install-7zip-p7zip-on-ubuntu.html" title="Ubuntu上安装7zip">Ubuntu上安装7zip</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/vps-auto-bakup-with-gmail.html" title="Linux VPS上自动备份文件并发送到Gmail">Linux VPS上自动备份文件并发送到Gmail</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-autobackup-ftp.html" title="Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本">Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-vps-ssh-commands.html" title="Linux VPS下SSH常用命令">Linux VPS下SSH常用命令</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-ssh-authorized-keys-login.html" title="SSH密钥登录让Linux VPS/服务器更安全">SSH密钥登录让Linux VPS/服务器更安全</a></li><li>2011/11/03 -- <a href="http://www.quany.info/softwares/vi.html" title="Linux上vi(vim)编辑器使用教程">Linux上vi(vim)编辑器使用教程</a></li><li>2011/10/02 -- <a href="http://www.quany.info/softwares/auto-update-password-vpn-on-vps.html" title="VPS架设自动更新密码的VPN教程">VPS架设自动更新密码的VPN教程</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/change-vps-host-namesystem-time-n-command-prompt.html" title="Linux VPS 如何更改主机名，系统时间和命令提示符">Linux VPS 如何更改主机名，系统时间和命令提示符</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/prohibit-blank-host-on-nginx-server-vps.html" title="Nginx下防止绑定域名到VPS空主机头">Nginx下防止绑定域名到VPS空主机头</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/vps-low-level-ssh-with-nologin-shell.html" title="VPS开设最低权限的SSH帐号">VPS开设最低权限的SSH帐号</a></li></ul>
	标签：<a href="http://www.quany.info/tag/dropbox" title="Dropbox" rel="tag">Dropbox</a>, <a href="http://www.quany.info/tag/linux" title="Linux" rel="tag">Linux</a>, <a href="http://www.quany.info/tag/vps" title="VPS" rel="tag">VPS</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/softwares/install-dropbox-on-vps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu上安装7zip</title>
		<link>http://www.quany.info/softwares/install-7zip-p7zip-on-ubuntu.html</link>
		<comments>http://www.quany.info/softwares/install-7zip-p7zip-on-ubuntu.html#comments</comments>
		<pubDate>Sat, 17 Mar 2012 18:07:13 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[软件|Software]]></category>
		<category><![CDATA[7zip]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[p7zip]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1581</guid>
		<description><![CDATA[su wget http://ftp.us.debian.org/debian/pool/main/p/p7zip/p7zip-full_9.20.1~dfsg.1-4_amd64.deb dpkg -i p7zip-full_9.20.1~dfsg.1-4_amd64.deb or apt-get install p7zip-full 解压命令： 7z x quany.7z 相关阅读2012/03/18 -- [...]]]></description>
			<content:encoded><![CDATA[<p><code>su<br />
<a href="http://www.quany.info/tag/wget" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wget">wget</a> http://<a href="http://www.quany.info/tag/ftp" class="st_tag internal_tag" rel="tag" title="Posts tagged with FTP">ftp</a>.us.debian.org/debian/pool/main/p/<a href="http://www.quany.info/tag/p7zip" class="st_tag internal_tag" rel="tag" title="Posts tagged with p7zip">p7zip</a>/p7zip-full_9.20.1~dfsg.1-4_amd64.deb<br />
dpkg -i p7zip-full_9.20.1~dfsg.1-4_amd64.deb</code></p>
<p>or<br />
<code>apt-get install p7zip-full</code></p>
<p>解压命令： 7z x quany.7z</p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/03/18 -- <a href="http://www.quany.info/softwares/install-dropbox-on-vps.html" title="VPS上安装Dropbox">VPS上安装Dropbox</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/vps-auto-bakup-with-gmail.html" title="Linux VPS上自动备份文件并发送到Gmail">Linux VPS上自动备份文件并发送到Gmail</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-autobackup-ftp.html" title="Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本">Linux VPS/服务器 网站及数据库自动本地备份并FTP上传备份脚本</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-vps-ssh-commands.html" title="Linux VPS下SSH常用命令">Linux VPS下SSH常用命令</a></li><li>2011/11/03 -- <a href="http://www.quany.info/web-design/linux-ssh-authorized-keys-login.html" title="SSH密钥登录让Linux VPS/服务器更安全">SSH密钥登录让Linux VPS/服务器更安全</a></li><li>2011/11/03 -- <a href="http://www.quany.info/softwares/vi.html" title="Linux上vi(vim)编辑器使用教程">Linux上vi(vim)编辑器使用教程</a></li><li>2011/10/02 -- <a href="http://www.quany.info/softwares/auto-update-password-vpn-on-vps.html" title="VPS架设自动更新密码的VPN教程">VPS架设自动更新密码的VPN教程</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/change-vps-host-namesystem-time-n-command-prompt.html" title="Linux VPS 如何更改主机名，系统时间和命令提示符">Linux VPS 如何更改主机名，系统时间和命令提示符</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/prohibit-blank-host-on-nginx-server-vps.html" title="Nginx下防止绑定域名到VPS空主机头">Nginx下防止绑定域名到VPS空主机头</a></li><li>2011/09/29 -- <a href="http://www.quany.info/web-design/vps-low-level-ssh-with-nologin-shell.html" title="VPS开设最低权限的SSH帐号">VPS开设最低权限的SSH帐号</a></li></ul>
	标签：<a href="http://www.quany.info/tag/7zip" title="7zip" rel="tag">7zip</a>, <a href="http://www.quany.info/tag/linux" title="Linux" rel="tag">Linux</a>, <a href="http://www.quany.info/tag/p7zip" title="p7zip" rel="tag">p7zip</a>, <a href="http://www.quany.info/tag/ubuntu" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://www.quany.info/tag/vps" title="VPS" rel="tag">VPS</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/softwares/install-7zip-p7zip-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>精简MySQL</title>
		<link>http://www.quany.info/softwares/streamline-mysql-community-server.html</link>
		<comments>http://www.quany.info/softwares/streamline-mysql-community-server.html#comments</comments>
		<pubDate>Wed, 22 Feb 2012 07:37:52 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[软件|Software]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1564</guid>
		<description><![CDATA[1.删除所有的目录，只保留 data share bin 2.删除BIN下面除以下三个文件之外的所有文件： libmysql.dll(MYSQL5中的文件，在MYSQL5.5中不存在) mysqladmin.exe mysqld.exe 3.如果要用客户端，请保留mysql.exe 4.删除Share目录下除以下目录外的所有目录 charsets english 5.删除Data目录下的除mysql之外的所有文件和目录 相关阅读2012/02/21 -- Openshift平台PHP实例2012/02/21 [...]]]></description>
			<content:encoded><![CDATA[<p>1.删除所有的目录，只保留<br />
data<br />
share<br />
bin</p>
<p>2.删除BIN下面除以下三个文件之外的所有文件：<br />
libmysql.dll(<a href="http://www.quany.info/tag/mysql" class="st_tag internal_tag" rel="tag" title="Posts tagged with MYSQL">MYSQL</a>5中的文件，在MYSQL5.5中不存在)<br />
mysqladmin.exe<br />
mysqld.exe</p>
<p>3.如果要用客户端，请保留mysql.exe</p>
<p>4.删除Share目录下除以下目录外的所有目录<br />
charsets<br />
english</p>
<p>5.删除Data目录下的除mysql之外的所有文件和目录</p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/02/21 -- <a href="http://www.quany.info/softwares/openshift-platform-php-example.html" title="Openshift平台PHP实例">Openshift平台PHP实例</a></li><li>2012/02/21 -- <a href="http://www.quany.info/softwares/cygwin-openshift.html" title="cygwin下使用Openshift">cygwin下使用Openshift</a></li><li>2012/02/21 -- <a href="http://www.quany.info/web-design/bulk-clean-up-the-wordpress-mysql-database-fields.html" title="批量清理WordPress的MySQL数据库字段">批量清理WordPress的MySQL数据库字段</a></li><li>2011/11/01 -- <a href="http://www.quany.info/web-design/dotcloud.html" title="DotCloud学习笔记">DotCloud学习笔记</a></li><li>2011/10/27 -- <a href="http://www.quany.info/web-design/mysqldump.html" title="mysqldump详解">mysqldump详解</a></li><li>2010/10/11 -- <a href="http://www.quany.info/web-design/nginx-support-dot-htaccess.html" title="如果让nginx也支持.htaccess?">如果让nginx也支持.htaccess?</a></li></ul>
	标签：<a href="http://www.quany.info/tag/mysql" title="MYSQL" rel="tag">MYSQL</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/softwares/streamline-mysql-community-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openshift平台PHP实例</title>
		<link>http://www.quany.info/softwares/openshift-platform-php-example.html</link>
		<comments>http://www.quany.info/softwares/openshift-platform-php-example.html#comments</comments>
		<pubDate>Tue, 21 Feb 2012 10:35:09 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[软件|Software]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[Openshift]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1557</guid>
		<description><![CDATA[1、 把应用clone到本地 $ git clone ssh://99b3a77fb9204c6687618bcb92c0548c@app-domain.rhcloud.com/~/git/app.git/ 2、 把php文件夹下原来的东东删除，然后把PHP程序解压到 php 文件夹下 3、 创建mysql数据库 $ rhc-ctl-app -a -l [...]]]></description>
			<content:encoded><![CDATA[<p>1、 把应用clone到本地<br />
<code>$ git clone ssh://99b3a77fb9204c6687618bcb92c0548c@app-domain.rhcloud.com/~/git/app.git/</code></p>
<p>2、 把php文件夹下原来的东东删除，然后把PHP程序解压到 <a href="http://www.quany.info/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">php</a> 文件夹下</p>
<p>3、 创建mysql数据库<br />
<code>$ rhc-ctl-app -a <app name> -l <login email> -p
<password> -e add-<a href="http://www.quany.info/tag/mysql" class="st_tag internal_tag" rel="tag" title="Posts tagged with MYSQL">mysql</a>-5.1</password></login></app></code></p>
<p>4、创建phpmyadmin,cron,mongodb,postgresql<br />
<code>$ rhc-ctl-app -a <app name> -l <login email> -p
<password> -e add-phpmyadmin-3.4<br />
$ rhc-ctl-app -a <app name> -l <login email> -p
<password> -e add-cron-1.4<br />
$ rhc-ctl-app -a <app name> -l <login email> -p
<password> -e add-mongodb-2.0<br />
$ rhc-ctl-app -a <app name> -l <login email> -p
<password> -e add-postgresql-8.4</password></login></app></password></login></app></password></login></app></password></login></app></code></p>
<p>5、上传APP代码<br />
<code>$ git add -A<br />
$ git commit -m "add my site"<br />
$ git push</code></p>
<p>6、 备份<br />
<code>$ rhc-snapshot -l <login email> -s </login></code></p>
<p>7、 绑定自己的域名:<br />
<code>$ rhc-ctl-app -a <app name> -c add-alias --alias "www.quany.info"</app></code></p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/02/21 -- <a href="http://www.quany.info/softwares/cygwin-openshift.html" title="cygwin下使用Openshift">cygwin下使用Openshift</a></li><li>2012/02/21 -- <a href="http://www.quany.info/internet-resources/openshift-introduction.html" title="Openshift简介">Openshift简介</a></li><li>2011/11/01 -- <a href="http://www.quany.info/web-design/dotcloud.html" title="DotCloud学习笔记">DotCloud学习笔记</a></li><li>2010/10/11 -- <a href="http://www.quany.info/web-design/nginx-support-dot-htaccess.html" title="如果让nginx也支持.htaccess?">如果让nginx也支持.htaccess?</a></li><li>2007/11/29 -- <a href="http://www.quany.info/web-design/win2003-iis-php-installation.html" title="2003 IIS安装PHP">2003 IIS安装PHP</a></li><li>2012/02/22 -- <a href="http://www.quany.info/softwares/streamline-mysql-community-server.html" title="精简MySQL">精简MySQL</a></li><li>2012/02/21 -- <a href="http://www.quany.info/web-design/bulk-clean-up-the-wordpress-mysql-database-fields.html" title="批量清理WordPress的MySQL数据库字段">批量清理WordPress的MySQL数据库字段</a></li><li>2011/10/27 -- <a href="http://www.quany.info/web-design/mysqldump.html" title="mysqldump详解">mysqldump详解</a></li><li>2011/10/02 -- <a href="http://www.quany.info/softwares/windows-xp-l2tp-setting.html" title="配置Windows XP 作为L2TP">配置Windows XP 作为L2TP</a></li><li>2011/01/18 -- <a href="http://www.quany.info/web-design/issues-about-php-open_basedir.html" title="PHP open_basedir的一些问题">PHP open_basedir的一些问题</a></li></ul>
	标签：<a href="http://www.quany.info/tag/cygwin" title="cygwin" rel="tag">cygwin</a>, <a href="http://www.quany.info/tag/mysql" title="MYSQL" rel="tag">MYSQL</a>, <a href="http://www.quany.info/tag/openshift" title="Openshift" rel="tag">Openshift</a>, <a href="http://www.quany.info/tag/paas" title="PaaS" rel="tag">PaaS</a>, <a href="http://www.quany.info/tag/php" title="PHP" rel="tag">PHP</a>, <a href="http://www.quany.info/tag/windows" title="Windows" rel="tag">Windows</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/softwares/openshift-platform-php-example.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cygwin下使用Openshift</title>
		<link>http://www.quany.info/softwares/cygwin-openshift.html</link>
		<comments>http://www.quany.info/softwares/cygwin-openshift.html#comments</comments>
		<pubDate>Tue, 21 Feb 2012 10:32:01 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[软件|Software]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[Openshift]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1554</guid>
		<description><![CDATA[1、Windows下通过Cygwin 实现管理Openshift应用： 首先，安装以下Cygwin组件： openssh，ruby，make，gcc，git 2、下载并解压rubygems：http://rubyforge.org/projects/rubygems cygwin里进入rubygems的目录，运行: $ ruby setup.rb install 2、安装RHC客户端 $ gem install rhc 客户端命令行及使用方法： [...]]]></description>
			<content:encoded><![CDATA[<p>1、Windows下通过Cygwin 实现管理Openshift应用：<br />
首先，安装以下Cygwin组件：<br />
openssh，<a href="http://www.quany.info/tag/ruby" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ruby">ruby</a>，make，gcc，git</p>
<p>2、下载并解压rubygems：http://rubyforge.org/projects/rubygems<br />
cygwin里进入rubygems的目录，运行:<br />
<code>$ ruby setup.rb install</code></p>
<p>2、安装RHC客户端<br />
<code>$ gem install rhc</code></p>
<p>客户端命令行及使用方法：<br />
rhc-chk ： 检测本地环境配置<br />
rhc-user-info ：显示用户信息<br />
rhc-create-domain ：创建个人域<br />
rhc-create-app ： 创建应用<br />
rhc-ctl-app ： 应用控制，可以开始、停止、重起应用。还可以添加mysql数据库等<br />
rhc-snapshot ： 应用备份<br />
rhc-tail-files ： 查看应用日志</p>
<p>创建域：<br />
<code>rhc-create-domain -n tedeum -l -p </code><br />
创建应用：<br />
<code>rhc-create-app -a drupal -t <a href="http://www.quany.info/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">php</a>-5.3 -l -p </code><br />
查询用户信息：<br />
<code>rhc-user-info -l -p </code><br />
查询应用状态：<br />
<code>rhc-ctl-app -a drupal -l -p -c status</code><br />
删除应用：<br />
<code>rhc-ctl-app -a drupal -l -p -c destroy</code><br />
启动应用：<br />
<code>rhc-ctl-app -a drupal -l -p -c start</code><br />
停止应用：<br />
<code>rhc-ctl-app -a drupal -l -p -c</code></p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/02/21 -- <a href="http://www.quany.info/softwares/openshift-platform-php-example.html" title="Openshift平台PHP实例">Openshift平台PHP实例</a></li><li>2012/02/21 -- <a href="http://www.quany.info/internet-resources/openshift-introduction.html" title="Openshift简介">Openshift简介</a></li><li>2011/11/01 -- <a href="http://www.quany.info/web-design/dotcloud.html" title="DotCloud学习笔记">DotCloud学习笔记</a></li><li>2010/10/11 -- <a href="http://www.quany.info/web-design/nginx-support-dot-htaccess.html" title="如果让nginx也支持.htaccess?">如果让nginx也支持.htaccess?</a></li><li>2007/11/29 -- <a href="http://www.quany.info/web-design/win2003-iis-php-installation.html" title="2003 IIS安装PHP">2003 IIS安装PHP</a></li><li>2012/02/22 -- <a href="http://www.quany.info/softwares/streamline-mysql-community-server.html" title="精简MySQL">精简MySQL</a></li><li>2012/02/21 -- <a href="http://www.quany.info/web-design/bulk-clean-up-the-wordpress-mysql-database-fields.html" title="批量清理WordPress的MySQL数据库字段">批量清理WordPress的MySQL数据库字段</a></li><li>2011/10/27 -- <a href="http://www.quany.info/web-design/mysqldump.html" title="mysqldump详解">mysqldump详解</a></li><li>2011/10/02 -- <a href="http://www.quany.info/softwares/windows-xp-l2tp-setting.html" title="配置Windows XP 作为L2TP">配置Windows XP 作为L2TP</a></li><li>2011/01/18 -- <a href="http://www.quany.info/web-design/issues-about-php-open_basedir.html" title="PHP open_basedir的一些问题">PHP open_basedir的一些问题</a></li></ul>
	标签：<a href="http://www.quany.info/tag/cygwin" title="cygwin" rel="tag">cygwin</a>, <a href="http://www.quany.info/tag/mysql" title="MYSQL" rel="tag">MYSQL</a>, <a href="http://www.quany.info/tag/openshift" title="Openshift" rel="tag">Openshift</a>, <a href="http://www.quany.info/tag/paas" title="PaaS" rel="tag">PaaS</a>, <a href="http://www.quany.info/tag/php" title="PHP" rel="tag">PHP</a>, <a href="http://www.quany.info/tag/ruby" title="Ruby" rel="tag">Ruby</a>, <a href="http://www.quany.info/tag/windows" title="Windows" rel="tag">Windows</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/softwares/cygwin-openshift.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openshift简介</title>
		<link>http://www.quany.info/internet-resources/openshift-introduction.html</link>
		<comments>http://www.quany.info/internet-resources/openshift-introduction.html#comments</comments>
		<pubDate>Tue, 21 Feb 2012 10:23:47 +0000</pubDate>
		<dc:creator>Quany</dc:creator>
				<category><![CDATA[网络|Internet]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Openshift]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.quany.info/?p=1544</guid>
		<description><![CDATA[Openshift 支持用于Java、Python、PHP、Perl和Ruby的更多的开发框架，包括 Spring、Seam、Weld、CDI、Rails、Rack、Symfony、Zend Framework、Twisted、Django和Java E。它包含SQL和NoSQL数据存储和一个分布式文件系统。 OpenShift Express 目前可为每个应用提供256M存放空间，300M内存，以及100M缓存（swap space）以防突发流量。每个人可以创建一个域，5个应用。每个应用不限制使用什么语言，但一个应用只能使用一种语言，这个在生成APP的时候会选择。 最后生成的域名是 -.rhcloud.com 。 例如，你的domain 为 redhat，app 名称为 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.quany.info/tag/openshift" class="st_tag internal_tag" rel="tag" title="Posts tagged with Openshift">Openshift</a> 支持用于Java、<a href="http://www.quany.info/tag/python" class="st_tag internal_tag" rel="tag" title="Posts tagged with Python">Python</a>、<a href="http://www.quany.info/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">PHP</a>、Perl和Ruby的更多的开发框架，包括 Spring、Seam、Weld、CDI、Rails、Rack、Symfony、Zend Framework、Twisted、Django和Java E。它包含SQL和NoSQL数据存储和一个分布式文件系统。<br />
OpenShift Express 目前可为每个应用提供256M存放空间，300M内存，以及100M缓存（swap space）以防突发流量。每个人可以创建一个域，5个应用。每个应用不限制使用什么语言，但一个应用只能使用一种语言，这个在生成APP的时候会选择。 最后生成的域名是 -.rhcloud.com 。 例如，你的domain 为 redhat，app 名称为 openshift ， 则最后的域名就是 openshift-redhat.rhcloud.com<br />
OpenShift 目前使用 GIT 来管理代码，要更改代码（添加 commit）只能在本地实现，在服务器端生成的数据无法保存，所以openshift有一个专门的文件夹（data）来存放服务端生成以及你不想更改的数据。 所以服务器端的目录结构是这样的</p>
<p>PHP<br />
|&#8211; Application Name<br />
| |&#8211; conf<br />
| | |&#8211; magic -&gt; /etc/httpd/conf/magic<br />
| | `&#8211; php.ini<br />
| |&#8211; conf.d<br />
| |&#8211; data /** 这里存放数据库以及其他server端生成的数据<br />
| |&#8211; logs<br />
| | |&#8211; access_log<br />
| | `&#8211; error_log<br />
| |&#8211; modules -&gt; /usr/lib64/httpd/modules<br />
| |&#8211; repo /** 这里存放的才是你的代码<br />
| | |&#8211; data<br />
| | | `&#8211; README<br />
| | |&#8211; libs<br />
| | | `&#8211; README<br />
| | |&#8211; php<br />
| | | |&#8211; health_check.php<br />
| | | `&#8211; index.php<br />
| | `&#8211; README<br />
| |&#8211; run<br />
| |&#8211; sessions<br />
| `&#8211; tmp</p>
<p>注册：</p>
<p>1、登陆Openshift 官方网站 （https://openshift.redhat.com/app ）注册,可在网站新建app, 并得到以下信息：<br />
APP二级域名： http://app-domain.rhcloud.com/<br />
App Repository: ssh://99b3a77fb9204c6687618bcb92c0548c@app-domain.rhcloud.com/~/git/app.git/<br />
同时，上传SSH的公钥。</p>
<h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2012/02/21 -- <a href="http://www.quany.info/softwares/cygwin-openshift.html" title="cygwin下使用Openshift">cygwin下使用Openshift</a></li><li>2012/02/21 -- <a href="http://www.quany.info/softwares/openshift-platform-php-example.html" title="Openshift平台PHP实例">Openshift平台PHP实例</a></li><li>2011/11/01 -- <a href="http://www.quany.info/web-design/dotcloud.html" title="DotCloud学习笔记">DotCloud学习笔记</a></li><li>2011/01/18 -- <a href="http://www.quany.info/web-design/issues-about-php-open_basedir.html" title="PHP open_basedir的一些问题">PHP open_basedir的一些问题</a></li><li>2010/10/11 -- <a href="http://www.quany.info/web-design/nginx-support-dot-htaccess.html" title="如果让nginx也支持.htaccess?">如果让nginx也支持.htaccess?</a></li><li>2008/08/05 -- <a href="http://www.quany.info/web-design/php-test-environment-softwares.html" title="常用的PHP本地测试环境构建软件">常用的PHP本地测试环境构建软件</a></li><li>2007/11/29 -- <a href="http://www.quany.info/web-design/iis-php-environment-err.html" title="从权限入手解决IIS+PHP环境故障(图)">从权限入手解决IIS+PHP环境故障(图)</a></li><li>2007/11/29 -- <a href="http://www.quany.info/web-design/win2003-iis-php-installation.html" title="2003 IIS安装PHP">2003 IIS安装PHP</a></li></ul>
	标签：<a href="http://www.quany.info/tag/java" title="Java" rel="tag">Java</a>, <a href="http://www.quany.info/tag/openshift" title="Openshift" rel="tag">Openshift</a>, <a href="http://www.quany.info/tag/paas" title="PaaS" rel="tag">PaaS</a>, <a href="http://www.quany.info/tag/perl" title="Perl" rel="tag">Perl</a>, <a href="http://www.quany.info/tag/php" title="PHP" rel="tag">PHP</a>, <a href="http://www.quany.info/tag/python" title="Python" rel="tag">Python</a>, <a href="http://www.quany.info/tag/ruby" title="Ruby" rel="tag">Ruby</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.quany.info/internet-resources/openshift-introduction.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

