<?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>56博 &#187; Centos</title>
	<atom:link href="http://www.56bo.com/tag/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.56bo.com</link>
	<description>创意多姿生活,尽享博客乐趣</description>
	<lastBuildDate>Thu, 26 Jan 2012 04:24:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS5.3编译mod_ruby-1.3.0出错解决办法</title>
		<link>http://www.56bo.com/jishu/429</link>
		<comments>http://www.56bo.com/jishu/429#comments</comments>
		<pubDate>Tue, 13 Oct 2009 02:28:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术大类]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.56bo.com/?p=429</guid>
		<description><![CDATA[在Centos 5.3编译mod_ruby-1.3.0会出错
./configure.rb &#8211;with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install&#8230; /usr/bin/install -c
checking whether we are using gcc&#8230; yes
checking Ruby version&#8230; 1.8.5
checking for static Apache module support&#8230; no
checking for dynamic Apache module support&#8230; yes
creating Makefile
creating libruby.module
creating doc/Makefile

After some make he stopt in apachelib.c with this error:
apachelib.c: In function .ap_chdir_file.:
apachelib.c: 149: take care: the returnvalue of .chdir ., declared [...]]]></description>
			<content:encoded><![CDATA[<h2>在Centos 5.3编译mod_ruby-1.3.0会出错</h2>
<p>./configure.rb &#8211;with-apr-includes=/usr/include/apr-1<br />
checking for a BSD compatible install&#8230; /usr/bin/install -c<br />
checking whether we are using gcc&#8230; yes<br />
checking Ruby version&#8230; 1.8.5<br />
checking for static Apache module support&#8230; no<br />
checking for dynamic Apache module support&#8230; yes<br />
creating Makefile<br />
creating libruby.module<br />
creating doc/Makefile<br />
<span id="more-429"></span><br />
After some make he stopt in apachelib.c with this error:<br />
apachelib.c: In function .ap_chdir_file.:<br />
apachelib.c: 149: take care: the returnvalue of .chdir ., declared with .warn_unused_result. attribut, is ignored<br />
apachelib.c: 154: take care: the returnvalue of .chdir ., declared with .warn_unused_result. attribut, is ignored<br />
apachelib.c: In function .rb_init_apache. :<br />
apachelib.c: 374: error: .OPT_INCNOEXEC. undeclared (first use in this function)<br />
apachelib.c: 374: error: (Each undeclared identifire is reported only once<br />
apachelib.c: 374: error: for each function it appears in.)<br />
make: *** [apachelib.o] error 1<br />
解决方法</p>
<p>&#8220;OPT_INCNOEXEC&#8221; that is not defined in latest httpd-devel version at CentOS 5.3&#8230;.</p>
<p>add underlast line to mod_ruby-1.3.0/apachelib.h<br />
<strong>在apachelib.h文件中增加一行：粗体部分<br />
</strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#ifndef APACHELIB_H<br />
#define APACHELIB_H<br />
<strong>#define OPT_INCNOEXEC 32</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.56bo.com/jishu/429/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos5.2安装GNOME环境</title>
		<link>http://www.56bo.com/jishu/414</link>
		<comments>http://www.56bo.com/jishu/414#comments</comments>
		<pubDate>Sun, 16 Aug 2009 14:41:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术大类]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[XEN]]></category>

		<guid isPermaLink="false">http://www.56bo.com/?p=414</guid>
		<description><![CDATA[最近使用Centos5.2安装XEN虚拟机时不小心卸载了GNOME ，导致管理xen有点麻烦！在网上搜索了一下资料供大家安装桌面环境的时候使用：
1、在网络环境下，可以直接使用yum groupinstall &#8220;GNOME Desktop Environment&#8221;安装
2、本地安装方式（使用光盘安装模式）：
    a)将光盘加载到本地 mount /dev/cdrom /mnt/cdrom
    b)在/etc/yum.repos.d/目录下，有两个文件
        CentOS-Base.repo和CentOS-Media.repo
        其中CentOS-Base.repo记录着网络上的yum源的地址和路径信息等
        CentOS-Media.repo记录着可以从本地作为yum源的介质和路径。
        修改CentOS-Media.repo
       [...]]]></description>
			<content:encoded><![CDATA[<p>最近使用Centos5.2安装XEN虚拟机时不小心卸载了GNOME ，导致管理xen有点麻烦！在网上搜索了一下资料供大家安装桌面环境的时候使用：<br />
1、在网络环境下，可以直接使用yum groupinstall &#8220;GNOME Desktop Environment&#8221;安装<br />
2、本地安装方式（使用光盘安装模式）：<br />
    a)将光盘加载到本地 mount /dev/cdrom /mnt/cdrom<br />
    b)在/etc/yum.repos.d/目录下，有两个文件<br />
        CentOS-Base.repo和CentOS-Media.repo<br />
        其中CentOS-Base.repo记录着网络上的yum源的地址和路径信息等<br />
        CentOS-Media.repo记录着可以从本地作为yum源的介质和路径。<br />
        修改CentOS-Media.repo<br />
        <span id="more-414"></span><br />
            [c5-media]<br />
            name=CentOS-$releasever &#8211; Media<br />
            baseurl=file:///media/CentOS/<br />
                    file:///media/cdrom/<br />
                    file:///media/cdrecorder/<br />
                    file:///mnt/cdrom    #增加这句<br />
            gpgcheck=1<br />
            enabled=0<br />
            gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta</p>
<p>        编辑完成后保存，执行以下命令<br />
        yum &#8211;disablerepo=* &#8211;enablerepo=c5-media update</p>
<p>    c)执行yum &#8211;disablerepo=* &#8211;enablerepo=c5-media grouplist 查看哪些组件可以选装（X Window System和GNOME Desktop Environment）；<br />
      执行yum &#8211;disablerepo=* &#8211;enablerepo=c5-media groupinstall &#8220;GNOME Desktop Environment&#8221;，<br />
      如果提示 Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto ，<br />
      则在光盘CentOS目录下执行rpm -Uvh nautilus-sendto-0.7-5.fc6.i386.rpm，<br />
      如果提示有依赖关系，加上&#8211;nodeps选项，再执行yum &#8211;disablerepo=* &#8211;enablerepo=c5-media groupinstall &#8220;GNOME Desktop Environment&#8221;即可，<br />
      安装GNOME的时候，yum会自动按照依赖关系把X Window安装上去的。</p>
<p>    d)启动gnome desktop命令：startx </p>
]]></content:encoded>
			<wfw:commentRss>http://www.56bo.com/jishu/414/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

