<?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://jk.aiwaly.com/wp/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://jk.aiwaly.com</link>
	<description>不断探索,追求卓越,做快乐自己</description>
	<lastBuildDate>Thu, 29 Mar 2012 01:09:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>php下添加pdo_mysql扩展</title>
		<link>http://jk.aiwaly.com/wp/php-pdo_mysql-setup.html</link>
		<comments>http://jk.aiwaly.com/wp/php-pdo_mysql-setup.html#comments</comments>
		<pubDate>Thu, 03 Mar 2011 13:14:19 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[question (问题)]]></category>
		<category><![CDATA[web应用]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2927</guid>
		<description><![CDATA[# wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz
# tar xzvf PDO_MYSQL-1.0.2.tgz
# cd PDO_MYSQL-1.0.2
# /usr/local/php/bin/phpize
./configure &#8211;with-php-config=/usr/local/php/bin/php-config
注意：php安装在/usr/local/php下
经过configure就可以make了
./configure &#8211;with-php-config=/usr/local/php/bin/php-config -with-pdo-mysql=/usr/local/mysql/bin/mysql_config
make
make install
注意pdo_mysql的全路径是：
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613//pdo_mysql.so
然后:
# vi //usr/local/php/lib/php.ini
加上一句：
extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so
保存后，重新启动apache即可看到已经加载pdo_mysql成功。
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/php-pdo_mysql-setup.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下文本处理命令</title>
		<link>http://jk.aiwaly.com/wp/linux-command-deal-with-txt.html</link>
		<comments>http://jk.aiwaly.com/wp/linux-command-deal-with-txt.html#comments</comments>
		<pubDate>Wed, 22 Sep 2010 12:35:12 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2749</guid>
		<description><![CDATA[Linux下面有很多经典的非常有用的命令，其中处理文本的命令就有很多。这些小工具经过了几十年时间的洗礼，现在已经变成了经典，已经变成了Linux下面的标准，其实它们一直是遵循着Linux的标准。下面就让我们一起看看这些经典的Linux文本处理命令。
一. sort
文件排序, 通常用在管道中当过滤器来使用. 这个命令可以依据指定的关键字或指定的字符位置, 对文件行进行排序. 使用-m选项, 它将会合并预排序的输入文件. 想了解这个命令的全部参数请参考这个命令的info页.
二. tsort
拓扑排序, 读取以空格分隔的有序对, 并且依靠输入模式进行排序.
三. uniq
这个过滤器将会删除一个已排序文件中的重复行. 这个命令经常出现在sort命令的管道后边.
四. expand, unexpand
expand命令将会把每个tab转化为一个空格. 这个命令经常用在管道中.
unexpand命令将会把每个空格转化为一个tab. 效果与expand命令相反.
五. cut
一个从文件中提取特定域的工具. 这个命令与awk中使用的print $N命令很相似, 但是更受限. 在脚本中使用cut命令会比使用awk命令来得容易一些. 最重要的选项就是-d(字段定界符)和-f(域分隔符)选项.
六. paste
将多个文件, 以每个文件一列的形式合并到一个文件中, 合并后文件中的每一列就是原来的一个文件. 与cut结合使用, 经常用于创建系统log文件.
七. join
这个命令与paste命令属于同类命令. 但是它能够完成某些特殊的目地. 这个强力工具能够以一种特殊的形式来合并两个文件, 这种特殊的形式本质上就是一个关联数据库的简单版本.
join命令只能够操作两个文件. 它可以将那些具有特定标记域(通常是一个数字标签)的行合并起来, 并且将结果输出到stdout. 被加入的文件应该事先根据标记域进行排序以便于能够正确的匹配.
八. head
把文件的头部内容打印到stdout上(默认为10行, 可以自己修改). 这个命令有一些比较有趣的选项.
九. tail
将一个文件结尾部分的内容输出到stdout中(默认为10行). 通常用来跟踪一个系统logfile的修改情况, 如果使用-f选项的话, 这个命令将会继续显示添加到文件中的行.
十. wc
wc可以统计文件或I/O流中的&#8221;单词数量&#8221;:
十一. fold
将输入按照指定宽度进行折行. 这里有一个非常有用的选项-s, 这个选项可以使用空格进行断行(译者: 事实上只有外文才需要使用空格断行, 中文是不需要的)(请参考例子 12-23和例子 A-1).
十二. fmt
一个简单的文件格式器, 通常用在管道中, 将一个比较长的文本行输出进行&#8221;折行&#8221;.
十三. col
这个命令用来滤除标准输入的反向换行符号. 这个工具还可以将空白用等价的tab来替换. [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/linux-command-deal-with-txt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ScanMon收录的debian学习笔记</title>
		<link>http://jk.aiwaly.com/wp/debian-study-note.html</link>
		<comments>http://jk.aiwaly.com/wp/debian-study-note.html#comments</comments>
		<pubDate>Tue, 18 May 2010 02:24:14 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[网站运维]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2497</guid>
		<description><![CDATA[ScanMon 鹏鹏工作室为大家提供的debian学习笔记希望对学习 debian和ubuntu的朋友们有点用处
Debian是Linux发行版当中最自由的一种。由位于世界各地上千名的自愿者不断开发和维护。它不属于任何的商业公司，完全由开源社区所有。本 笔记记录Debian的相关知识和我在学习中遇到的各种问题及解决方法。该笔记也可说是我学习Linux过程中的积累成果。希望这些文字能帮到正在用 Linux或正想进入Linux这个奇妙世界的朋友。
Debian中代号为Sarge的发行版已获得开放源码发展实验室（OSDL）的电信运营商等级Linux（CGL）规格认证。
debian学习笔记
debian学习笔记资料地址 http://www.scanmon.com/wiki/linux_unix/system/Debian%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0.htm
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/debian-study-note.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>操作系统革命 RevolutionOS</title>
		<link>http://jk.aiwaly.com/wp/revolutionos.html</link>
		<comments>http://jk.aiwaly.com/wp/revolutionos.html#comments</comments>
		<pubDate>Fri, 30 Apr 2010 02:03:16 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[question (问题)]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2403</guid>
		<description><![CDATA[
操作系统革命 RevolutionOS
ScanMon鹏鹏工作室发现讲述了linux 起源，gun起源，free software ， open source 的由来，正因为他们的不懈努力，今天的开源软件才如此繁荣，我们这些系统管理员才有饭吃，感谢阿拉！ 感谢真主！ 哈哈！

"Hello everybody out there using minix——I'm doing a (free) operating system"在1991年的八月，网络上出现了一篇以此为开篇话语的帖子——这是一个芬兰的名为Linus Torvalds的大学生为自己开始写作一个类似minix，可运行在386上的操作系统寻找志同道合的合作伙伴。 

ScanMon 收集了如下资料

  1991年10月5日，Linus Torvalds在新闻组comp.os.minix发布了大约有一万行代码的Linux v0.01版本。 

  到了1992年，大约有1000人在使用Linux，值得一提的是，他们基本上都属于真正意义上的hacker。 

  1993年，大约有100余名程序员参与了Linux内核代码编写/修改工作，其中核心组由5人组成，此时Linux 0.99的代码有大约有十万行，用户大约有10万左右。 

  1994年3月，Linux1.0发布，代码量17万行，当时是按照完全自由免费的协议发布，随后正式采用GPL协议。至此， Linux的代码开发进入良性循环。很多系统管理员开始在自己的操作系统环境中尝试linux，并将修改的代码提交给核心小组。由于拥有了丰富的操作系统平台，因而 Linux的代码中也充实了对不同硬件系统的支持，大大的提高了跨平台移植性。

  1995年，此时的Linux 可在Intel、Digital 以及Sun SPARC处理器上运行了，用户量也超过了50万，相关介绍Linux的Linux Journal杂志也发行了超过10万册之多。 

  1996年6月，Linux 2.0内核发布，此内核有大约40万行代码，并可以支持多个处理器。此时的Linux 已经进入了实用阶段，全球大约有350万人使用。 

http://axinchan.blogchina.com/blog/article_49053.243009.html

  1997年夏，大片《泰坦尼克号》在制作特效中使用的160台Alpha图形工作站中，有105台采用了Linux操作系统。 

  [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/revolutionos.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用Linux操作系统包管理器简化生活</title>
		<link>http://jk.aiwaly.com/wp/linux-system-packet.html</link>
		<comments>http://jk.aiwaly.com/wp/linux-system-packet.html#comments</comments>
		<pubDate>Thu, 29 Apr 2010 08:56:02 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[question (问题)]]></category>
		<category><![CDATA[服务器管理]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/wp/%e7%94%a8linux%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e5%8c%85%e7%ae%a1%e7%90%86%e5%99%a8%e7%ae%80%e5%8c%96%e7%94%9f%e6%b4%bb.html</guid>
		<description><![CDATA[Scanmon 发现许多Linux软件中包含 的包管理器（package manager）可简化整个决策过程，为你节省时间，减轻挫折感。
 在Linux中主要有两个包管理器系统：

用于.deb系统的Debian apt。
用于.rpm系统的Red Hat rpm。

 Mandrivia应用一款叫做urpmi的工具，它是 rpm的唯一自定义版本。（第一个可处理.bz2源档案文件的rmp系统）urpmi和rpm的选项一样，命令行界面也相同，但它们的GUI界面则全然不 同。
 Slackware应用.tgz而非.deb或.rpm，但.tgz文件是一 个.tar.gz档案文件，而不是二进制数据包。因此Slackware实际上并不使用包管理器，而是从源文件建立包管理器。（Slackware是少数 几个依然与UNIX原始模型相似的软件之一，它的每一步安装过程都是对所使用硬件的自定义编译过程。）
 应用包管理器有何优点？
 在系统中安装或卸载软件时，应用包管理器会相对简单。它还可将ld（动态加载 器）添加到新软件的库路径中，并在卸载时删除此路径。
 包管理器有何缺点？
 不管哪种包管理器都有一个主要缺点&#8212;-命令行界面。也就是说，你必须知道 软件包的确切名称才能通过命令行界面来安装或卸载它。GUI版本的包管理器没有这种缺点，因为GUI添加了方便的包浏览功能。
 应该应用包管理器吗？
 对大多数人来说，答案是肯定的。它方便，易用，值得丢掉一些控制。
 丢掉控制是什么意思？当你由源文件建立软件时，对添加的功能、使用的路径以及 安装的位置，你都可以进行控制。但在应用包管理器时，你就不能控制这些选项。你也可以通过命令行界面传递特殊选项来选择安装位置，但是这会影响路径，如果 你不对配置文件进行编辑，使其指向正确的位置，应用程序就会中断。
 应用rumpi的Mandriva&#8217;sDrakx版 本
 我下面将会谈到使用Red Hat的Fedora  RPM包管理器。但是，在我最后一次见到Red Hat产品约六年后，当初阻止我使用Fedora Core  4的问题又再次出现。（有关详情请见我的博客文章—我与Fedora Core 4的不幸遭遇）。
 这整个过程可通过Mandriva控制中心 (Control  Center)的软件管理（Software  Management）块进行访问。（任务栏上的开始按钮/系统，配置/配置计算机）。该控制中心可对系统的各个方面，包括硬件改变，进行全面控制。
添加源文件
 这也叫做增加媒体。包源文件一般保存在CDROM或DVD中。
 在Mandriva中，这一过程十分简单。他们将包管理（Package  Management）分成四个不同的工具，其中之一用于源文件控制（Source Control），称为媒体管理器（Media  Manager）。这是一个相当简单的工具，你只需点击添加（Add）按钮，再选择源文件类型（更新或程序源文件），接下来在出现的列表中选择一个镜像地 址即可。
 上述过程必须重复两次，一次用于更新，另一次用于添加软件的在线资料库。
 在添加过程中，此工具为每种源文件类型下载一个文件。对程序源文件来说，共有 两个文件，Main与Contrib hdlist.cz，其中包含一个有效包的列表。
 [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/linux-system-packet.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“懒惰”Linux：“懒惰”集群管理员的 11 个秘诀</title>
		<link>http://jk.aiwaly.com/wp/landuo-linux-11-yaojue.html</link>
		<comments>http://jk.aiwaly.com/wp/landuo-linux-11-yaojue.html#comments</comments>
		<pubDate>Thu, 29 Apr 2010 08:51:20 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[服务器管理]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2396</guid>
		<description><![CDATA[集群 对于不同的人有不同的含义。在本文的上下文中，集群最好定义为横向扩展（scale-out）——  横向扩展集群一般包含大量相同类型的组件，比如 Web 场、表示场和高性能计算 (HPC)  系统。管理员会告诉您，对于横向扩展集群，必须百千次地重复修改，无论修改是多么小；最懒惰的管理员精通横向扩展管理技术，因此无论节点的数量有多少，需 要的工作量都是相同的。在本文中，作者将泄露世界上最懒惰的 Linux? 管理员的秘诀。
自从世界上最快的 500 台计算机清单于  1998 年首次发布以来，Linux 集群已经从科学实验项目发展成了当今超级计算领域的主流技术。实际上，在 1998 年的 Top 500  清单中 Linux 集群只占据一席（一个集群，一个 Linux 操作系统），但是在 2008 年的清单中占据了五分之四（400 个集群，458 个  Linux 操作系统）。
管理 Linux 集群需要很独特的技能，单一系统或小型连网系统的 IT 管理员往往不具备这些技能。管理 Linux  集群要求管理员深入理解连网、操作系统和体系结构中的所有子系统。
但是，不仅如此：它还要求采取另一种态度。它要求 “懒惰”。它要求管理员听从 Scrooge McDuck 在 Duckburg  中对侄子们的教导：“工作越巧妙，就越轻松” 。
在本文中，我们讨论最懒惰的 Linux  集群管理员的一些秘诀。尽管它们并不是真正的秘诀，但是由于某种原因，人们要么不了解这些思想，要么低估了它们的作用。为了纠正这个问题，我们在讨论这些 秘诀的同时会解释它们的重要性。
这些秘诀是：
1不要开发已有的东西。
2使用开放源码软件。
3将所有东西自动化。
4在设计时就考虑到可伸缩性 —— [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/landuo-linux-11-yaojue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Hat Enterprise Linux 6 beta 刚刚发布</title>
		<link>http://jk.aiwaly.com/wp/red-hat-enterprise-linux-6-beta.html</link>
		<comments>http://jk.aiwaly.com/wp/red-hat-enterprise-linux-6-beta.html#comments</comments>
		<pubDate>Fri, 23 Apr 2010 23:15:08 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[网站运维]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2380</guid>
		<description><![CDATA[鹏鹏工作室获悉：Red Hat刚刚公布了其企业版Linux的最新Beta版，RHEL6 beta，它包含更强大的可伸缩性和虚拟化特性，并全面改进系统资源分配和节能。
新版带来了一个完全重写的进程调度器和一个全新的多处理器锁定机制，并利用NVIDIA图形处理器的优势对GNOME和KDE做了重大升级，新的系统安全 服务守护程序（SSSD）功能允许集中身份管理，而SELinux的沙盒功能允许管理员更好地处理不受信任的内容。 红帽表示，RHEL 6将满足许多企业的未来需求，不管如何改变他们的系统。
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/red-hat-enterprise-linux-6-beta.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache、Tomcat、IIS、 PHP、JSP、ASP共存</title>
		<link>http://jk.aiwaly.com/wp/apache-tomcat-iis-gongcun.html</link>
		<comments>http://jk.aiwaly.com/wp/apache-tomcat-iis-gongcun.html#comments</comments>
		<pubDate>Fri, 19 Mar 2010 05:40:50 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[web应用]]></category>
		<category><![CDATA[网站运维]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2115</guid>
		<description><![CDATA[/*******************/
Title:Apache、Tomcat、IIS(PHP、JSP、ASP）共存时的设置 (windows中)
*******************/
1、分别安装三个环境，并设置不同端口
PHP:80
JSP:8080
ASP:8081
2、 设置/Apache2/conf/httpd.conf
去掉以下三行前的注释：
LoadModule  proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module  modules/mod_proxy_connect.so
LoadModule proxy_http_module  modules/mod_proxy_http.so
加入以下几行：
ProxyPass /jsp http://127.0.0.1:8080
#ProxyPassReverse  /jsp http://127.0.0.1:8080
ProxyPass  /asp http://127.0.0.1:8081
#ProxyPassReverse  http://127.0.0.1:8081
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/apache-tomcat-iis-gongcun.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux文件系统损坏后的远程修复方案</title>
		<link>http://jk.aiwaly.com/wp/linux-fs-repair.html</link>
		<comments>http://jk.aiwaly.com/wp/linux-fs-repair.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 06:55:33 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2112</guid>
		<description><![CDATA[注意：使用fsck一定要先卸载分区,否则后果自负
【一】
是出现经常非法关机,断电,导致文件系统不连续,而在强制检查后不能通过的情况,系统会进入一个修复(repair)模式,
需要远程协助开启network和sshd服务,然后 cd /boot; umount / ; fsck -y  /dev/sda3(假设根目录分区为sda3)
这里可能会有一些不连续或者部分损坏的文件被系统搁置到/lost+found目录下,都以#开头,以节点命名的目录,
需要手动恢复,恢复步骤自行到网上查询,需要确认原来的目录结构
【二】
另外一种比较严重,同样因为某些原因,例如升级内核,例如频繁断电,导致启动到内核后,出现类似以下错误,
Boot error:
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
root (hd0,0)
Filesystem type is ext2fs, partition type 0&#215;83
kernel /vmlinuz-2.6.15.6 ro root=LABLE=/ rhgb quiet
[Linux-bzImage, setup=0x1e00, size=0x1807f8]
initrd /initrd-2.6.15.6.img
[Linux-initrd @ 0x37f82000, 0x6d283 bytes]
Uncompressing Linux&#8230; Ok, booting the kernel.
Red Hat nash version 4.1.18 starting
mkrootdev: label / not found
umount /sys failed:16
mount: error 2 mounting ext3
mount: error 2 mounting none
switchroot: mount [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/linux-fs-repair.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn Linux, 101: Manage shared libraries</title>
		<link>http://jk.aiwaly.com/wp/learn-linux-101-manage-shared-libraries.html</link>
		<comments>http://jk.aiwaly.com/wp/learn-linux-101-manage-shared-libraries.html#comments</comments>
		<pubDate>Tue, 16 Mar 2010 02:27:08 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[English Version]]></category>
		<category><![CDATA[linux 系统]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/wp/learn-linux-101-manage-shared-libraries.html</guid>
		<description><![CDATA[Overview
In this article, learn to find and load the shared  libraries that your                 Linux programs need. Learn to:

Determine which libraries a program needs
Know how the system finds shared libraries
Load shared libraries

This article helps you prepare for Objective 102.3 [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/learn-linux-101-manage-shared-libraries.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

