<?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>外贸乐 &#187; linux</title>
	<atom:link href="http://www.waimaole.com/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.waimaole.com</link>
	<description>外贸技术支持博客</description>
	<lastBuildDate>Fri, 16 Jul 2010 11:50:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>如何实现Zen Cart文件同步、实时备份网站文件？</title>
		<link>http://www.waimaole.com/zen-cart-real-time-backup.html</link>
		<comments>http://www.waimaole.com/zen-cart-real-time-backup.html#comments</comments>
		<pubDate>Sun, 28 Mar 2010 15:37:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[zencart]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[同步]]></category>
		<category><![CDATA[实时备份]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=502</guid>
		<description><![CDATA[通过实现两台服务器间的Zen Cart网站文件的同步，可以远程即时备份网站的所有文件。这样如果主 机出现故障，或者主机帐号被封，都能迅速切换Zen Cart网店到新的服务器上。(关于数据库实时备份，见贴子：如何实现 Zen Cart 数据库镜像 / 实时备份MySQL数据库 ) 在Linux上，远程文件同步通过 rsync 实现，目前多数Linux上都已经安装了rsync。由于rsync仅复制修改过的文件，因此能最大限度的减少需要同步的文件。 由于rsync同步时，每次都需要用户输入远程服务器的密码，因此如果希望通过脚本定时同步Zen Cart网店文件的话，需要使用证书登录。下面是生成证书的步骤： 首先在需要执行 rsync 命令的A主机上，生成 RSA 密钥： $ ssh-keygen -t rsa 提示输入 passphrase时，直接按两次回车健使用默认值。生成的两个密钥：公密钥、私密钥都保存在 ~/.ssh/，其中 ~/.ssh/id_rsa.pub 是公密钥。 将公密钥 id_rsa.pub 文件通过FTP或SCP拷贝到远程B主机上。 在远程B主机上，以执行 rsync 时的用户名登录，复制 id_rsa.pub 的内容到 ~/.ssh/authorized_keys： $ cat id_rsa.pub &#62;&#62;~/.ssh/authorized_keys $ chmod 700 ~/.ssh/authorized_keys 现在从A主机通过rsync或者SSH到B主机传递文件，就不会再提问密码了。 接着就可以使用 rsync 来同步A主机和B主机的文件夹。在A主机上执行命令： $ rsync -vaz root@123.123.123.88:/var/www/public_html/ /home/jack/zencart/ [...]]]></description>
		<wfw:commentRss>http://www.waimaole.com/zen-cart-real-time-backup.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>linux下批量替换目录下某文件的关键字命令</title>
		<link>http://www.waimaole.com/linux-replace.html</link>
		<comments>http://www.waimaole.com/linux-replace.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 20:43:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[关键字]]></category>
		<category><![CDATA[批量替换]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=346</guid>
		<description><![CDATA[linux下批量替换目录下某文件的关键字]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-replace.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下vim编辑器查找/替换命令</title>
		<link>http://www.waimaole.com/linux-vim-sg.html</link>
		<comments>http://www.waimaole.com/linux-vim-sg.html#comments</comments>
		<pubDate>Thu, 12 Nov 2009 19:28:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[替换]]></category>
		<category><![CDATA[查找]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=325</guid>
		<description><![CDATA[vim编辑器查找/替换命令]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-vim-sg.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下查找目录下某个文件的关键字命令</title>
		<link>http://www.waimaole.com/linux-grep-keywords.html</link>
		<comments>http://www.waimaole.com/linux-grep-keywords.html#comments</comments>
		<pubDate>Thu, 05 Nov 2009 19:00:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[关键字]]></category>
		<category><![CDATA[目录]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=244</guid>
		<description><![CDATA[linux下查找目录下某个文件的关键字命令]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-grep-keywords.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zen Cart网站由于php短符号出现问题的解决方法</title>
		<link>http://www.waimaole.com/zencart-php-short-tag.html</link>
		<comments>http://www.waimaole.com/zencart-php-short-tag.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 02:16:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zencart]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[短符号]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=183</guid>
		<description><![CDATA[php短符号]]></description>
		<wfw:commentRss>http://www.waimaole.com/zencart-php-short-tag.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下mv命令用法</title>
		<link>http://www.waimaole.com/linux-mv.html</link>
		<comments>http://www.waimaole.com/linux-mv.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 00:59:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[linux命令]]></category>
		<category><![CDATA[mv]]></category>
		<category><![CDATA[移动]]></category>
		<category><![CDATA[重命名]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=174</guid>
		<description><![CDATA[linux下mv命令用法]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-mv.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下创建类似windows下的快捷方式命令</title>
		<link>http://www.waimaole.com/linux-link.html</link>
		<comments>http://www.waimaole.com/linux-link.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 00:47:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[linux命令]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[快捷方式]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=171</guid>
		<description><![CDATA[linux下创建快捷方式]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-link.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下ftp打开,关闭,重启命令</title>
		<link>http://www.waimaole.com/linux-ftp.html</link>
		<comments>http://www.waimaole.com/linux-ftp.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 00:41:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftp命令]]></category>
		<category><![CDATA[linux命令]]></category>
		<category><![CDATA[关闭]]></category>
		<category><![CDATA[打开]]></category>
		<category><![CDATA[重启]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=169</guid>
		<description><![CDATA[linux下ftp打开,关闭,重启命令]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-ftp.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何使用服务器的SSH功能解压ZIP文件</title>
		<link>http://www.waimaole.com/linux-ssh-zip.html</link>
		<comments>http://www.waimaole.com/linux-ssh-zip.html#comments</comments>
		<pubDate>Fri, 23 Oct 2009 08:15:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[zip]]></category>
		<category><![CDATA[解压]]></category>

		<guid isPermaLink="false">http://www.waimaole.com/?p=118</guid>
		<description><![CDATA[使用服务器的SSH功能解压ZIP文件]]></description>
		<wfw:commentRss>http://www.waimaole.com/linux-ssh-zip.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
