<?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>Imdoc.Net &#187; 电脑网络</title>
	<atom:link href="http://imdoc.net/archives/category/computer-and-internet/feed" rel="self" type="application/rss+xml" />
	<link>http://imdoc.net</link>
	<description>Imdoc.Net</description>
	<lastBuildDate>Sun, 04 Dec 2011 18:26:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Dreamhost主机使用putty常用命令</title>
		<link>http://imdoc.net/archives/1586</link>
		<comments>http://imdoc.net/archives/1586#comments</comments>
		<pubDate>Sun, 16 Oct 2011 08:13:06 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[Linux学习]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[promo code]]></category>

		<guid isPermaLink="false">http://imdoc.net/?p=1586</guid>
		<description><![CDATA[<p>最近在使用<a href="http://www.dreamhost.com/r.cgi?1204102" target="_blank">dreamhost</a>主机中，为了方便一点，速度快一点，应用putty客户端进行解压等操作，总结了一些linux命令，记下来，供自己回头查阅方便：</p>
<p>1、linux清空文件夹命令<br />
在网上找了很多清空文件夹的命令，都不能用，网上很多人说是：rm -fr /目录名/*，我试了一下，不行。应该是：rm -rf 目录名/* 。——如果一个文件夹中的文件很多，需要清空时，应用ftp删除太慢了，用这个命令吧，非常快，1秒钟，但我建议你，rf命令慎用！<br />
2、退出putty命令：ctrl+d。<br />
3、解压缩：unzip unzip.zip。<br />
4、cd 文件夹，进入该文件夹；ls，列出该文件夹下的所有文件。<br />
5、netstat -ntlp查检一下启动了哪些服务，建议vps用户如果水平不高不要安装sendmail，这玩意关键是不好卸载，每次服务器重启都需要手动关闭。</p>
<p>另外，有一些<a href="http://www.dreamhost.com/r.cgi?1204102" target="_blank">dreamhost</a>主机的优惠码（Promo code）：<br />
1、FINEHOST60，使用此代码可以节省60美金，而且还有1个免费的独立ip；<br />
2、FINEHOST97，使用此代码可以直接节省97美金。<br />
<span id="more-1586"></span> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;2011-10-21&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
linux zip命令的基本用法是：zip [参数] [打包后的文件名] [打包的目录路径]<br />
linux zip命令参数列表：<br />
-a　　将文件转成ASCII模式<br />
-F　　尝试修复损坏的压缩文件<br />
-h　　显示帮助界面<br />
-m　　将文件压缩之后，删除源文件<br />
-n　　特定字符串，不压缩具有特定字尾字符串的文件<br />
-o　　将压缩文件内的所有文件的最新变动时间设为压缩时候的时间<br />
-q　　安静模式，在压缩的时候不显示指令的执行过程<br />
-r　　将指定的目录下的所有子目录以及文件一起处理<br />
-S　　包含系统文件和隐含文件（S是大写）<br />
-t　　日期，把压缩文件的最后修改日期设为指定的日期，日期格式为mm<br />
举例：<br />
将/home/Blinux/html/ 这个目录下所有文件和文件夹打包为当前目录下的html.zip<br />
zip –q –r html.zip /home/Blinux/html<br />
上面的命令操作是将绝对地址的文件及文件夹进行压缩.以下给出压缩相对路径目录<br />
比如目前在Bliux这个目录下，执行以下操作可以达到以上同样的效果。<br />
zip –q –r html.zip html<br />
比如现在我的html目录下，我操作的zip压缩命令是：<br />
zip –q –r html.zip *<br />
以上是在安静模式下进行的，而且包含系统文件和隐含文件。</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/347" title="Dreamhost主机购买详细流程及初步使用">Dreamhost主机购买详细流程及初步使用</a> (1)</li><li><a href="http://imdoc.net/archives/321" title="Dreamhost续费了">Dreamhost续费了</a> (2)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>最近在使用<a href="http://www.dreamhost.com/r.cgi?1204102" target="_blank">dreamhost</a>主机中，为了方便一点，速度快一点，应用putty客户端进行解压等操作，总结了一些linux命令，记下来，供自己回头查阅方便：</p>
<p>1、linux清空文件夹命令<br />
在网上找了很多清空文件夹的命令，都不能用，网上很多人说是：rm -fr /目录名/*，我试了一下，不行。应该是：rm -rf 目录名/* 。——如果一个文件夹中的文件很多，需要清空时，应用ftp删除太慢了，用这个命令吧，非常快，1秒钟，但我建议你，rf命令慎用！<br />
2、退出putty命令：ctrl+d。<br />
3、解压缩：unzip unzip.zip。<br />
4、cd 文件夹，进入该文件夹；ls，列出该文件夹下的所有文件。<br />
5、netstat -ntlp查检一下启动了哪些服务，建议vps用户如果水平不高不要安装sendmail，这玩意关键是不好卸载，每次服务器重启都需要手动关闭。</p>
<p>另外，有一些<a href="http://www.dreamhost.com/r.cgi?1204102" target="_blank">dreamhost</a>主机的优惠码（Promo code）：<br />
1、FINEHOST60，使用此代码可以节省60美金，而且还有1个免费的独立ip；<br />
2、FINEHOST97，使用此代码可以直接节省97美金。<br />
<span id="more-1586"></span> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;2011-10-21&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
linux zip命令的基本用法是：zip [参数] [打包后的文件名] [打包的目录路径]<br />
linux zip命令参数列表：<br />
-a　　将文件转成ASCII模式<br />
-F　　尝试修复损坏的压缩文件<br />
-h　　显示帮助界面<br />
-m　　将文件压缩之后，删除源文件<br />
-n　　特定字符串，不压缩具有特定字尾字符串的文件<br />
-o　　将压缩文件内的所有文件的最新变动时间设为压缩时候的时间<br />
-q　　安静模式，在压缩的时候不显示指令的执行过程<br />
-r　　将指定的目录下的所有子目录以及文件一起处理<br />
-S　　包含系统文件和隐含文件（S是大写）<br />
-t　　日期，把压缩文件的最后修改日期设为指定的日期，日期格式为mm<br />
举例：<br />
将/home/Blinux/html/ 这个目录下所有文件和文件夹打包为当前目录下的html.zip<br />
zip –q –r html.zip /home/Blinux/html<br />
上面的命令操作是将绝对地址的文件及文件夹进行压缩.以下给出压缩相对路径目录<br />
比如目前在Bliux这个目录下，执行以下操作可以达到以上同样的效果。<br />
zip –q –r html.zip html<br />
比如现在我的html目录下，我操作的zip压缩命令是：<br />
zip –q –r html.zip *<br />
以上是在安静模式下进行的，而且包含系统文件和隐含文件。</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/347" title="Dreamhost主机购买详细流程及初步使用">Dreamhost主机购买详细流程及初步使用</a> (1)</li><li><a href="http://imdoc.net/archives/321" title="Dreamhost续费了">Dreamhost续费了</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1586/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>foobar2000 V1.1无法播放ape文件</title>
		<link>http://imdoc.net/archives/1478</link>
		<comments>http://imdoc.net/archives/1478#comments</comments>
		<pubDate>Mon, 20 Sep 2010 17:14:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[硬件软件]]></category>
		<category><![CDATA[ape]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[foobar]]></category>
		<category><![CDATA[温度]]></category>
		<category><![CDATA[自动重启]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1478</guid>
		<description><![CDATA[<p>最近笔记本总是自动关机，特别是看在线视频，更甚者，放在那里不做任何操作，也会自动重启。按理说安装了卡巴安全部队，不应该是中毒啊，问题很蹊跷，还是咬咬牙重装了系统，但问题没有解决，还是继续自动重启，继续查，经everest，终于知道是cpu温度过高的缘故，最高飙到80度，可以煎鸡蛋了。上网搜索，原来笔记本用一段时间，1年左右，需要清理一下的，送到售后花80元，清理一下，嗯，好多了，像以前一样即使同时运行好几个大型软件，加上播放音乐等等，cpu最高也不会超过60度。——这个问题解决了。</p>
<p>但重新安装foobar后竟然不能播放ape、flac文件，这也太搞笑了，foobar不就是以播放无损音频著名嘛，再说我电脑里全是在淘宝上买的ape、falc格式的上百张专辑，几万首歌曲，都听不了啦。嗯，对，找我们最好的老师——google，他告诉我，缺少了一个插件，这个插件是foo_input_monkey.dll，去官方网站上下载，解压，把这个文件复制到安装目录下的components文件夹里，重启，完美解决问题！</p>
<p>官方插件地址：<a href="http://www.foobar2000.org/components">http://www.foobar2000.org/components</a>。</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/369" title="两件事">两件事</a> (0)</li><li><a href="http://imdoc.net/archives/367" title="我使用过的音乐播放器">我使用过的音乐播放器</a> (8)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>最近笔记本总是自动关机，特别是看在线视频，更甚者，放在那里不做任何操作，也会自动重启。按理说安装了卡巴安全部队，不应该是中毒啊，问题很蹊跷，还是咬咬牙重装了系统，但问题没有解决，还是继续自动重启，继续查，经everest，终于知道是cpu温度过高的缘故，最高飙到80度，可以煎鸡蛋了。上网搜索，原来笔记本用一段时间，1年左右，需要清理一下的，送到售后花80元，清理一下，嗯，好多了，像以前一样即使同时运行好几个大型软件，加上播放音乐等等，cpu最高也不会超过60度。——这个问题解决了。</p>
<p>但重新安装foobar后竟然不能播放ape、flac文件，这也太搞笑了，foobar不就是以播放无损音频著名嘛，再说我电脑里全是在淘宝上买的ape、falc格式的上百张专辑，几万首歌曲，都听不了啦。嗯，对，找我们最好的老师——google，他告诉我，缺少了一个插件，这个插件是foo_input_monkey.dll，去官方网站上下载，解压，把这个文件复制到安装目录下的components文件夹里，重启，完美解决问题！</p>
<p>官方插件地址：<a href="http://www.foobar2000.org/components">http://www.foobar2000.org/components</a>。</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/369" title="两件事">两件事</a> (0)</li><li><a href="http://imdoc.net/archives/367" title="我使用过的音乐播放器">我使用过的音乐播放器</a> (8)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1478/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>debian下压缩文件命令</title>
		<link>http://imdoc.net/archives/1389</link>
		<comments>http://imdoc.net/archives/1389#comments</comments>
		<pubDate>Sat, 14 Aug 2010 07:20:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[Linux学习]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[压缩]]></category>
		<category><![CDATA[解压]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1389</guid>
		<description><![CDATA[<p>解压缩文件的命令：unzip 123.zip。这是针对zip文件的解压缩。</p>
<p>1、打包tar命令：解包：tar xvf FileName.tar。打包：tar cvf FileName.tar DirName。tar使用的选项有：</p>
<p>-c — 创建一个新归档。   <br />-f — 当与 -c 选项一起使用时，创建的 tar 文件使用该选项指定的文件名；当与-x 选项一起使用时，则解除该选项指定的归档。    <br />-t — 显示包括在 tar 文件中的文件列表。    <br />-v — 显示文件的归档进度。    <br />-x — 从归档中抽取文件。    <br />-z — 使用 gzip 来压缩 tar 文件。    <br />-j — 使用 bzip2 来压缩 tar 文件。</p>
<p>2、.tar.gz</p>
<p>解压：tar zxvf FileName.tar.gz   <br />压缩：tar zcvf FileName.tar.gz DirName</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>解压缩文件的命令：unzip 123.zip。这是针对zip文件的解压缩。</p>
<p>1、打包tar命令：解包：tar xvf FileName.tar。打包：tar cvf FileName.tar DirName。tar使用的选项有：</p>
<p>-c — 创建一个新归档。   <br />-f — 当与 -c 选项一起使用时，创建的 tar 文件使用该选项指定的文件名；当与-x 选项一起使用时，则解除该选项指定的归档。    <br />-t — 显示包括在 tar 文件中的文件列表。    <br />-v — 显示文件的归档进度。    <br />-x — 从归档中抽取文件。    <br />-z — 使用 gzip 来压缩 tar 文件。    <br />-j — 使用 bzip2 来压缩 tar 文件。</p>
<p>2、.tar.gz</p>
<p>解压：tar zxvf FileName.tar.gz   <br />压缩：tar zcvf FileName.tar.gz DirName</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1389/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>置顶：第九医学论坛[medours.com]</title>
		<link>http://imdoc.net/archives/1388</link>
		<comments>http://imdoc.net/archives/1388#comments</comments>
		<pubDate>Fri, 13 Aug 2010 13:25:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[网络应用]]></category>
		<category><![CDATA[资源和下载]]></category>
		<category><![CDATA[dr-site.com]]></category>
		<category><![CDATA[医学论坛]]></category>
		<category><![CDATA[第九医学论坛]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1388</guid>
		<description><![CDATA[<p>第九医学论坛（<del datetime="2010-08-28T04:59:05+00:00"><a href="http://dr-site.com" target="_blank">dr-site.com</a></del>，<a href="http://medours.com" target="_blank">medours.com</a>）是我与同事利用业余时间一起建立的一个医学全学科论坛，这个论坛属于纯学术性、非赢利性论坛，主要目的是服务于广大医务工作者，为医务人员的工作和生活提供原动力。目前已经正式开张，热诚招聘各版版主，过往的同行如果您看到了这篇文章，不论您是在校医学生还是相关从业人员，或者，您的职业和医学没有关系，但精通dz论坛程序操作、对linux、php等网站运行环境熟悉，那么请您积极加入我们的论坛中来——服务了他人，提高了自己，何乐而不为呢？！欢迎过往的朋友参观访问和宣传！</p>
<p>申请版主专用链接：<a href="http://medours.com/thread-17-1-1.html">http://medours.com/thread-17-1-1.html</a></p>
<p>2010-8-28：论坛更换域名为<a href="http://medours.com/thread-17-1-1.html">medours.com</a>。</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/314" title="从战场归来">从战场归来</a> (2)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>第九医学论坛（<del datetime="2010-08-28T04:59:05+00:00"><a href="http://dr-site.com" target="_blank">dr-site.com</a></del>，<a href="http://medours.com" target="_blank">medours.com</a>）是我与同事利用业余时间一起建立的一个医学全学科论坛，这个论坛属于纯学术性、非赢利性论坛，主要目的是服务于广大医务工作者，为医务人员的工作和生活提供原动力。目前已经正式开张，热诚招聘各版版主，过往的同行如果您看到了这篇文章，不论您是在校医学生还是相关从业人员，或者，您的职业和医学没有关系，但精通dz论坛程序操作、对linux、php等网站运行环境熟悉，那么请您积极加入我们的论坛中来——服务了他人，提高了自己，何乐而不为呢？！欢迎过往的朋友参观访问和宣传！</p>
<p>申请版主专用链接：<a href="http://medours.com/thread-17-1-1.html">http://medours.com/thread-17-1-1.html</a></p>
<p>2010-8-28：论坛更换域名为<a href="http://medours.com/thread-17-1-1.html">medours.com</a>。</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/314" title="从战场归来">从战场归来</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1388/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How do I restart Linux network service?</title>
		<link>http://imdoc.net/archives/1387</link>
		<comments>http://imdoc.net/archives/1387#comments</comments>
		<pubDate>Wed, 11 Aug 2010 14:34:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[Linux学习]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1387</guid>
		<description><![CDATA[<p><strong>RedHat Linux</strong> command to reload or restart network (login as root user):</p>
<p><code># service network restart</code>    <br />OR    <br /><code># /etc/init.d/network restart</code></p>
<p>To start Linux network service:   <br /><code><b># service network start</b></code></p>
<p>To stop Linux network service:   <br /><code><b># service network stop</b></code></p>
<p> <span id="more-1387"></span>
<p><strong>Debian Linux</strong> command to reload or restart network:    <br /><code><b># /etc/init.d/networking restart</b></code></p>
<p>To start Linux network service:   <br /><code><b># /etc/init.d/networking start</b></code></p>
<p>To stop Linux network service:   <br /><code><b># /etc/init.d/networking stop</b></code></p>
<p><strong>Ubuntu Linux </strong>user use sudo command with above Debian Linux command:    <br /><code><b># sudo /etc/init.d/networking restart</b></code></p>
<p>To start Linux network service:   <br /><code><b># sudo /etc/init.d/networking start</b></code></p>
<p>To stop Linux network service:   <br /><code><b># sudo /etc/init.d/networking stop</b></code></p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1389" title="debian下压缩文件命令">debian下压缩文件命令</a> (4)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li></ul>]]></description>
			<content:encoded><![CDATA[<p><strong>RedHat Linux</strong> command to reload or restart network (login as root user):</p>
<p><code># service network restart</code>    <br />OR    <br /><code># /etc/init.d/network restart</code></p>
<p>To start Linux network service:   <br /><code><b># service network start</b></code></p>
<p>To stop Linux network service:   <br /><code><b># service network stop</b></code></p>
<p> <span id="more-1387"></span>
<p><strong>Debian Linux</strong> command to reload or restart network:    <br /><code><b># /etc/init.d/networking restart</b></code></p>
<p>To start Linux network service:   <br /><code><b># /etc/init.d/networking start</b></code></p>
<p>To stop Linux network service:   <br /><code><b># /etc/init.d/networking stop</b></code></p>
<p><strong>Ubuntu Linux </strong>user use sudo command with above Debian Linux command:    <br /><code><b># sudo /etc/init.d/networking restart</b></code></p>
<p>To start Linux network service:   <br /><code><b># sudo /etc/init.d/networking start</b></code></p>
<p>To stop Linux network service:   <br /><code><b># sudo /etc/init.d/networking stop</b></code></p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1389" title="debian下压缩文件命令">debian下压缩文件命令</a> (4)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1387/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian下编译安装pureftpd</title>
		<link>http://imdoc.net/archives/1386</link>
		<comments>http://imdoc.net/archives/1386#comments</comments>
		<pubDate>Sat, 07 Aug 2010 09:57:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[Linux学习]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lnmp]]></category>
		<category><![CDATA[pureftpd]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1386</guid>
		<description><![CDATA[<p>因为凌晨的贱举导致重装系统和进行环境配置，pureftpd的安装还真的花费了一点点功夫。lnmp自带的pureftpd安装了很多遍也不成功，搜索了一下，把编译安装的步骤整理出来。</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-right: 0px; padding-right: 0px; border-top: 0px; padding-left: 0px; padding-bottom: 0px; border-left: 0px; width: 100%; padding-top: 0px; border-bottom: 0px" cellspacing="0">
<tbody>
<tr>
<td style="color: teal" valign="top">1&#160; </td>
<td><b><span style="color: #00008b">cd</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">root</span><span style="color: #ff0000">/</span><span style="color: #000000">lnmp0</span><span style="color: #ff0000">.</span><b><span style="color: #008080">4</span></b><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">2&#160; </td>
<td><span style="color: #000000">apt-get</span><span style="color: #000000">&#160;</span><span style="color: #000000">install</span><span style="color: #000000">&#160;</span><span style="color: #000000">unzip</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">3&#160; </td>
<td><span style="color: #000000">wget</span><span style="color: #000000">&#160;</span><span style="color: #000000">http:</span><span style="color: #ff0000">/</span><span style="color: #ff0000">/</span><span style="color: #000000">download</span><span style="color: #ff0000">.</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">.</span><span style="color: #000000">org</span><span style="color: #ff0000">/</span><span style="color: #000000">pub</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-ftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">releases</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-ftpd-</span><b><span style="color: #008080">1</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">0</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">29</span></b><span style="color: #ff0000">.</span><span style="color: #000000">tar</span><span style="color: #ff0000">.</span><span style="color: #000000">gz</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">4&#160; </td>
<td><span style="color: #000000">tar</span><span style="color: #000000">&#160;</span><span style="color: #000000">zvxf</span><span style="color: #000000">&#160;</span><span style="color: #000000">pure-ftpd-</span><b><span style="color: #008080">1</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">0</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">29</span></b><span style="color: #ff0000">.</span><span style="color: #000000">tar</span><span style="color: #ff0000">.</span><span style="color: #000000">gz</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">5&#160; </td>
<td><b><span style="color: #00008b">cd</span></b><span style="color: #000000">&#160;</span><span style="color: #000000">pure-ftpd-</span><b><span style="color: #008080">1</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">0</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">29</span></b></td>
</tr>
<tr>
<td style="color: teal" valign="top">6&#160; </td>
<td><span style="color: #000000">cp</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">mysql</span><span style="color: #ff0000">/</span><span style="color: #000000">lib</span><span style="color: #ff0000">/</span><span style="color: #000000">mysql</span><span style="color: #ff0000">/</span><b><span style="color: #0000ff">*</span></b><span style="color: #ff0000">.</span><b><span style="color: #0000ff">*</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">lib</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">7&#160; </td>
<td><span style="color: #ff0000">.</span><span style="color: #ff0000">/</span><span style="color: #000000">configure</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;prefix</span><span style="color: #ff0000">=</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #000000">&#160;</span><span style="color: #000000">CFLAGS</span><span style="color: #ff0000">=</span><span style="color: #000000">-O2</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-mysql</span><span style="color: #ff0000">=</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">mysql</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-quotas</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-cookie</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-virtualhosts</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-virtualroot</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-diraliases</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-sysquotas</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-ratios</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-altlog</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-paranoidmsg</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-shadow</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-welcomemsg</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-throttling</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-uploadscript</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-language</span><span style="color: #ff0000">=</span><span style="color: #000000">simplified-chinese</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">8&#160; </td>
<td><span style="color: #000000">make</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">9&#160; </td>
<td><span style="color: #000000">make</span><span style="color: #000000">&#160;</span><span style="color: #000000">check</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">10&#160; </td>
<td><span style="color: #000000">make</span><span style="color: #000000">&#160;</span><span style="color: #000000">install</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">11&#160; </td>
<td><b><span style="color: #00008b">mkdir</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">etc</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">12&#160; </td>
<td><span style="color: #000000">cp</span><span style="color: #000000">&#160;</span><span style="color: #000000">configuration-file</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-config</span><span style="color: #ff0000">.</span><span style="color: #000000">pl</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">sbin</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">13&#160; </td>
<td><span style="color: #000000">cp</span><span style="color: #000000">&#160;</span><span style="color: #000000">configuration-file</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-ftpd</span><span style="color: #ff0000">.</span><span style="color: #000000">conf</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">etc</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">14&#160; </td>
<td><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">+</span><span style="color: #000000">x</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">sbin</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-config</span><span style="color: #ff0000">.</span><span style="color: #000000">pl</span></td>
</tr>
</tbody>
</table></div>
<p> <span id="more-1386"></span>
<p>到此，pureftpd编译完毕，接下来是配置：</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; width: 100%; padding-top: 0px; border-right-width: 0px" cellspacing="0">
<tbody>
<tr>
<td style="color: teal" valign="top">1&#160; </td>
<td><span style="color: #000000">unzip</span><span style="color: #000000">&#160;</span><span style="color: #000000">User_manager_for-PureFTPd_v2</span><span style="color: #ff0000">.</span><span style="color: #000000">1_CN</span><span style="color: #ff0000">.</span><span style="color: #000000">zip</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">2&#160; </td>
<td><span style="color: #000000">mv</span><span style="color: #000000">&#160;</span><b><span style="color: #00008b">ftp</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">home</span><span style="color: #ff0000">/</span><span style="color: #000000">wwwroot</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">3&#160; </td>
<td><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><b><span style="color: #008080">777</span></b><span style="color: #000000">&#160;</span><span style="color: #000000">-R</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">home</span><span style="color: #ff0000">/</span><span style="color: #000000">wwwroot</span><span style="color: #ff0000">/</span><b><span style="color: #00008b">ftp</span></b><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">4&#160; </td>
<td><span style="color: #000000">chown</span><span style="color: #000000">&#160;</span><span style="color: #000000">www</span><span style="color: #000000">&#160;</span><span style="color: #000000">-R</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">home</span><span style="color: #ff0000">/</span><span style="color: #000000">wwwroot</span><span style="color: #ff0000">/</span><b><span style="color: #00008b">ftp</span></b><span style="color: #ff0000">/</span></td>
</tr>
</tbody>
</table></div>
</p>
<p>User_manager_for-PureFTPd_v2.1_CN.zip的下载地址：<a href="http://imdoc.net/download/User_manager_for-PureFTPd_v2.1_CN.zip">http://imdoc.net/download/User_manager_for-PureFTPd_v2.1_CN.zip</a></p>
<p>这样安装完毕后，登陆xxx.com/ftp/install.php，进行界面化安装，安装一共是7步，不要急着关闭浏览器，第6步里面的内容需要用到。</p>
<p>访问xxx.com/ftp进入管理界面，添加用户，删除默认的用户，然后用ftp客户端试着登陆，如果可以登陆，那说明你安装成功了，如果不能登录，请重新启动pureftpd，从反馈的信息可以发现问题，一般都是pureftpd.conf和pureftpd-mysql.conf这两个文件的问题。</p>
<p>Good luck!</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1389" title="debian下压缩文件命令">debian下压缩文件命令</a> (4)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>因为凌晨的贱举导致重装系统和进行环境配置，pureftpd的安装还真的花费了一点点功夫。lnmp自带的pureftpd安装了很多遍也不成功，搜索了一下，把编译安装的步骤整理出来。</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-right: 0px; padding-right: 0px; border-top: 0px; padding-left: 0px; padding-bottom: 0px; border-left: 0px; width: 100%; padding-top: 0px; border-bottom: 0px" cellspacing="0">
<tbody>
<tr>
<td style="color: teal" valign="top">1&#160; </td>
<td><b><span style="color: #00008b">cd</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">root</span><span style="color: #ff0000">/</span><span style="color: #000000">lnmp0</span><span style="color: #ff0000">.</span><b><span style="color: #008080">4</span></b><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">2&#160; </td>
<td><span style="color: #000000">apt-get</span><span style="color: #000000">&#160;</span><span style="color: #000000">install</span><span style="color: #000000">&#160;</span><span style="color: #000000">unzip</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">3&#160; </td>
<td><span style="color: #000000">wget</span><span style="color: #000000">&#160;</span><span style="color: #000000">http:</span><span style="color: #ff0000">/</span><span style="color: #ff0000">/</span><span style="color: #000000">download</span><span style="color: #ff0000">.</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">.</span><span style="color: #000000">org</span><span style="color: #ff0000">/</span><span style="color: #000000">pub</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-ftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">releases</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-ftpd-</span><b><span style="color: #008080">1</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">0</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">29</span></b><span style="color: #ff0000">.</span><span style="color: #000000">tar</span><span style="color: #ff0000">.</span><span style="color: #000000">gz</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">4&#160; </td>
<td><span style="color: #000000">tar</span><span style="color: #000000">&#160;</span><span style="color: #000000">zvxf</span><span style="color: #000000">&#160;</span><span style="color: #000000">pure-ftpd-</span><b><span style="color: #008080">1</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">0</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">29</span></b><span style="color: #ff0000">.</span><span style="color: #000000">tar</span><span style="color: #ff0000">.</span><span style="color: #000000">gz</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">5&#160; </td>
<td><b><span style="color: #00008b">cd</span></b><span style="color: #000000">&#160;</span><span style="color: #000000">pure-ftpd-</span><b><span style="color: #008080">1</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">0</span></b><span style="color: #ff0000">.</span><b><span style="color: #008080">29</span></b></td>
</tr>
<tr>
<td style="color: teal" valign="top">6&#160; </td>
<td><span style="color: #000000">cp</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">mysql</span><span style="color: #ff0000">/</span><span style="color: #000000">lib</span><span style="color: #ff0000">/</span><span style="color: #000000">mysql</span><span style="color: #ff0000">/</span><b><span style="color: #0000ff">*</span></b><span style="color: #ff0000">.</span><b><span style="color: #0000ff">*</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">lib</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">7&#160; </td>
<td><span style="color: #ff0000">.</span><span style="color: #ff0000">/</span><span style="color: #000000">configure</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;prefix</span><span style="color: #ff0000">=</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #000000">&#160;</span><span style="color: #000000">CFLAGS</span><span style="color: #ff0000">=</span><span style="color: #000000">-O2</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-mysql</span><span style="color: #ff0000">=</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">mysql</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-quotas</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-cookie</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-virtualhosts</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-virtualroot</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-diraliases</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-sysquotas</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-ratios</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-altlog</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-paranoidmsg</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-shadow</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-welcomemsg</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-throttling</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-uploadscript</span><span style="color: #000000">&#160;</span><span style="color: #000000">&#8211;with-language</span><span style="color: #ff0000">=</span><span style="color: #000000">simplified-chinese</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">8&#160; </td>
<td><span style="color: #000000">make</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">9&#160; </td>
<td><span style="color: #000000">make</span><span style="color: #000000">&#160;</span><span style="color: #000000">check</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">10&#160; </td>
<td><span style="color: #000000">make</span><span style="color: #000000">&#160;</span><span style="color: #000000">install</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">11&#160; </td>
<td><b><span style="color: #00008b">mkdir</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">etc</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">12&#160; </td>
<td><span style="color: #000000">cp</span><span style="color: #000000">&#160;</span><span style="color: #000000">configuration-file</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-config</span><span style="color: #ff0000">.</span><span style="color: #000000">pl</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">sbin</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">13&#160; </td>
<td><span style="color: #000000">cp</span><span style="color: #000000">&#160;</span><span style="color: #000000">configuration-file</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-ftpd</span><span style="color: #ff0000">.</span><span style="color: #000000">conf</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">etc</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">14&#160; </td>
<td><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">+</span><span style="color: #000000">x</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">usr</span><span style="color: #ff0000">/</span><span style="color: #000000">local</span><span style="color: #ff0000">/</span><span style="color: #000000">pureftpd</span><span style="color: #ff0000">/</span><span style="color: #000000">sbin</span><span style="color: #ff0000">/</span><span style="color: #000000">pure-config</span><span style="color: #ff0000">.</span><span style="color: #000000">pl</span></td>
</tr>
</tbody>
</table></div>
<p> <span id="more-1386"></span>
<p>到此，pureftpd编译完毕，接下来是配置：</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; width: 100%; padding-top: 0px; border-right-width: 0px" cellspacing="0">
<tbody>
<tr>
<td style="color: teal" valign="top">1&#160; </td>
<td><span style="color: #000000">unzip</span><span style="color: #000000">&#160;</span><span style="color: #000000">User_manager_for-PureFTPd_v2</span><span style="color: #ff0000">.</span><span style="color: #000000">1_CN</span><span style="color: #ff0000">.</span><span style="color: #000000">zip</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">2&#160; </td>
<td><span style="color: #000000">mv</span><span style="color: #000000">&#160;</span><b><span style="color: #00008b">ftp</span></b><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">home</span><span style="color: #ff0000">/</span><span style="color: #000000">wwwroot</span><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">3&#160; </td>
<td><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><b><span style="color: #008080">777</span></b><span style="color: #000000">&#160;</span><span style="color: #000000">-R</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">home</span><span style="color: #ff0000">/</span><span style="color: #000000">wwwroot</span><span style="color: #ff0000">/</span><b><span style="color: #00008b">ftp</span></b><span style="color: #ff0000">/</span></td>
</tr>
<tr>
<td style="color: teal" valign="top">4&#160; </td>
<td><span style="color: #000000">chown</span><span style="color: #000000">&#160;</span><span style="color: #000000">www</span><span style="color: #000000">&#160;</span><span style="color: #000000">-R</span><span style="color: #000000">&#160;</span><span style="color: #ff0000">/</span><span style="color: #000000">home</span><span style="color: #ff0000">/</span><span style="color: #000000">wwwroot</span><span style="color: #ff0000">/</span><b><span style="color: #00008b">ftp</span></b><span style="color: #ff0000">/</span></td>
</tr>
</tbody>
</table></div>
</p>
<p>User_manager_for-PureFTPd_v2.1_CN.zip的下载地址：<a href="http://imdoc.net/download/User_manager_for-PureFTPd_v2.1_CN.zip">http://imdoc.net/download/User_manager_for-PureFTPd_v2.1_CN.zip</a></p>
<p>这样安装完毕后，登陆xxx.com/ftp/install.php，进行界面化安装，安装一共是7步，不要急着关闭浏览器，第6步里面的内容需要用到。</p>
<p>访问xxx.com/ftp进入管理界面，添加用户，删除默认的用户，然后用ftp客户端试着登陆，如果可以登陆，那说明你安装成功了，如果不能登录，请重新启动pureftpd，从反馈的信息可以发现问题，一般都是pureftpd.conf和pureftpd-mysql.conf这两个文件的问题。</p>
<p>Good luck!</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1389" title="debian下压缩文件命令">debian下压缩文件命令</a> (4)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1386/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rm -rf 慎用！</title>
		<link>http://imdoc.net/archives/1385</link>
		<comments>http://imdoc.net/archives/1385#comments</comments>
		<pubDate>Sat, 07 Aug 2010 07:28:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[Linux学习]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[命令]]></category>
		<category><![CDATA[网站]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1385</guid>
		<description><![CDATA[<p>在不知道会出现什么效果之前，一定不要轻易使用命令，除非你想尝试一下什么是“欲哭无泪”的感觉。今日凌晨我那贱兮兮的手贱嗖嗖地按下了回车，从此大祸酿成，几个站点所文件包括数据库全部clean。</p>
<p>如果你不能体会到这种深入骨髓的无奈，那是因为你不知道环境的配置是多么的麻烦。今天又从头开始再次来过。唯一幸运的是，网站数据库在本机都还有保留。</p>
<p>看来，勤劳是多么重要的品质。一定要记得backup！</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/679" title="无线路由器严重丢包">无线路由器严重丢包</a> (1)</li><li><a href="http://imdoc.net/archives/187" title="一点点回忆">一点点回忆</a> (1)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>在不知道会出现什么效果之前，一定不要轻易使用命令，除非你想尝试一下什么是“欲哭无泪”的感觉。今日凌晨我那贱兮兮的手贱嗖嗖地按下了回车，从此大祸酿成，几个站点所文件包括数据库全部clean。</p>
<p>如果你不能体会到这种深入骨髓的无奈，那是因为你不知道环境的配置是多么的麻烦。今天又从头开始再次来过。唯一幸运的是，网站数据库在本机都还有保留。</p>
<p>看来，勤劳是多么重要的品质。一定要记得backup！</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/679" title="无线路由器严重丢包">无线路由器严重丢包</a> (1)</li><li><a href="http://imdoc.net/archives/187" title="一点点回忆">一点点回忆</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1385/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress批量修改文件权限</title>
		<link>http://imdoc.net/archives/1383</link>
		<comments>http://imdoc.net/archives/1383#comments</comments>
		<pubDate>Sun, 01 Aug 2010 15:06:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[权限]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1383</guid>
		<description><![CDATA[<p>在linux系统下或登录ssh可以批量修改文件权限，如果通过ftp修改，那会累死的。</p>
<p>wordprss目录下的所有目录的权限递归设置为755</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; width: 100%; padding-top: 0px; border-right-width: 0px" cellspacing="0">
<tbody>
<tr>
<td><span style="color: #000000">cd</span><span style="color: #000000">&#160;</span><span style="color: #000000">wordpress</span></td>
</tr>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">exec</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">755</span><span style="color: #000000">&#160;</span><span style="color: #000000">{</span><span style="color: #000000">}</span><span style="color: #000000">&#160;</span><span style="color: #000000">\;</span></td>
</tr>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">|</span><span style="color: #000000">xargs</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">755</span></td>
</tr>
</tbody>
</table></div>
<p>同样，把目录下的所有文件权限递归地改成644可以这样执行</p>
</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; width: 100%; padding-top: 0px; border-right-width: 0px" cellspacing="0">
<tbody>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">not</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">exec</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">644</span><span style="color: #000000">&#160;</span><span style="color: #000000">{</span><span style="color: #000000">}</span><span style="color: #000000">&#160;</span><span style="color: #000000">\;</span></td>
</tr>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">not</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">|</span><span style="color: #000000">xargs</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">644</span></td>
</tr>
</tbody>
</table></div>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li><li><a href="http://imdoc.net/archives/1345" title="WordPress 3.0发布">WordPress 3.0发布</a> (4)</li><li><a href="http://imdoc.net/archives/1342" title="WordPress AntiSpam">WordPress AntiSpam</a> (4)</li><li><a href="http://imdoc.net/archives/1292" title="更新博客theme">更新博客theme</a> (2)</li><li><a href="http://imdoc.net/archives/971" title="wordpress2.9">wordpress2.9</a> (2)</li><li><a href="http://imdoc.net/archives/685" title="wordpress利用.htaccess防图片盗链">wordpress利用.htaccess防图片盗链</a> (5)</li><li><a href="http://imdoc.net/archives/672" title="wordpress2.7 comments thread评论套嵌">wordpress2.7 comments thread评论套嵌</a> (4)</li><li><a href="http://imdoc.net/archives/661" title="用wordpress自定义字段显示缩略图片">用wordpress自定义字段显示缩略图片</a> (4)</li><li><a href="http://imdoc.net/archives/557" title="更新theme！">更新theme！</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/492" title="windows live writer已更新至2009版">windows live writer已更新至2009版</a> (4)</li><li><a href="http://imdoc.net/archives/457" title="wordpress2.7正式版发布">wordpress2.7正式版发布</a> (2)</li><li><a href="http://imdoc.net/archives/404" title="wordpress 2.7 先看截图为快">wordpress 2.7 先看截图为快</a> (0)</li><li><a href="http://imdoc.net/archives/371" title="firefox下背景图片居中错位的CSS方案">firefox下背景图片居中错位的CSS方案</a> (3)</li><li><a href="http://imdoc.net/archives/354" title="发布一款wordpress theme">发布一款wordpress theme</a> (1)</li><li><a href="http://imdoc.net/archives/282" title="wordpress 2.5.1更新">wordpress 2.5.1更新</a> (1)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>在linux系统下或登录ssh可以批量修改文件权限，如果通过ftp修改，那会累死的。</p>
<p>wordprss目录下的所有目录的权限递归设置为755</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; width: 100%; padding-top: 0px; border-right-width: 0px" cellspacing="0">
<tbody>
<tr>
<td><span style="color: #000000">cd</span><span style="color: #000000">&#160;</span><span style="color: #000000">wordpress</span></td>
</tr>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">exec</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">755</span><span style="color: #000000">&#160;</span><span style="color: #000000">{</span><span style="color: #000000">}</span><span style="color: #000000">&#160;</span><span style="color: #000000">\;</span></td>
</tr>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">|</span><span style="color: #000000">xargs</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">755</span></td>
</tr>
</tbody>
</table></div>
<p>同样，把目录下的所有文件权限递归地改成644可以这样执行</p>
</p>
<div style="font-size: 12px; line-height: 12px; font-family: courier new">
<table style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; width: 100%; padding-top: 0px; border-right-width: 0px" cellspacing="0">
<tbody>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">not</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">exec</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">644</span><span style="color: #000000">&#160;</span><span style="color: #000000">{</span><span style="color: #000000">}</span><span style="color: #000000">&#160;</span><span style="color: #000000">\;</span></td>
</tr>
<tr>
<td><span style="color: #000000">find</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">not</span><span style="color: #000000">&#160;</span><span style="color: #000000">-</span><span style="color: #000000">type</span><span style="color: #000000">&#160;</span><span style="color: #000000">d</span><span style="color: #000000">|</span><span style="color: #000000">xargs</span><span style="color: #000000">&#160;</span><span style="color: #000000">chmod</span><span style="color: #000000">&#160;</span><span style="color: #ff00ff">644</span></td>
</tr>
</tbody>
</table></div>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1586" title="Dreamhost主机使用putty常用命令">Dreamhost主机使用putty常用命令</a> (2)</li><li><a href="http://imdoc.net/archives/1387" title="How do I restart Linux network service?">How do I restart Linux network service?</a> (0)</li><li><a href="http://imdoc.net/archives/1386" title="debian下编译安装pureftpd">debian下编译安装pureftpd</a> (0)</li><li><a href="http://imdoc.net/archives/1385" title="rm -rf 慎用！">rm -rf 慎用！</a> (2)</li><li><a href="http://imdoc.net/archives/1382" title="几件事">几件事</a> (2)</li><li><a href="http://imdoc.net/archives/1345" title="WordPress 3.0发布">WordPress 3.0发布</a> (4)</li><li><a href="http://imdoc.net/archives/1342" title="WordPress AntiSpam">WordPress AntiSpam</a> (4)</li><li><a href="http://imdoc.net/archives/1292" title="更新博客theme">更新博客theme</a> (2)</li><li><a href="http://imdoc.net/archives/971" title="wordpress2.9">wordpress2.9</a> (2)</li><li><a href="http://imdoc.net/archives/685" title="wordpress利用.htaccess防图片盗链">wordpress利用.htaccess防图片盗链</a> (5)</li><li><a href="http://imdoc.net/archives/672" title="wordpress2.7 comments thread评论套嵌">wordpress2.7 comments thread评论套嵌</a> (4)</li><li><a href="http://imdoc.net/archives/661" title="用wordpress自定义字段显示缩略图片">用wordpress自定义字段显示缩略图片</a> (4)</li><li><a href="http://imdoc.net/archives/557" title="更新theme！">更新theme！</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/492" title="windows live writer已更新至2009版">windows live writer已更新至2009版</a> (4)</li><li><a href="http://imdoc.net/archives/457" title="wordpress2.7正式版发布">wordpress2.7正式版发布</a> (2)</li><li><a href="http://imdoc.net/archives/404" title="wordpress 2.7 先看截图为快">wordpress 2.7 先看截图为快</a> (0)</li><li><a href="http://imdoc.net/archives/371" title="firefox下背景图片居中错位的CSS方案">firefox下背景图片居中错位的CSS方案</a> (3)</li><li><a href="http://imdoc.net/archives/354" title="发布一款wordpress theme">发布一款wordpress theme</a> (1)</li><li><a href="http://imdoc.net/archives/282" title="wordpress 2.5.1更新">wordpress 2.5.1更新</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1383/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0发布</title>
		<link>http://imdoc.net/archives/1345</link>
		<comments>http://imdoc.net/archives/1345#comments</comments>
		<pubDate>Fri, 18 Jun 2010 07:04:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[更新]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1345</guid>
		<description><![CDATA[<p>这个版本中把以前的主题都去掉了，而增加了一款新的theme：Twenty Ten。按照官方网站的说法：Major new features in this release include a sexy <strong>new default theme called Twenty Ten</strong>. Theme developers have new APIs that allow them to easily implement custom backgrounds, headers, shortlinks, <a href="http://codex.wordpress.org/Appearance_Menus_SubPanel">menus</a> (no more file editing), <a href="http://codex.wordpress.org/Custom_Post_Types">post types</a>, and <a href="http://codex.wordpress.org/Custom_Taxonomies">taxonomies</a>. (Twenty Ten theme shows all of that off.)</p>
<p>看来光说是没有用的，上图——，以下所有图片点击可看大图：</p>
<p><span id="more-1345"></span></p>
<p style="margin-bottom:10px">
<p style="margin-bottom:10px">
</p>
<p>前两张图就是传说中的sexy theme，以后制作theme可操控性更强，这个theme通过后台可以自定义背景、header图片以及menu，初始背景颜色为白色，我为了试验将其修改为浅绿色。通过自己升级亲身体验，这次upgrade是有数据库升级的，建议您在升级之前备份好数据。</p>
<p>喜欢尝鲜的朋友赶紧下载吧：<a href="http://wordpress.org/download/" target="_blank">Download WordPress 3.0</a>. （建议将您的wordpress随时升级至最新版本，这不仅仅是为了美观，更为了安全，兼之一些功能。有时候，WP是不能隔几个版本直接升级的。）</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/971" title="wordpress2.9">wordpress2.9</a> (2)</li><li><a href="http://imdoc.net/archives/282" title="wordpress 2.5.1更新">wordpress 2.5.1更新</a> (1)</li><li><a href="http://imdoc.net/archives/492" title="windows live writer已更新至2009版">windows live writer已更新至2009版</a> (4)</li><li><a href="http://imdoc.net/archives/457" title="wordpress2.7正式版发布">wordpress2.7正式版发布</a> (2)</li><li><a href="http://imdoc.net/archives/279" title="wordpress plugin的自动更新功能试用">wordpress plugin的自动更新功能试用</a> (1)</li><li><a href="http://imdoc.net/archives/149" title="升级wordpress到2.3.2">升级wordpress到2.3.2</a> (3)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1342" title="WordPress AntiSpam">WordPress AntiSpam</a> (4)</li><li><a href="http://imdoc.net/archives/1292" title="更新博客theme">更新博客theme</a> (2)</li><li><a href="http://imdoc.net/archives/685" title="wordpress利用.htaccess防图片盗链">wordpress利用.htaccess防图片盗链</a> (5)</li><li><a href="http://imdoc.net/archives/672" title="wordpress2.7 comments thread评论套嵌">wordpress2.7 comments thread评论套嵌</a> (4)</li><li><a href="http://imdoc.net/archives/661" title="用wordpress自定义字段显示缩略图片">用wordpress自定义字段显示缩略图片</a> (4)</li><li><a href="http://imdoc.net/archives/557" title="更新theme！">更新theme！</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/404" title="wordpress 2.7 先看截图为快">wordpress 2.7 先看截图为快</a> (0)</li><li><a href="http://imdoc.net/archives/371" title="firefox下背景图片居中错位的CSS方案">firefox下背景图片居中错位的CSS方案</a> (3)</li><li><a href="http://imdoc.net/archives/354" title="发布一款wordpress theme">发布一款wordpress theme</a> (1)</li><li><a href="http://imdoc.net/archives/272" title="Xampp中Apache无法启动的解决方法">Xampp中Apache无法启动的解决方法</a> (6)</li><li><a href="http://imdoc.net/archives/270" title="paypal, google doc, firefox, &#8230;&#8230;">paypal, google doc, firefox, &#8230;&#8230;</a> (0)</li><li><a href="http://imdoc.net/archives/220" title="几辆悍马&#8211;高清桌面">几辆悍马&#8211;高清桌面</a> (5)</li></ul>]]></description>
			<content:encoded><![CDATA[<p>这个版本中把以前的主题都去掉了，而增加了一款新的theme：Twenty Ten。按照官方网站的说法：Major new features in this release include a sexy <strong>new default theme called Twenty Ten</strong>. Theme developers have new APIs that allow them to easily implement custom backgrounds, headers, shortlinks, <a href="http://codex.wordpress.org/Appearance_Menus_SubPanel">menus</a> (no more file editing), <a href="http://codex.wordpress.org/Custom_Post_Types">post types</a>, and <a href="http://codex.wordpress.org/Custom_Taxonomies">taxonomies</a>. (Twenty Ten theme shows all of that off.)</p>
<p>看来光说是没有用的，上图——，以下所有图片点击可看大图：</p>
<p><span id="more-1345"></span></p>
<p style="margin-bottom:10px"><div id="attachment_1347" class="wp-caption aligncenter" style="width: 310px"><a href="http://imdoc.net/wp-content/uploads/2010/06/1.jpg"><img class="size-medium wp-image-1347" title="1" src="http://imdoc.net/wp-content/uploads/2010/06/1-300x196.jpg" alt="" width="300" height="196" /></a><p class="wp-caption-text">首页-index</p></div></p>
<p style="margin-bottom:10px"><div id="attachment_1348" class="wp-caption aligncenter" style="width: 252px"><a href="http://imdoc.net/wp-content/uploads/2010/06/2.jpg"><img class="size-medium wp-image-1348" title="2" src="http://imdoc.net/wp-content/uploads/2010/06/2-242x300.jpg" alt="" width="242" height="300" /></a><p class="wp-caption-text">单个文章页面-single.php</p></div></p>
<div id="attachment_1349" class="wp-caption aligncenter" style="width: 310px"><a href="http://imdoc.net/wp-content/uploads/2010/06/3.jpg"><img class="size-medium wp-image-1349" title="3" src="http://imdoc.net/wp-content/uploads/2010/06/3-300x269.jpg" alt="" width="300" height="269" /></a><p class="wp-caption-text">后台界面-从侧栏可知有所改变</p></div>
<p>前两张图就是传说中的sexy theme，以后制作theme可操控性更强，这个theme通过后台可以自定义背景、header图片以及menu，初始背景颜色为白色，我为了试验将其修改为浅绿色。通过自己升级亲身体验，这次upgrade是有数据库升级的，建议您在升级之前备份好数据。</p>
<p>喜欢尝鲜的朋友赶紧下载吧：<a href="http://wordpress.org/download/" target="_blank">Download WordPress 3.0</a>. （建议将您的wordpress随时升级至最新版本，这不仅仅是为了美观，更为了安全，兼之一些功能。有时候，WP是不能隔几个版本直接升级的。）</p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/971" title="wordpress2.9">wordpress2.9</a> (2)</li><li><a href="http://imdoc.net/archives/282" title="wordpress 2.5.1更新">wordpress 2.5.1更新</a> (1)</li><li><a href="http://imdoc.net/archives/492" title="windows live writer已更新至2009版">windows live writer已更新至2009版</a> (4)</li><li><a href="http://imdoc.net/archives/457" title="wordpress2.7正式版发布">wordpress2.7正式版发布</a> (2)</li><li><a href="http://imdoc.net/archives/279" title="wordpress plugin的自动更新功能试用">wordpress plugin的自动更新功能试用</a> (1)</li><li><a href="http://imdoc.net/archives/149" title="升级wordpress到2.3.2">升级wordpress到2.3.2</a> (3)</li><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1342" title="WordPress AntiSpam">WordPress AntiSpam</a> (4)</li><li><a href="http://imdoc.net/archives/1292" title="更新博客theme">更新博客theme</a> (2)</li><li><a href="http://imdoc.net/archives/685" title="wordpress利用.htaccess防图片盗链">wordpress利用.htaccess防图片盗链</a> (5)</li><li><a href="http://imdoc.net/archives/672" title="wordpress2.7 comments thread评论套嵌">wordpress2.7 comments thread评论套嵌</a> (4)</li><li><a href="http://imdoc.net/archives/661" title="用wordpress自定义字段显示缩略图片">用wordpress自定义字段显示缩略图片</a> (4)</li><li><a href="http://imdoc.net/archives/557" title="更新theme！">更新theme！</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/404" title="wordpress 2.7 先看截图为快">wordpress 2.7 先看截图为快</a> (0)</li><li><a href="http://imdoc.net/archives/371" title="firefox下背景图片居中错位的CSS方案">firefox下背景图片居中错位的CSS方案</a> (3)</li><li><a href="http://imdoc.net/archives/354" title="发布一款wordpress theme">发布一款wordpress theme</a> (1)</li><li><a href="http://imdoc.net/archives/272" title="Xampp中Apache无法启动的解决方法">Xampp中Apache无法启动的解决方法</a> (6)</li><li><a href="http://imdoc.net/archives/270" title="paypal, google doc, firefox, &#8230;&#8230;">paypal, google doc, firefox, &#8230;&#8230;</a> (0)</li><li><a href="http://imdoc.net/archives/220" title="几辆悍马&#8211;高清桌面">几辆悍马&#8211;高清桌面</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1345/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress AntiSpam</title>
		<link>http://imdoc.net/archives/1342</link>
		<comments>http://imdoc.net/archives/1342#comments</comments>
		<pubDate>Tue, 15 Jun 2010 05:04:00 +0000</pubDate>
		<dc:creator>hanbal</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://imdoc.net/archives/1342</guid>
		<description><![CDATA[<p><img style="display: inline; margin: 0px 0px 5px 5px; border: 0px;" title="images" src="http://imdoc.net/wp-content/uploads/2010/06/images.jpg" border="0" alt="images" width="116" height="117" align="right" /> 最近有很多带着链接的不着四六的留言，大多是国外的自动留言机器发上来的。每天登陆后台，都会发现几十个到几百个，乍一看还以为博客的访问量增多了呢，这么多热情的人们，细一看原来都是广告，一页一页删，挺头疼。</p>
<p>一直应用<a href="http://wordpress.org/extend/plugins/antispam-bee/" target="_blank">Antispam Bee</a>这个插件，表现还不错，最近是不是有更高级的spam机器了？反正这个插件基本上没什么用了，更换了<a href="http://wordpress.org/extend/plugins/nospamnx/" target="_blank">NoSpamNX</a>，也还是基本没用，垃圾评论和留言照旧像野草一样疯长。</p>
<p><span id="more-1342"></span></p>
<p>只好用<a href="http://wordpress.org/extend/plugins/wp-recaptcha/" target="_blank">wp-recaptcha</a>了，我就不信机器可以自动填写。</p>
<p>但这样以来，给真正想留言的朋友带来一些麻烦，不仅仅是多输入一些英文单词的麻烦，更主要的是这些英文单词有时候真的看不清楚，这个时侯，麻烦您点击recaptcha框中的刷新按钮，直到您能看清为止。</p>
<p>同时，在<a href="http://deepwhite.cc/about" target="_blank">深白色</a>网站，有一段关于recaptcha的解释，希望您看了之后会更加愿意在本博留言：</p>
<blockquote><p>世界上的很多古書經過掃描之後由於電腦無法識別，要靠人力來校對，這是一項非常巨大的工程。reCAPTCHA 就是把這項工程交給全世界使用它的人來一點點的完成。其實你在每次留言之後輸入驗證碼時，已經在為世界文化遺產做出一份貢獻了。而且又可以順便鍛煉一下英文，何樂而不為呢？所以請你在留言時認真的輸入留言驗證碼吧!</p></blockquote>
<p><span style="color: #ff0000;"><strong>这玩意绝对练英文，填完之后你仔细看看，看看存在不存在这单词，个把字母看不清，猜也能猜个八九不离十了。看在能提高您英文水平的份上，请您在留言的时候不要怕麻烦！</strong></span></p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1345" title="WordPress 3.0发布">WordPress 3.0发布</a> (4)</li><li><a href="http://imdoc.net/archives/1292" title="更新博客theme">更新博客theme</a> (2)</li><li><a href="http://imdoc.net/archives/971" title="wordpress2.9">wordpress2.9</a> (2)</li><li><a href="http://imdoc.net/archives/685" title="wordpress利用.htaccess防图片盗链">wordpress利用.htaccess防图片盗链</a> (5)</li><li><a href="http://imdoc.net/archives/672" title="wordpress2.7 comments thread评论套嵌">wordpress2.7 comments thread评论套嵌</a> (4)</li><li><a href="http://imdoc.net/archives/661" title="用wordpress自定义字段显示缩略图片">用wordpress自定义字段显示缩略图片</a> (4)</li><li><a href="http://imdoc.net/archives/557" title="更新theme！">更新theme！</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/492" title="windows live writer已更新至2009版">windows live writer已更新至2009版</a> (4)</li><li><a href="http://imdoc.net/archives/457" title="wordpress2.7正式版发布">wordpress2.7正式版发布</a> (2)</li><li><a href="http://imdoc.net/archives/404" title="wordpress 2.7 先看截图为快">wordpress 2.7 先看截图为快</a> (0)</li><li><a href="http://imdoc.net/archives/371" title="firefox下背景图片居中错位的CSS方案">firefox下背景图片居中错位的CSS方案</a> (3)</li><li><a href="http://imdoc.net/archives/354" title="发布一款wordpress theme">发布一款wordpress theme</a> (1)</li><li><a href="http://imdoc.net/archives/282" title="wordpress 2.5.1更新">wordpress 2.5.1更新</a> (1)</li><li><a href="http://imdoc.net/archives/279" title="wordpress plugin的自动更新功能试用">wordpress plugin的自动更新功能试用</a> (1)</li><li><a href="http://imdoc.net/archives/272" title="Xampp中Apache无法启动的解决方法">Xampp中Apache无法启动的解决方法</a> (6)</li><li><a href="http://imdoc.net/archives/270" title="paypal, google doc, firefox, &#8230;&#8230;">paypal, google doc, firefox, &#8230;&#8230;</a> (0)</li><li><a href="http://imdoc.net/archives/220" title="几辆悍马&#8211;高清桌面">几辆悍马&#8211;高清桌面</a> (5)</li><li><a href="http://imdoc.net/archives/212" title="wordpress 2.5">wordpress 2.5</a> (3)</li></ul>]]></description>
			<content:encoded><![CDATA[<p><img style="display: inline; margin: 0px 0px 5px 5px; border: 0px;" title="images" src="http://imdoc.net/wp-content/uploads/2010/06/images.jpg" border="0" alt="images" width="116" height="117" align="right" /> 最近有很多带着链接的不着四六的留言，大多是国外的自动留言机器发上来的。每天登陆后台，都会发现几十个到几百个，乍一看还以为博客的访问量增多了呢，这么多热情的人们，细一看原来都是广告，一页一页删，挺头疼。</p>
<p>一直应用<a href="http://wordpress.org/extend/plugins/antispam-bee/" target="_blank">Antispam Bee</a>这个插件，表现还不错，最近是不是有更高级的spam机器了？反正这个插件基本上没什么用了，更换了<a href="http://wordpress.org/extend/plugins/nospamnx/" target="_blank">NoSpamNX</a>，也还是基本没用，垃圾评论和留言照旧像野草一样疯长。</p>
<p><span id="more-1342"></span></p>
<p>只好用<a href="http://wordpress.org/extend/plugins/wp-recaptcha/" target="_blank">wp-recaptcha</a>了，我就不信机器可以自动填写。</p>
<p>但这样以来，给真正想留言的朋友带来一些麻烦，不仅仅是多输入一些英文单词的麻烦，更主要的是这些英文单词有时候真的看不清楚，这个时侯，麻烦您点击recaptcha框中的刷新按钮，直到您能看清为止。</p>
<p>同时，在<a href="http://deepwhite.cc/about" target="_blank">深白色</a>网站，有一段关于recaptcha的解释，希望您看了之后会更加愿意在本博留言：</p>
<blockquote><p>世界上的很多古書經過掃描之後由於電腦無法識別，要靠人力來校對，這是一項非常巨大的工程。reCAPTCHA 就是把這項工程交給全世界使用它的人來一點點的完成。其實你在每次留言之後輸入驗證碼時，已經在為世界文化遺產做出一份貢獻了。而且又可以順便鍛煉一下英文，何樂而不為呢？所以請你在留言時認真的輸入留言驗證碼吧!</p></blockquote>
<p><span style="color: #ff0000;"><strong>这玩意绝对练英文，填完之后你仔细看看，看看存在不存在这单词，个把字母看不清，猜也能猜个八九不离十了。看在能提高您英文水平的份上，请您在留言的时候不要怕麻烦！</strong></span></p>
<p  class="related_post_title">您可能对以下日志感兴趣</p><ul class="related_post"><li><a href="http://imdoc.net/archives/1383" title="wordpress批量修改文件权限">wordpress批量修改文件权限</a> (0)</li><li><a href="http://imdoc.net/archives/1345" title="WordPress 3.0发布">WordPress 3.0发布</a> (4)</li><li><a href="http://imdoc.net/archives/1292" title="更新博客theme">更新博客theme</a> (2)</li><li><a href="http://imdoc.net/archives/971" title="wordpress2.9">wordpress2.9</a> (2)</li><li><a href="http://imdoc.net/archives/685" title="wordpress利用.htaccess防图片盗链">wordpress利用.htaccess防图片盗链</a> (5)</li><li><a href="http://imdoc.net/archives/672" title="wordpress2.7 comments thread评论套嵌">wordpress2.7 comments thread评论套嵌</a> (4)</li><li><a href="http://imdoc.net/archives/661" title="用wordpress自定义字段显示缩略图片">用wordpress自定义字段显示缩略图片</a> (4)</li><li><a href="http://imdoc.net/archives/557" title="更新theme！">更新theme！</a> (2)</li><li><a href="http://imdoc.net/archives/526" title="Dreamhost主机2009新优惠">Dreamhost主机2009新优惠</a> (3)</li><li><a href="http://imdoc.net/archives/492" title="windows live writer已更新至2009版">windows live writer已更新至2009版</a> (4)</li><li><a href="http://imdoc.net/archives/457" title="wordpress2.7正式版发布">wordpress2.7正式版发布</a> (2)</li><li><a href="http://imdoc.net/archives/404" title="wordpress 2.7 先看截图为快">wordpress 2.7 先看截图为快</a> (0)</li><li><a href="http://imdoc.net/archives/371" title="firefox下背景图片居中错位的CSS方案">firefox下背景图片居中错位的CSS方案</a> (3)</li><li><a href="http://imdoc.net/archives/354" title="发布一款wordpress theme">发布一款wordpress theme</a> (1)</li><li><a href="http://imdoc.net/archives/282" title="wordpress 2.5.1更新">wordpress 2.5.1更新</a> (1)</li><li><a href="http://imdoc.net/archives/279" title="wordpress plugin的自动更新功能试用">wordpress plugin的自动更新功能试用</a> (1)</li><li><a href="http://imdoc.net/archives/272" title="Xampp中Apache无法启动的解决方法">Xampp中Apache无法启动的解决方法</a> (6)</li><li><a href="http://imdoc.net/archives/270" title="paypal, google doc, firefox, &#8230;&#8230;">paypal, google doc, firefox, &#8230;&#8230;</a> (0)</li><li><a href="http://imdoc.net/archives/220" title="几辆悍马&#8211;高清桌面">几辆悍马&#8211;高清桌面</a> (5)</li><li><a href="http://imdoc.net/archives/212" title="wordpress 2.5">wordpress 2.5</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imdoc.net/archives/1342/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

