<?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; configure</title>
	<atom:link href="http://blog.thematice.com/html/ytag/configure/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.thematice.com</link>
	<description>发现自己的脑袋不好使了，用blog来记录真的很好用。</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:33:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>《Linux的snmp》练习题</title>
		<link>http://blog.thematice.com/html/y2009/522_linux-snmp-tes.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-snmp-tes</link>
		<comments>http://blog.thematice.com/html/y2009/522_linux-snmp-tes.html#comments</comments>
		<pubDate>Wed, 03 Jun 2009 08:53:20 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux shell]]></category>
		<category><![CDATA[Linux tools]]></category>
		<category><![CDATA[cacit]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[snmpd]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=522</guid>
		<description><![CDATA[1)配置snmp,编辑/etc/snmp/snmpd.conf 1.1)首选是定义一个共同体名(community),这里是public,及可以访问这个public的用户名(sec name)，这里是notConfigUser。Public相当于用户notConfigUser的密码 1.2)定义一个组名（groupName）这里是notConfigGroup，及组的安全级别，把notConfigUser这个用户加到这个组中。 1.3)定义一个可操作的范围(view)名， 这里是all，范围是 .1 1.4)定义notConfigUser这个组在all这个view范围内可做的操作，这时定义了notConfigUser组的成员可对.1这个范围做只读操作。 1.5)重启snmpd服务 1.6)列出snmpd开放端口 参考答案: vi /etc/snmp/snmpd.conf 做如下修改: # sec.name source community com2sec notConfigUser default public # groupName securityModel securityName group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser # name incl/excl subtree mask(optional) view all included .1 # group context sec.model sec.level prefix read write notif access notConfigGroup “” [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2009/522_linux-snmp-tes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL配置文件my.cnf 例子最详细翻译,可以保存做笔记用。</title>
		<link>http://blog.thematice.com/html/y2009/499_mysql-configuration-file-mycnf-examples-of-the-most-detailed-translation-notes-can-be-saved-with.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-configuration-file-mycnf-examples-of-the-most-detailed-translation-notes-can-be-saved-with</link>
		<comments>http://blog.thematice.com/html/y2009/499_mysql-configuration-file-mycnf-examples-of-the-most-detailed-translation-notes-can-be-saved-with.html#comments</comments>
		<pubDate>Tue, 26 May 2009 11:18:36 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[dba]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[my.cnf]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=499</guid>
		<description><![CDATA[MySQL配置文件my.cnf 例子最详细翻译,可以保存做笔记用。 ?Download my.cnf1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2009/499_mysql-configuration-file-mycnf-examples-of-the-most-detailed-translation-notes-can-be-saved-with.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用ulimit和proc去调整系统参数</title>
		<link>http://blog.thematice.com/html/y2009/421_use-ulimit-and-system-parameters-to-adjust-proc.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-ulimit-and-system-parameters-to-adjust-proc</link>
		<comments>http://blog.thematice.com/html/y2009/421_use-ulimit-and-system-parameters-to-adjust-proc.html#comments</comments>
		<pubDate>Mon, 18 May 2009 03:22:33 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[proc]]></category>
		<category><![CDATA[ulimit]]></category>
		<category><![CDATA[优化]]></category>
		<category><![CDATA[内核]]></category>
		<category><![CDATA[参数]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=421</guid>
		<description><![CDATA[在使用linux做为关键应用的过程中，特别是大压力负载的时候，经常会遇到一些诸如“too many open files”，“系统默认最大线程数是多少？如何调整？”等问题。此时，我们就必须使用ulimit或proc去调整系统的某些参数。 一、区别 ulimit和对proc目录都可以作出某些限制，但它们之间是有区别的： 1、ulimit命令： 1）直接使用ulimit命令，只对当前tty（终端有效），若要每次都生效的话，可以把ulimit参数放到对应用户的.bash_profile里面； 2）针对所有用户的设置，在/etc/security/limits.conf文件，其是可以对系统用户、组进行cpu、文件数等限制的，通过它可以针对某个用户或全部进行限制。但不能超越系统的限制； （*表示所有用户、soft表示可以超出，但只是警告；hard表示绝对不能超出） 3）另一方法是，如果想对所有用户设置，也可以放在/etc/profile文件里面，下面是该文件里面的默认参数： 引用 ulimit -S -c 0 > /dev/null 2>&#038;1 2、/proc目录： 1）/proc目录里面包括很多系统当前状态的参数，例如： 引用 /proc/sys/fs/file-max /proc/sys/fs/inode-max 是对整个系统的限制，并不是针对用户的； 2）proc目录中的值可以进行动态的设置，若希望永久生效，可以修改/etc/sysctl.conf文件，并使用下面的命令确认： # sysctl -p 例如增加： 引用 fs.file-max=xxx fs.inode-max=xxx 二、ulimit命令简介 （以下引用网上的部分资料） 1、说明: ulimit用于shell启动进程所占用的资源. 2、类别: shell内建命令 3、语法格式: ulimit [-acdfHlmnpsStvw] [size] 4、参数介绍: 引用 -H 设置硬件资源限制. -S 设置软件资源限制. -a 显示当前所有的资源限制. -c size:设置core文件的最大值.单位:blocks -d size:设置数据段的最大值.单位:kbytes [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2009/421_use-ulimit-and-system-parameters-to-adjust-proc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何编译配置Apache中的Configure</title>
		<link>http://blog.thematice.com/html/y2007/4_%e5%a6%82%e4%bd%95%e7%bc%96%e8%af%91%e9%85%8d%e7%bd%aeapache%e4%b8%ad%e7%9a%84configure.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%25a6%2582%25e4%25bd%2595%25e7%25bc%2596%25e8%25af%2591%25e9%2585%258d%25e7%25bd%25aeapache%25e4%25b8%25ad%25e7%259a%2584configure</link>
		<comments>http://blog.thematice.com/html/y2007/4_%e5%a6%82%e4%bd%95%e7%bc%96%e8%af%91%e9%85%8d%e7%bd%aeapache%e4%b8%ad%e7%9a%84configure.html#comments</comments>
		<pubDate>Wed, 10 Oct 2007 02:53:50 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[Linux tools]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gruelstate.cn/?p=4</guid>
		<description><![CDATA[./Configure文件是一个经常被遗忘的Apache工具。本文介绍如何用. /Configure进行编译配置，避免每次编译Apache时进行重复的操作。文章比较了常规方法与使用./Configure这两者各自的优缺点以及 如何手工编辑配制文件进行编译配置。 一、优缺点比较 我们知道，配制Apache编译选项使用的是configure。但除此之外，我们还可以使用Configure。注意两者的差别：常用的那个配制工具是小写c开头的“configure”，这里要讨论的“Configure”以大写的C开头。 解开Apache源代码之后，configure脚本位于顶级目录下面。一般我们按照如下步骤使用它： tar -zvxf apache_1.3.14.tar.gz cd apache_1.3.14 ./configure &#8211;prefix=/usr/local/apache make make install Configure是位于src子目录下的脚本。它的参数不是通过命令行指定，而是在一个名为Configuration的配置文件中指定。Apache提供一个默认的配置模板文件Configuration.tmpl，其中包含了通用的默认配置值。 用Configure进行默认安装的过程如下： tar -zvxf apache_1.3.14.tar.gz cd apache_1.3.14/src cp -f Configuration.tmpl Configuration vi Configuration &#8230; 如必要，修改默认配置值 ./Configure make make install 缺点 用Configure进行配制有几个明显的缺点，至少对初学者来说是这样的。 首先，这种配制方法并不广为人知。只要是对开放源代码软件有所了解的人，解开源代码并进入它的目录之后，或许会对它的configure脚本感到熟悉，但往往不会进入src子目录去寻找其他什么东西。 即使知道可以用Configure进行编译配制，Configuration文件本身也可能成为小小的障碍。这是因为，虽然 Configuration文件内部包含的说明相当完善，每一行都有丰富的注解说明其作用，但这个文件实在过于庞大，包含了许多大多数人永远不想要加以定 制的选项。 最后，虽然有关这两种配制方法差别的资料略显缺乏，但总地看来初学者最好使用configure，而Configure只适合于经验丰富的用户使用。虽然这并不能算是一个真正的缺点，但它无疑使许多用户驻足而不敢尝试。 优点 使用Configure进行编译配制最大的优点在于，它方便了我们将特定的配置信息保存下来以后再用，无需记住冗长的configure命令行选项。 例如，本人上次编译Apache时使用的configure命令如下： ./configure &#8211;prefix=/usr/local/apache &#8211;enable-module=most &#8211;enable-shared=max &#8211;enable-module=auth_dbm &#8211;enable-module=auth_mysql 这还应该算是一次比较简单的编译。问题在于，即使是输入上面这行命令，我也要查看各种参数的语法并努力记住各个模块的名字。对于大多数人来说这并不是一个很重要的问题，但由于我经常要重新构造Apache，这个问题就显得比较突出了。 configure也有它的好处，它实际上会在src目录下生成一个配制文件，我们可以保存这个文件供以后参考。这个文件就是src/Configuration.apaci。 如果我们为测试目的构造Apache，完成后又要在正式运行的系统上以完全相同的方式构造Apache，configure的这个功能将是 非常有用的。此时，我们只需要复制一份Configuration.apaci文件，将它拷贝到正式运行的服务器上，然后用这个文件编译Apache服务 [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2007/4_%e5%a6%82%e4%bd%95%e7%bc%96%e8%af%91%e9%85%8d%e7%bd%aeapache%e4%b8%ad%e7%9a%84configure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

