<?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; Ubuntu</title>
	<atom:link href="http://www.nupt.org/category/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nupt.org</link>
	<description>生活如画</description>
	<lastBuildDate>Sat, 04 Sep 2010 15:16:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>在Ubuntu下安装MySQL</title>
		<link>http://www.nupt.org/133</link>
		<comments>http://www.nupt.org/133#comments</comments>
		<pubDate>Wed, 07 May 2008 05:54:15 +0000</pubDate>
		<dc:creator>soz</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.nupt.org/133</guid>
		<description><![CDATA[心血来潮，突然想在Ubuntu下安装Apache＋PHP＋MySQL。于是，就跑到了官方下载Mysql的二进制包。本来在Ubuntu下可以通过 apt-get install mysql&#160; 获得MySQL的，但是我实在不知道这样安装之后的文件分布是如何的。尽管官方有说明，尽管安装起来也十分的方便，但是还是想尝试一下手动安装。 需要说明的是，Soz 此次是安装二进制的 MySQL。也就是说，不是从源代码安装，这也就意味着我们省去了编译这一步。如果有特殊需要的话，还是可以从源代码进行编译安装的。 从这里下载MySQL5.0，我们选择的是台湾的镜像。一般的话，如果是用Firefox下载的话，文件会保存到 /home/user/这个文件夹里面的，这里的user指的是你的用户名。举个例子，我的机器上保存在 /home/soz/ 上。 我们下载的是一个 .tar.gz 的压缩包。按照道理，我们应该进行解压了。但是，我们还是稍微等等好了。因为目前我们有更重要的任务：先创建执行mysql 服务的用户。 在Ubuntu中 ，是使用sudo 来获得root权限的。为了方便，我们直接使用root用户。执行 sudo su 然后输入密码就可以了。 下面我们来建立一个用户mysql。在建立之前，我们现找找看有没有这个用户，没有才开始建立嘛，养成一个好习惯。 查找用户 grep mysql /etc/passwd 如果没有，我们就可以开始建立了。 现建立一个组，名字为mysql groupadd -g 451 mysql 再建立一个用户，名字同样为mysql useradd -u 451 -g 451 -d &#8230; <a href="http://www.nupt.org/133">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.nupt.org/133/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
