<?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; CentOS学习笔记</title>
	<atom:link href="http://laoyu.info/archives/tag/centos%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0/feed" rel="self" type="application/rss+xml" />
	<link>http://laoyu.info</link>
	<description>Dreams are hard to follow,but dont let anyone tear them away!Hold on!</description>
	<lastBuildDate>Tue, 09 Feb 2010 07:55:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS学习笔记（4）webmin中建立虚拟主机</title>
		<link>http://laoyu.info/archives/524.html</link>
		<comments>http://laoyu.info/archives/524.html#comments</comments>
		<pubDate>Thu, 09 Jul 2009 00:52:00 +0000</pubDate>
		<dc:creator>老余</dc:creator>
				<category><![CDATA[技术·学习]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[CentOS学习笔记]]></category>

		<guid isPermaLink="false">http://laoyu.info/archives/524.html</guid>
		<description><![CDATA[apache玩的还是不熟悉，在windows下的傻瓜化操作导致现在在centos中建立虚拟主机出现了很多的问题，也费了我不少时间一个一个的整明白。一定要记录一下
webmin中在apache里面create virtual host中可以建立虚拟主机，我在本地的vmware中测试，通过vmware的nat网络和centos连接，然后windows作为客户端，修改了hosts文件指定域名解析。
也可以直接修改apache的配置文件来增加虚拟主机。

在apache中配置虚拟主机的大致方法如下：
修改apache的配置文件httpd.conf，在里面加入      NameVirtualHost *:80       &#60;VirtualHost *:80&#62;       &#160;&#160;&#160; DocumentRoot &#34;/var/www/html2&#34;       &#160;&#160;&#160; ServerName www.laoyu.info&#160; &#160;&#160;&#160; &#60;Directory &#34;/var/www/html2&#34;&#62;       &#160;&#160;&#160; allow from all       [...]]]></description>
		<wfw:commentRss>http://laoyu.info/archives/524.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CentOS学习笔记（2）</title>
		<link>http://laoyu.info/archives/487.html</link>
		<comments>http://laoyu.info/archives/487.html#comments</comments>
		<pubDate>Thu, 02 Jul 2009 06:44:37 +0000</pubDate>
		<dc:creator>老余</dc:creator>
				<category><![CDATA[技术·学习]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[CentOS学习笔记]]></category>
		<category><![CDATA[CentOS安装Mysql]]></category>
		<category><![CDATA[CentOS安装PHP]]></category>

		<guid isPermaLink="false">http://laoyu.info/?p=487</guid>
		<description><![CDATA[我这两天玩CentOS的东西记录一下，主要是PHP安装和卸载，Mysql的安装，其中在卸载自带的PHP，安装最新版的PHP5.3的时候碰到了困难，尚在摸索中。
centos安装mysql步骤：



# yum search mysql //搜索升级库里的相关软件包


# yum install mysql-server


# service mysqld start //启动服务


# mysql -u root -p


&#160;


mysql&#62; use mysql;


mysql&#62; show tables;



升级centos默认的PHP5.1.6到5.2



# rpm &#8211;import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka


# vi /etc/yum.repos.d/utterramblings.repo


增加新的系统升级源：


&#91;utterramblings&#93;


name=Jason Utter Ramblings Repo


baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/


enabled=1


gpgcheck=1


gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka



# yum update php
卸载PHP



# rpm -qa&#124;grep PHP //找出已经安装的相关软件


#rpm -e PHP-5.1.6XXXXX //卸载


&#160;


#wget http://cn.php.net/get/php-5.3.0.tar.bz2/from/this/mirror


#bunzip2 php-5.3.0.tar.bz2


#tar xvf php-5.3.0


#cd php-5.3.0



相关文章

2009-07-09CentOS学习笔记（4）webmin中建立虚拟主机 (4)
2009-07-06CentOS学习笔记（3）用免费的webmin管理网站 (0)
2009-07-01CentOS学习笔记（1） (0)
2007-12-14迅雷下载电驴资源速度真快 (2)

]]></description>
		<wfw:commentRss>http://laoyu.info/archives/487.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
