<?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.187299.com/archives/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.187299.com</link>
	<description>寻觅生命中的那一片浅草......</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:25:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ubuntu添加dvd光盘源</title>
		<link>http://www.187299.com/archives/1657</link>
		<comments>http://www.187299.com/archives/1657#comments</comments>
		<pubDate>Mon, 13 Sep 2010 01:23:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1657</guid>
		<description><![CDATA[操作系统：ubuntu 9.04 准备：光驱、DVD光盘 ｜ dvd的iso镜像文件 ubuntu的dvd包含了很多软件，但安装系统的时候默认并没有安装，限于网络的缘故（网络安装通常都比本地安装慢的多），如果你的... ]]></description>
			<content:encoded><![CDATA[<p>操作系统：ubuntu 9.04</p>
<p>准备：光驱、DVD光盘 ｜ dvd的iso镜像文件</p>
<p>ubuntu的dvd包含了很多软件，但安装系统的时候默认并没有安装，限于网络的缘故（网络安装通常都比本地安装慢的多），如果你的网络不好，将DVD作为源是一种不错的选择。如果你刻录了DVD光盘并且你的电脑安装有dvd光驱，或者你没有iso镜像，请接下去看方案一。如果你有iso文件，也不希望经常使用光驱，可以直接跳到方案二。</p>
<p>方案一：使用DVD光盘</p>
<p>首先把你的光盘放入光驱，待光驱读取一段时间自动挂载后，打开终端，执行：<br />
$ sudo apt-cdrom -m -d /media/cdrom0 add</p>
<p>执行结果如下：<br />
现把 /media/ubuntu-9.04-dvd/ 作为了 CD-ROM 的挂载点<br />
正在鉴别.. [6c9fa028a2a77a6a3b571ccefb68b9ea-2]<br />
正在光盘中查找索引文件..<br />
找到了 2 个软件包索引、0 个源代码包索引、0 个翻译索引和 1 个数字签名<br />
这张光盘现在的名字是：<br />
“Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090421.3)”<br />
正在复制软件包列表……gpgv: 于 2009年04月22日 星期三 03时02分02秒 CST 创建的签名，使用 DSA，钥匙号 FBB75451<br />
gpgv: 完好的签名，来自于“Ubuntu CD Image Automatic Signing Key &lt;cdimage@ubuntu.com&gt;”<br />
Reading Package Indexes... 完成<br />
正在写入新的软件包源列表<br />
对应于该光盘的软件包源设置项是：<br />
deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090421.3)]/ jaunty main restricted<br />
请对您的光盘套件中的其它光盘重复相同的操作。<br />
W: Skipping non-exisiting file /media/ubuntu-9.04-dvd/dists/jaunty/main/binary-i386/Packages<br />
W: Skipping non-exisiting file /media/ubuntu-9.04-dvd/dists/jaunty/main/debian-installer/binary-i386/Packages<br />
W: Skipping non-exisiting file /media/ubuntu-9.04-dvd/dists/jaunty/restricted/binary-i386/Packages</p>
<p>然后执行：sudo apt-get update 就可以安装你想要到软件了。</p>
<p>注意，执行完成后查看/etc/apt/sources.list文件，确保文件如下一行在文件顶部或者在网络源前面，否者，安装软件的时候系统还是优先从网络上下载。</p>
<p>deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090421.3)]/ jaunty main restricted</p>
<p>方案二：使用iso镜像</p>
<p>首先，你必须先挂载你的iso镜像文件。</p>
<p>$ sudo mount -o loop -t iso9660 /.../ubuntu-9.04-dvd-i386.iso /media/cdrom0/ （红色部分为你的iso文件的绝对路径）</p>
<p>$ sudo apt-cdrom -m -d /media/cdrom0 add</p>
<p>这样就同方案一显示的一样。推荐使用方案二，一来操作方便，二来可以减少光驱的使用次数，延长其寿命。</p>
<p>转自：http://stulog.com/?post=5</p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1657/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chkconfig在ubuntu里用什么命令替代</title>
		<link>http://www.187299.com/archives/1361</link>
		<comments>http://www.187299.com/archives/1361#comments</comments>
		<pubDate>Wed, 25 Nov 2009 01:27:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1361</guid>
		<description><![CDATA[# update-rc.d sshd defaults          # Activate sshd with the default runlevels # update-rc.d sshd start 20 2 3 4 5 . stop 20 0 1 6 .  # With explicit arguments # update-rc.d -f sshd remove         # Disable sshd for all runlevels # shu... ]]></description>
			<content:encoded><![CDATA[<p># update-rc.d sshd defaults          # Activate sshd with the default runlevels<br />
# update-rc.d sshd start 20 2 3 4 5 . stop 20 0 1 6 .  # With explicit arguments<br />
# update-rc.d -f sshd remove         # Disable sshd for all runlevels<br />
# shutdown -h now (or # poweroff)    # Shutdown and halt the system</p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1361/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

