<?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>only you &#187; Ubuntu</title>
	<atom:link href="http://onlyn.info/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://onlyn.info</link>
	<description>你，一会看我，一会看云。 我觉得，你看我时很远，你看云时很近。</description>
	<lastBuildDate>Sun, 14 Aug 2011 15:39:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>制作不用密码可立即登入的 ssh 用户</title>
		<link>http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/</link>
		<comments>http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 14:32:48 +0000</pubDate>
		<dc:creator>coodar</dc:creator>
				<category><![CDATA[网络应用]]></category>
		<category><![CDATA[随感]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://onlyn.info/?p=163</guid>
		<description><![CDATA[<a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/" title="制作不用密码可立即登入的 ssh 用户"></a>如果在ubuntu下用ssh命令登录主机的话，总是会要求你输入密码，那么有什么法子可以不用密码直接登录呢？ 原先我用的是在主机cpanel的ssh-key manage里，先创建一个key，然后下载private key，放在ubuntu下的~/.ssh目录下，这样即可。 如图： 第二种方法就是在ubuntu本地创建key，然后上传到sever上。 首先，先在 Client 上面创建 Public Key 跟 Private Key 这两把钥匙，利用的指令为 ssh-keygen 这个命令；再来，将 Private Key 放在 Client 上面的家目录，亦即 $HOME/.ssh/ ， 并且修改权限为仅有该 User 可读的状态； 最后，将那把 Public Key 放在任何一个您想要用来登录的主机的 Server 端的某 User 的家目录内之 .ssh/ 里面的认证文件即可完成整个程序。 测试一下。输入 ssh test@linux。 &#8230;<p class="read-more"><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/" title="制作不用密码可立即登入的 ssh 用户"></a><p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->如果在<span style="font-family: AR PL UMing CN,serif;">ubuntu</span>下用<span style="font-family: AR PL UMing CN,serif;">ssh</span>命令登录主机的话，总是会要求你输入密码，那么有什么法子可以不用密码直接登录呢？</p>
<p>原先我用的是在主机<span style="font-family: AR PL UMing CN,serif;">cpanel</span>的<span style="font-family: AR PL UMing CN,serif;">ssh-key manage</span>里，先创建一个<span style="font-family: AR PL UMing CN,serif;">key</span>，然后下载<span style="font-family: AR PL UMing CN,serif;">private key</span>，放在<span style="font-family: AR PL UMing CN,serif;">ubuntu</span>下的<span style="font-family: AR PL UMing CN,serif;">~/.ssh</span>目录下，这样即可。</p>
<p>如图：</p>
<p><a class="tt-flickr tt-flickr-Large" title="cpanel ssh" href="http://www.flickr.com/photos/coodar/4271703542/"><img class="alignnone" src="http://farm5.static.flickr.com/4016/4271703542_930df72ce5_o.png" alt="cpanel ssh" width="749" height="396" /></a></p>
<p>第二种方法就是在ubuntu本地创建key，然后上传到sever上。</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<ol>
<li>首先，先在 <span style="font-family: AR PL UMing CN,serif;">Client </span>上面创建 <span style="font-family: AR PL UMing CN,serif;">Public Key </span>跟 	<span style="font-family: AR PL UMing CN,serif;">Private Key </span>这两把钥匙，利用的指令为 	<span style="font-family: AR PL UMing CN,serif;">ssh-keygen </span>这个命令；再来，将 <span style="font-family: AR PL UMing CN,serif;">Private 	Key </span>放在 <span style="font-family: AR PL UMing CN,serif;">Client </span>上面的家目录，亦即 <span style="font-family: AR PL UMing CN,serif;">$HOME/.ssh/ </span>， 并且修改权限为仅有该 <span style="font-family: AR PL UMing CN,serif;">User </span>可读的状态；
<p><a class="tt-flickr tt-flickr-Large" title="创建key" href="http://www.flickr.com/photos/coodar/4271704228/"><img class="alignnone" src="http://farm5.static.flickr.com/4061/4271704228_9aa6878cac_o.png" alt="创建key" width="616" height="350" /></a></li>
<li>最后，将那把 <span style="font-family: AR PL UMing CN,serif;">Public 	Key </span>放在任何一个您想要用来登录的主机的 	<span style="font-family: AR PL UMing CN,serif;">Server </span>端的某 <span style="font-family: AR PL UMing CN,serif;">User </span>的家目录内之 <span style="font-family: AR PL UMing CN,serif;">.ssh/ </span>里面的认证文件即可完成整个程序。<a class="tt-flickr tt-flickr-Large" title="上传公钥" href="http://www.flickr.com/photos/coodar/4271704446/"><img class="alignnone" src="http://farm3.static.flickr.com/2746/4271704446_0f0d181e42_o.png" alt="上传公钥" width="577" height="190" /></a></li>
<li>测试一下。输入 ssh test@linux。</li>
</ol>
<p>注释：test为你的id。test2是你的ubuntu机器名字。linux就是主机服务器地址了。上图中192.168.0.2是主机ip地址，写域名也行。</p>
<p>两种方法都可以，任选一个。如果你喜欢命令行就用第二种方法吧。呵呵。</p>
<p>可具体参考<a href="http://onlyn.info/zdc">鸟哥的linux私房菜</a>。</p>
<hr /><h2>Comments</h2><ul><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月13日</a>, <a href='http://zhaolianlin.com' rel='external nofollow' class='url'>JasonChao</a> writes: 图片都显示不出来，呵呵</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月13日</a>, <a href='http://obugs.net' rel='external nofollow' class='url'>第三眼</a> writes: 方法不错，图片需翻墙，flickr，哎</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月13日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 哎，我一天到晚都是开着ssh的，谁知道flickr居然挂了。
万恶的gfw啊，我blog里所有图片都放在flickr上了。
难道真的要把图片放在国内？我怕哪天公司挂了，链接又失效。
难啊！</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月13日</a>, <a href='http://obugs.net' rel='external nofollow' class='url'>第三眼</a> writes: 除了flickr之外还有很多选择嘛，国外的会挂是必然的，这是大势所趋</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月13日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 支持外链的不多阿。有啥推荐的吗？</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月14日</a>, <a href='http://joyla.srt24.idcwind.net/' rel='external nofollow' class='url'>joyla</a> writes: 这个我要学习！呵呵！</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月14日</a>, <a href='http://www.awuit.com' rel='external nofollow' class='url'>阿吴</a> writes: 我还可以看到图片</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月14日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 可能是flickr又解封了。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月14日</a>, <a href='http://obugs.net' rel='external nofollow' class='url'>第三眼</a> writes: photobucket 或者 tinypic</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月14日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 不错，我之所以用flickr就是它的扩展性强点，wordpress有一个插件Flickr Photo Album很方便，可以直接调取flickr的图片插入post，就不用自己复制粘贴外链了。
现在可以考虑换换了。呵呵。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月15日</a>, <a href='http://shuaige.me' rel='external nofollow' class='url'>ShuaiGe.Me</a> writes: Flickr，我们俩都杯具了。。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月16日</a>, <a href='http://blog.zhengyuzhong.com' rel='external nofollow' class='url'>羽中</a> writes: flickr现在可以访问啊？只是外链被墙。。？SSH至今搞不懂是啥 - -</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月18日</a>, <a href='http://mulnim.com' rel='external nofollow' class='url'>mulnim</a> writes: ubuntu 到现在我还没玩转呢。。。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月19日</a>, <a href='http://littlebear.dyndns.org' rel='external nofollow' class='url'>littlebear</a> writes: 不是自动加入的吗？ 怎么你弄的那么复杂啊？</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月19日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 自动加入？连上ssh要嘛密码，要嘛key，只有这两种。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月19日</a>, <a href='http://blog.okkey.net' rel='external nofollow' class='url'>Kada</a> writes: 博主对UBUNTU也有研究啊！</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月19日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 正在用着呢。也谈不上研究。呵呵。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月20日</a>, <a href='http://www.softjie.cn' rel='external nofollow' class='url'>popo</a> writes: 软件街前来围观</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月23日</a>, <a href='http://www.9sh.net' rel='external nofollow' class='url'>仁心博客</a> writes: 研究研究一下</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年01月25日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: ssh，简单的说就是一种安全的传输模式，gfw就不能拦截了，所以用作翻墙。
类似于https。</li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/">2010年02月3日</a>, <a href='http://www.lokers.cn' rel='external nofollow' class='url'>loker</a> writes: 看不到图</li></ul><hr /><small>Copyright &copy; 2010<br /> 知识共享署名-非商业性使用-禁止演绎 注意：转载勿改标题！onlyn.info--rakugun's blog<br /> (Digital Fingerprint: 1ba59ab30894d0f79b8c2512199bf0bc)</small><br />
 欢迎关注<a href="http://twitter.com/coodar" title="我的微博">我的微博</a> 访问<a href="http://www.google.com/reader/shared/coodar" title="我的分享">我的分享</a>
]]></content:encoded>
			<wfw:commentRss>http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>用ultraiso烧录U盘安装ubuntu 10.04</title>
		<link>http://onlyn.info/2009/12/31/ubuntu-install/</link>
		<comments>http://onlyn.info/2009/12/31/ubuntu-install/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 05:01:21 +0000</pubDate>
		<dc:creator>coodar</dc:creator>
				<category><![CDATA[随感]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ultraiso]]></category>
		<category><![CDATA[U盘]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[xp]]></category>
		<category><![CDATA[系统]]></category>

		<guid isPermaLink="false">http://onlyn.info/?p=150</guid>
		<description><![CDATA[<a href="http://onlyn.info/2009/12/31/ubuntu-install/" title="用ultraiso烧录U盘安装ubuntu 10.04"></a>上周日，突发感想，想装win7，由于没有光驱，主要是觉得用得不多，就省钱没买。于是用网上的教程，用usb启动安装。主要原理就是用ultraiso烧录系统镜像到usb，把usb的启动方式改为usb-hdd。也就是把usb变成光碟了。从Windows7en论坛上看到的，由于要注册才能看到，我拷贝到了google docs，有兴趣的人可以看一下图文详解：用UltraISO刻录U盘安装系统。 实验了一下，是可行的。但是我在安装过程中遇到了点麻烦，在安装win7时，格式化了c盘和d盘，保留E盘。C盘是系统盘，D盘是安装软件用，E盘是资料盘。格完之后，未使用空间不能合并，因为是不连续的，原来多少空间就多少，不能再任意分割了。而win7的系统盘最少30~40G左右，而xp我只分了15G。明显不够用，没办法，我只能继续安装。 安装完后，C盘的win7系统容量占了10G左右，只剩下了5G,明显不够用，为了扩充C盘，自然而然的想到了PQ，但是在win7下，PQ是不兼容的。放弃PQ后，网上有人推荐用Acronis Disk Director Suite 10.0，但是还是没成功，据说是因为在xp下用过PQ分区，而PQ很弱智的缘故。呵呵。于是又尝试了win7自带的分区工具，disk manager，然后悲剧开始了，我在删除一个盘的时候，老半天没反应，我以为死机了，于是重启，之后等待我的，就是Windows文件已损坏，进不了系统，试过恢复模式，但在进度条那里卡住了，毫无进展。第一天就这么结束了。 第二天下班后，放弃了重装win7，而是老老实实的想回到xp，还是老问题，没光驱就用U盘安装，但是没成功，据说是xp其实不支持用U盘安装，一进入安装界面，就提醒我txtsetup.sif被破坏，找不到。又是失败的一个晚上。今天同事发现了一个方法，并且安装成功。WinSetupFromUSB(制作U盘安装操作系统)，不过我已经投入ubuntu的怀抱了。呵呵。 第三天，我终于下定决心彻底用ubuntu 10.04，而以前只是用vm虚拟机。 1、安装ubuntu 10.04的镜像是在台湾的镜像点下载的。这个下载速度挺快的。下载源地址可以参考ubuntu源列表。 2、用ultraiso烧录系统镜像到U盘。方法同win7.只是在便捷启动里选择“写入新的引导扇区”syslinux。 3、烧录成功后，改bios的第一启动方式为usb-hdd，之后就和安装livecd光碟一样了。 但是我也吸取了很多教训，花了两个晚上才安装成功。 主要是关于分区方案的选择，我的方案是： 1、/boot 100MB 2、/ 根目录 10G 安装ubuntu系统用，一般7~8g即可，但是我多分了点。 3、/swap 格式为交换空间 2000g 以前一般为内存的1.5~2倍，但是现在内存大了，没那必要，只要1倍即可。 4、/home 剩下的都给它了。 我的是保留了原来Windows的e盘。在安装时，选择不用此分区，安装完成后，系统会自动挂载，默认为在media下的files。 ubuntu安装的最后一步有个高级选项，可以选择把mbr写入到哪里，有一次我就把它写入/boot，然后启动时就会显示无法挂载系统文件了。最好保持默认选项。教训啊。 还有就是第一次分区失败后，再次分区时，可以先选择删除，而不是更改，而且要格式化。要不然会卡在分区这一步，无法继续安装。 其他的照提示安装即可。 安装成功，选择重新启动，会提示你把U盘拔掉。重新启动后，就能进入ubuntu了。 启动和关机都比xp快多了。 还有就是ati 3d驱动，最好不要装，我装完后就进不去图形界面了。只能进入文字界面，用starx命令也不行，还有什么sudo dpkg-reconfigure xorg也是行不通的，我选择了重装。但是要是下次又碰到这种情况，我保存的东西会不会一起没掉呢？是否需要重新分区？初次接触ubuntu还是比较陌生的。唉。。。 &#8230;<p class="read-more"><a href="http://onlyn.info/2009/12/31/ubuntu-install/">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://onlyn.info/2009/12/31/ubuntu-install/" title="用ultraiso烧录U盘安装ubuntu 10.04"></a><p>上周日，突发感想，想装win7，由于没有光驱，主要是觉得用得不多，就省钱没买。于是用网上的教程，用usb启动安装。主要原理就是用ultraiso烧录系统镜像到usb，把usb的启动方式改为usb-hdd。也就是把usb变成光碟了。从Windows7en论坛上看到的，由于要注册才能看到，我拷贝到了google  docs，有兴趣的人可以看一下<a href="../drx" target="_blank">图文详解：用UltraISO刻录U盘安装系统</a>。</p>
<p>实验了一下，是可行的。但是我在安装过程中遇到了点麻烦，在安装win7时，格式化了c盘和d盘，保留E盘。C盘是系统盘，D盘是安装软件用，E盘是资料盘。格完之后，未使用空间不能合并，因为是不连续的，原来多少空间就多少，不能再任意分割了。而win7的系统盘最少30~40G左右，而xp我只分了15G。明显不够用，没办法，我只能继续安装。</p>
<p>安装完后，C盘的win7系统容量占了10G左右，只剩下了5G,明显不够用，为了扩充C盘，自然而然的想到了PQ，但是在win7下，PQ是不兼容的。放弃PQ后，网上有人推荐用Acronis  Disk Director Suite  10.0，但是还是没成功，据说是因为在xp下用过PQ分区，而PQ很弱智的缘故。呵呵。于是又尝试了win7自带的分区工具，disk  manager，然后悲剧开始了，我在删除一个盘的时候，老半天没反应，我以为死机了，于是重启，之后等待我的，就是Windows文件已损坏，进不了系统，试过恢复模式，但在进度条那里卡住了，毫无进展。第一天就这么结束了。</p>
<p>第二天下班后，放弃了重装win7，而是老老实实的想回到xp，还是老问题，没光驱就用U盘安装，但是没成功，据说是xp其实不支持用U盘安装，一进入安装界面，就提醒我txtsetup.sif被破坏，找不到。又是失败的一个晚上。今天同事发现了一个方法，并且安装成功。<a href="http://www.52z.com/soft/17884.html" target="_blank">WinSetupFromUSB(制作U盘安装操作系统)</a>，不过我已经投入ubuntu的怀抱了。呵呵。</p>
<p>第三天，我终于下定决心彻底用ubuntu 10.04，而以前只是用vm虚拟机。</p>
<p>1、安装ubuntu 10.04的镜像是在<a href="../bso" target="_blank">台湾的镜像点</a>下载的。这个下载速度挺快的。下载源地址可以参考<a href="../cl4" target="_blank">ubuntu源列表</a>。</p>
<p>2、用ultraiso烧录系统镜像到U盘。方法同win7.只是在便捷启动里选择“写入新的引导扇区”syslinux。</p>
<p><img class="alignnone" title="ubuntu烧录" src="http://farm5.static.flickr.com/4035/4229726993_cfb10b1bc6_o.png" alt="" width="652" height="545" /></p>
<p>3、烧录成功后，改bios的第一启动方式为usb-hdd，之后就和安装livecd光碟一样了。</p>
<p>但是我也吸取了很多教训，花了两个晚上才安装成功。</p>
<p>主要是关于分区方案的选择，我的方案是：</p>
<p>1、/boot 100MB</p>
<p>2、/ 根目录 10G</p>
<p>安装ubuntu系统用，一般7~8g即可，但是我多分了点。</p>
<p>3、/swap 格式为交换空间 2000g</p>
<p>以前一般为内存的1.5~2倍，但是现在内存大了，没那必要，只要1倍即可。</p>
<p>4、/home 剩下的都给它了。</p>
<p>我的是保留了原来Windows的e盘。在安装时，选择不用此分区，安装完成后，系统会自动挂载，默认为在media下的files。</p>
<p>ubuntu安装的最后一步有个高级选项，可以选择把mbr写入到哪里，有一次我就把它写入/boot，然后启动时就会显示无法挂载系统文件了。最好保持默认选项。教训啊。</p>
<p>还有就是第一次分区失败后，再次分区时，可以先选择删除，而不是更改，而且要格式化。要不然会卡在分区这一步，无法继续安装。</p>
<p>其他的照提示安装即可。</p>
<p>安装成功，选择重新启动，会提示你把U盘拔掉。重新启动后，就能进入ubuntu了。</p>
<p>启动和关机都比xp快多了。</p>
<p>还有就是ati 3d驱动，最好不要装，我装完后就进不去图形界面了。只能进入文字界面，用starx命令也不行，还有什么sudo  dpkg-reconfigure  xorg也是行不通的，我选择了重装。但是要是下次又碰到这种情况，我保存的东西会不会一起没掉呢？是否需要重新分区？初次接触ubuntu还是比较陌生的。唉。。。</p>
<p>总之，ubuntu还是挺好用的。哈哈。希望我能抵制住玩游戏的冲动，等1T硬盘降价了再装个win7，玩玩游戏。</p>
<p>这个星期就在装系统中度过了。</p>
<hr /><h2>Comments</h2><ul><li><a href="http://onlyn.info/2009/12/31/ubuntu-install/">2010年01月1日</a>, <a href='http://zpmaomao.com' rel='external nofollow' class='url'>maomao</a> writes: 怎么更新这么多，现在在用9.10，呵呵</li><li><a href="http://onlyn.info/2009/12/31/ubuntu-install/">2010年01月4日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 9.10的bug还是挺多的，过渡版本。呵呵。</li><li><a href="http://onlyn.info/2009/12/31/ubuntu-install/">2010年03月25日</a>, <a href='http://www.it604.com' rel='external nofollow' class='url'>oneword</a> writes: 支持咯</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://onlyn.info/2009/11/18/ubuntu/" rel="bookmark" title="Permanent Link: Ubuntu">Ubuntu</a></li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/" rel="bookmark" title="Permanent Link: 被Ubuntu打败了">被Ubuntu打败了</a></li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/" rel="bookmark" title="Permanent Link: 制作不用密码可立即登入的 ssh 用户">制作不用密码可立即登入的 ssh 用户</a></li><li><a href="http://onlyn.info/2009/12/03/ubuntusound_problem/" rel="bookmark" title="Permanent Link: 终于解决了ubuntu的声音问题">终于解决了ubuntu的声音问题</a></li></ul><hr /><small>Copyright &copy; 2010<br /> 知识共享署名-非商业性使用-禁止演绎 注意：转载勿改标题！onlyn.info--rakugun's blog<br /> (Digital Fingerprint: 1ba59ab30894d0f79b8c2512199bf0bc)</small><br />
 欢迎关注<a href="http://twitter.com/coodar" title="我的微博">我的微博</a> 访问<a href="http://www.google.com/reader/shared/coodar" title="我的分享">我的分享</a>
]]></content:encoded>
			<wfw:commentRss>http://onlyn.info/2009/12/31/ubuntu-install/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>被Ubuntu打败了</title>
		<link>http://onlyn.info/2009/11/20/ubuntu-audio/</link>
		<comments>http://onlyn.info/2009/11/20/ubuntu-audio/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 17:27:28 +0000</pubDate>
		<dc:creator>coodar</dc:creator>
				<category><![CDATA[随感]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://onlyn.info/2009/11/20/ubuntu-audio/</guid>
		<description><![CDATA[<a href="http://onlyn.info/2009/11/20/ubuntu-audio/" title="被Ubuntu打败了"></a>自从用vvmware7.0装了Ubuntu9.10后，装了中文输入法，安装了中文字体。却被Ubuntu的音乐播放打败了，播放的时候老是有杂音，google后，尝试了改alsamixer、换声卡、改ALSA的设置、把pulseaudio改成alsa等，重启了n多遍，还是没找到问题的答案。有个人说是vmware的问题，说本来他是6.5，换成7.0后就没问题了，但是我现在已经是7.0了。实在是无语啊。 决定在Ubuntu下不再听歌看电影了。这根本就不是它的强项嘛。 学学Linux就算了。不再搞了。已经被打败了。。。 Comments2009年11月20日, AWu writes: 找到/etc/modprobe.d/alsa-base.conf这个文件，将options snd-hda-intel power_save=10这一行注释掉试试！2009年11月20日, coodar writes: 改过了。没用。 也有说把power_save=10改成0，也试过了，没用。不知道是不是因为是虚拟机的缘故。2009年11月20日, 66 writes: 一直没敢用,呵呵redhat还好了2009年11月27日, 笑话 writes: 看电影听音乐一直是windows的强项啊...2009年12月10日, 米米 writes: 我也是了，linux实在不适合娱乐。2009年12月14日, anemiarm writes: now I see it!2009年12月16日, 第三眼 writes: 我的也有这个问题，vmware安装ubuntu声音也是不行，于是放弃了－－－－ 有美女！2009年12月16日, coodar writes: 不知道你解决了吗？其实可以搞定的。哪有美女？2010年01月4日, soluo writes: 我觉得ubuntu9.10还是做得挺好的，我2年前配的机器，也装了ubuntu9.10，现在除了完游戏进win7外，基本上听歌、电影、开发等工作都可以在ubuntu环境下很好的执行2010年01月4日, coodar writes: &#8230;<p class="read-more"><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://onlyn.info/2009/11/20/ubuntu-audio/" title="被Ubuntu打败了"></a><p>自从用vvmware7.0装了Ubuntu9.10后，装了中文输入法，安装了中文字体。却被Ubuntu的音乐播放打败了，播放的时候老是有杂音，google后，尝试了改alsamixer、换声卡、改ALSA的设置、把pulseaudio改成alsa等，重启了n多遍，还是没找到问题的答案。有个人说是vmware的问题，说本来他是6.5，换成7.0后就没问题了，但是我现在已经是7.0了。实在是无语啊。</p>
<p>决定在Ubuntu下不再听歌看电影了。这根本就不是它的强项嘛。</p>
<p>学学Linux就算了。不再搞了。已经被打败了。。。 </p>
</p>
<p> <a href="http://onlyn.info/wp-content/uploads/2009/11/800x533.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="800x533" border="0" alt="800x533" src="http://onlyn.info/wp-content/uploads/2009/11/800x533_thumb.jpg" width="244" height="164" /></a></p>
<hr /><h2>Comments</h2><ul><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年11月20日</a>, <a href='http://www.awuit.cn' rel='external nofollow' class='url'>AWu</a> writes: 找到/etc/modprobe.d/alsa-base.conf这个文件，将options snd-hda-intel power_save=10这一行注释掉试试！</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年11月20日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 改过了。没用。
也有说把power_save=10改成0，也试过了，没用。不知道是不是因为是虚拟机的缘故。</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年11月20日</a>, <a href='http://www.tansuo.org' rel='external nofollow' class='url'>66</a> writes: 一直没敢用,呵呵redhat还好了</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年11月27日</a>, <a href='http://www.laoliyue.cn' rel='external nofollow' class='url'>笑话</a> writes: 看电影听音乐一直是windows的强项啊...</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年12月10日</a>, <a href='http://www.missivy.com/' rel='external nofollow' class='url'>米米</a> writes: 我也是了，linux实在不适合娱乐。</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年12月14日</a>, <a href='http://??' rel='external nofollow' class='url'>anemiarm</a> writes: now I see it!</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年12月16日</a>, <a href='http://obugs.net' rel='external nofollow' class='url'>第三眼</a> writes: 我的也有这个问题，vmware安装ubuntu声音也是不行，于是放弃了－－－－
有美女！</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2009年12月16日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 不知道你解决了吗？其实可以搞定的。哪有美女？</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2010年01月4日</a>, <a href='http://www.soluo.info' rel='external nofollow' class='url'>soluo</a> writes: 我觉得ubuntu9.10还是做得挺好的，我2年前配的机器，也装了ubuntu9.10，现在除了完游戏进win7外，基本上听歌、电影、开发等工作都可以在ubuntu环境下很好的执行</li><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/">2010年01月4日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 我也是两年前配的，呵呵。
10.04正在用。主要是ubuntu下的汉字字体，不大好看。
其他都挺满意的。</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://onlyn.info/2009/11/18/ubuntu/" rel="bookmark" title="Permanent Link: Ubuntu">Ubuntu</a></li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/" rel="bookmark" title="Permanent Link: 制作不用密码可立即登入的 ssh 用户">制作不用密码可立即登入的 ssh 用户</a></li><li><a href="http://onlyn.info/2009/12/31/ubuntu-install/" rel="bookmark" title="Permanent Link: 用ultraiso烧录U盘安装ubuntu 10.04">用ultraiso烧录U盘安装ubuntu 10.04</a></li><li><a href="http://onlyn.info/2009/12/03/ubuntusound_problem/" rel="bookmark" title="Permanent Link: 终于解决了ubuntu的声音问题">终于解决了ubuntu的声音问题</a></li></ul><hr /><small>Copyright &copy; 2010<br /> 知识共享署名-非商业性使用-禁止演绎 注意：转载勿改标题！onlyn.info--rakugun's blog<br /> (Digital Fingerprint: 1ba59ab30894d0f79b8c2512199bf0bc)</small><br />
 欢迎关注<a href="http://twitter.com/coodar" title="我的微博">我的微博</a> 访问<a href="http://www.google.com/reader/shared/coodar" title="我的分享">我的分享</a>
]]></content:encoded>
			<wfw:commentRss>http://onlyn.info/2009/11/20/ubuntu-audio/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Ubuntu</title>
		<link>http://onlyn.info/2009/11/18/ubuntu/</link>
		<comments>http://onlyn.info/2009/11/18/ubuntu/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 16:22:00 +0000</pubDate>
		<dc:creator>coodar</dc:creator>
				<category><![CDATA[随感]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://onlyn.info/2009/11/18/ubuntu/</guid>
		<description><![CDATA[<a href="http://onlyn.info/2009/11/18/ubuntu/" title="Ubuntu"></a>这是我用wlw写的第一篇日志，没在后台写，感觉少了些什么。主要是我写日志的时候，感觉自己是在线的，firefox的搜索功能也很好，有什么不懂的，直接在搜索框里输入，回车，就能得到我想要的，但是在wlw里，感觉回到了单机时代，不想再切换到firefox了，麻烦。 而且后台用熟了，用flickr的插件，可以直接引用相册里的照片，我觉得挺方便的。 我想用久了就知道wlw的好处了。呵呵。 这几天，转移了兴趣，开始用Ubuntu了。公司电脑和家里电脑各装了虚拟机。 看了鸟哥的Linux基础，知道了些皮毛，终于知道在Ubuntu里怎么输入命令了。也知道了一些常用的命令，比如date、cal、man、vi等。了解了一些Linux系统的常识。 不过我现在连中文输入法还没装上呢。真是失败。明天继续努力。 今天我室友送行，明天他就要去新疆出差了，到明年才能回来呢。去吃了顿烧烤，好久没体验大碗喝酒大口吃肉的畅快了。 最后贴一张照片试试。 用fotofox上传到photobox，发现原来不支持中文命名，郁闷。放一张寧兒PS的一张艺术照。呵呵。 更新：下午发现photobox的图片外链失败了。哎，只能回归flickr的怀抱了。 Comments2009年11月18日, 66 writes: 也用wlw写了几篇文章，感觉还不错~2009年11月19日, coodar writes: 嗯。比后台会好点，毕竟是客户端。可惜插件少了点。Related posts:被Ubuntu打败了制作不用密码可立即登入的 ssh 用户用ultraiso烧录U盘安装ubuntu 10.04终于解决了ubuntu的声音问题Copyright &#169; 2010 知识共享署名-非商业性使用-禁止演绎 注意：转载勿改标题！onlyn.info--rakugun's blog (Digital Fingerprint: 1ba59ab30894d0f79b8c2512199bf0bc) 欢迎关注我的微博 访问我的分享]]></description>
			<content:encoded><![CDATA[<a href="http://onlyn.info/2009/11/18/ubuntu/" title="Ubuntu"></a><p>这是我用wlw写的第一篇日志，没在后台写，感觉少了些什么。主要是我写日志的时候，感觉自己是在线的，firefox的搜索功能也很好，有什么不懂的，直接在搜索框里输入，回车，就能得到我想要的，但是在wlw里，感觉回到了单机时代，不想再切换到firefox了，麻烦。</p>
<p>而且后台用熟了，用flickr的插件，可以直接引用相册里的照片，我觉得挺方便的。</p>
<p>我想用久了就知道wlw的好处了。呵呵。</p>
<p>这几天，转移了兴趣，开始用Ubuntu了。公司电脑和家里电脑各装了虚拟机。</p>
<p>看了鸟哥的Linux基础，知道了些皮毛，终于知道在Ubuntu里怎么输入命令了。也知道了一些常用的命令，比如date、cal、man、vi等。了解了一些Linux系统的常识。</p>
<p>不过我现在连中文输入法还没装上呢。真是失败。明天继续努力。</p>
<p>今天我室友送行，明天他就要去新疆出差了，到明年才能回来呢。去吃了顿烧烤，好久没体验大碗喝酒大口吃肉的畅快了。</p>
<p>最后贴一张照片试试。</p>
<p>用fotofox上传到photobox，发现原来不支持中文命名，郁闷。放一张寧兒PS的一张艺术照。呵呵。</p>
<p>更新：下午发现photobox的图片外链失败了。哎，只能回归flickr的怀抱了。</p>
<hr /><h2>Comments</h2><ul><li><a href="http://onlyn.info/2009/11/18/ubuntu/">2009年11月18日</a>, <a href='http://www.tansuo.org' rel='external nofollow' class='url'>66</a> writes: 也用wlw写了几篇文章，感觉还不错~</li><li><a href="http://onlyn.info/2009/11/18/ubuntu/">2009年11月19日</a>, <a href='http://onlyn.info' rel='external nofollow' class='url'>coodar</a> writes: 嗯。比后台会好点，毕竟是客户端。可惜插件少了点。</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://onlyn.info/2009/11/20/ubuntu-audio/" rel="bookmark" title="Permanent Link: 被Ubuntu打败了">被Ubuntu打败了</a></li><li><a href="http://onlyn.info/2010/01/13/%e5%88%b6%e4%bd%9c%e4%b8%8d%e7%94%a8%e5%af%86%e7%a0%81%e5%8f%af%e7%ab%8b%e5%8d%b3%e7%99%bb%e5%85%a5%e7%9a%84-ssh-%e7%94%a8%e6%88%b7/" rel="bookmark" title="Permanent Link: 制作不用密码可立即登入的 ssh 用户">制作不用密码可立即登入的 ssh 用户</a></li><li><a href="http://onlyn.info/2009/12/31/ubuntu-install/" rel="bookmark" title="Permanent Link: 用ultraiso烧录U盘安装ubuntu 10.04">用ultraiso烧录U盘安装ubuntu 10.04</a></li><li><a href="http://onlyn.info/2009/12/03/ubuntusound_problem/" rel="bookmark" title="Permanent Link: 终于解决了ubuntu的声音问题">终于解决了ubuntu的声音问题</a></li></ul><hr /><small>Copyright &copy; 2010<br /> 知识共享署名-非商业性使用-禁止演绎 注意：转载勿改标题！onlyn.info--rakugun's blog<br /> (Digital Fingerprint: 1ba59ab30894d0f79b8c2512199bf0bc)</small><br />
 欢迎关注<a href="http://twitter.com/coodar" title="我的微博">我的微博</a> 访问<a href="http://www.google.com/reader/shared/coodar" title="我的分享">我的分享</a>
]]></content:encoded>
			<wfw:commentRss>http://onlyn.info/2009/11/18/ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

