<?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>ダオカオス☆D流のライフスタイル &#187; Linux</title>
	<atom:link href="http://www.daokaous.com/category/computer/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daokaous.com</link>
	<description></description>
	<lastBuildDate>Sun, 29 Aug 2010 15:29:28 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ubuntuでrails環境構築～ubuntu9.10改訂版～</title>
		<link>http://www.daokaous.com/2010/01/ubuntu%e3%81%a7rails%e7%92%b0%e5%a2%83%e6%a7%8b%e7%af%89%ef%bd%9eubuntu9-10%e6%94%b9%e8%a8%82%e7%89%88%ef%bd%9e/</link>
		<comments>http://www.daokaous.com/2010/01/ubuntu%e3%81%a7rails%e7%92%b0%e5%a2%83%e6%a7%8b%e7%af%89%ef%bd%9eubuntu9-10%e6%94%b9%e8%a8%82%e7%89%88%ef%bd%9e/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 14:54:26 +0000</pubDate>
		<dc:creator>daoka</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[環境構築]]></category>

		<guid isPermaLink="false">http://www.daokaous.com/?p=527</guid>
		<description><![CDATA[
			
				
			
		
去年4月に書いたubuntuでrails環境構築は、予想外の反響を頂き、いまだにこのブログのアクセスする人の2割がこの記事目当てにきているみたいです。
しかし、この記事を書いてから9ヶ月 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.daokaous.com%2F2010%2F01%2Fubuntu%25e3%2581%25a7rails%25e7%2592%25b0%25e5%25a2%2583%25e6%25a7%258b%25e7%25af%2589%25ef%25bd%259eubuntu9-10%25e6%2594%25b9%25e8%25a8%2582%25e7%2589%2588%25ef%25bd%259e%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.daokaous.com%2F2010%2F01%2Fubuntu%25e3%2581%25a7rails%25e7%2592%25b0%25e5%25a2%2583%25e6%25a7%258b%25e7%25af%2589%25ef%25bd%259eubuntu9-10%25e6%2594%25b9%25e8%25a8%2582%25e7%2589%2588%25ef%25bd%259e%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>去年4月に書いた<a href="http://www.daokaous.com/2009/04/ubuntuでrails環境構築/">ubuntuでrails環境構築</a>は、予想外の反響を頂き、いまだにこのブログのアクセスする人の2割がこの記事目当てにきているみたいです。</p>
<p>しかし、この記事を書いてから9ヶ月たちubuntuのバージョンも2つ上がって、最新のubuntuではパッケージがなくなったりしてうまくいかないところがちらほら出てきたので、改めて<strong>ubuntu9.10用</strong>に書き直してみました。</p>
<p>今回も基本的にパッケージからインストールするようにして、さくっと開発環境を作る方向で書いています。</p>
<h4>今回の検証環境</h4>
<p>ubuntu9.10(server版)<br />
windowsXP上のVMWareで動作</p>
<h4>今回インストールしたもの(主なもの)</h4>
<ul>
<li>paco 2.0.7</li>
<li>ruby 1.8.7</li>
<li>rubygems 1.3.5</li>
<li>rails 2.3.5</li>
<li>SQLite 3.6.16</li>
<li>MySQL 5.1.37</li>
<li>PostgreSQL 8.4.2</li>
<li>vim 7.2.245</li>
</ul>
<h4>下準備</h4>
<h5>make, g++ のインストール</h5>
<p>インストールしたばかりのubuntuにはmakeもg++もないので真っ先にインストール</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential</pre></div></div>

<h5>pacoのインストール</h5>
<p>ソースからインストールしたソフトをパッケージ管理してくれるありがたいソフト！<br />
今回はソースからインストールしたものはgemだけだが、後々のことを考えて先にインストールしておく。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>paco<span style="color: #000000; font-weight: bold;">/</span>paco-2.0.7.tar.gz
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf paco-2.0.7.tar.gz
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> paco-2.0.7
&nbsp;
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--disable-gpaco</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<h6>使用例</h6>
<p>インストール時にpacoをかませるとパッケージ管理してくれる。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> paco <span style="color: #660033;">-D</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>-Dオプションでディレクトリ名がパッケージ名になる<br />
-pオプションで自分の指定した名前でパッケージ名を登録することが可能</p>
<p>pacoに登録してあるパッケージの確認は↓</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">paco <span style="color: #660033;">-a</span></pre></div></div>

<p>アンインストールするときは下の1行をたたけばOK</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> paco <span style="color: #660033;">-r</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>削除するパッケージ名<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<h5>ruby1.8.7のインストール</h5>
<p>今まで、rubyをインストールする時に必要な関連パッケージの指定が煩わしかったが、ubuntu9.10になってruby-fullというパッケージがでて、これ1つで基本的に必要なものはインストールされるようになった。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby-full</pre></div></div>

<p>ruby-fullでインストールすると、以下のパッケージがインストールされるようになる。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defoma emacs emacs22-bin-common emacs22-common emacs22-gtk emacsen-common fontconfig
  fontconfig-config hicolor-icon-theme irb irb1.8 libasound2 libatk1.0-<span style="color: #000000;">0</span> libatk1.0-data
  libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcups2 libdatrie1
  libdbm-ruby libdbm-ruby1.8 libdirectfb-<span style="color: #000000;">1.2</span>-<span style="color: #000000;">0</span> libdrm-intel1 libdrm-radeon1 libdrm2
  libfontconfig1 libfontenc1 libgdbm-ruby libgdbm-ruby1.8 libgif4 libgl1-mesa-dri
  libgl1-mesa-glx libgtk2.0-<span style="color: #000000;">0</span> libgtk2.0-bin libgtk2.0-common libice6 libjasper1 libjpeg62
  libopenssl-ruby libopenssl-ruby1.8 libpango1.0-<span style="color: #000000;">0</span> libpango1.0-common libpixman-<span style="color: #000000;">1</span>-<span style="color: #000000;">0</span>
  libpng12-<span style="color: #000000;">0</span> libreadline-ruby libreadline-ruby1.8 libruby1.8 libsm6 libsysfs2 libtcltk-ruby
  libtcltk-ruby1.8 libthai-data libthai0 libtiff4 libts-<span style="color: #000000;">0.0</span>-<span style="color: #000000;">0</span> libxaw7 libxcb-render-util0
  libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxft2 libxi6
  libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1
  libxxf86vm1 rdoc rdoc1.8 ri ri1.8 ruby ruby-elisp ruby-full ruby1.8 ruby1.8-dev
  ruby1.8-elisp tcl8.4 tk8.4 tsconf ttf-dejavu ttf-dejavu-core ttf-dejavu-extra
  x-ttcidfont-conf x11-utils xbitmaps xfonts-encodings xfonts-utils xterm</pre></div></div>

<p>自分はemacs使いじゃないし、勝手に入るのは困るという人は今までどおり、1つ1つ必要なパッケージをしていく方法でもOK。基本的に以下のパッケージがあればrails開発は十分</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> irb libopenssl-ruby libreadline-ruby libruby rdoc ri ruby ruby1.8-dev</pre></div></div>

<h4>rubygemsのインストール</h4>
<p>rubyのパッケージ管理ソフト。railsのインストールなどに使用。<br />
2010/1/16現在、ソースから入れても、パッケージから入れてもともに最新1.3.5がインストールされるが、バージョンが上がったりした時に素早く対応しておきたいので、rubygemsついてはソースから入れることにする。<br />
※ものによっては最新のrubygemsを要求するものがあるため</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>rubyforge.org<span style="color: #000000; font-weight: bold;">/</span>frs<span style="color: #000000; font-weight: bold;">/</span>download.php<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">60718</span><span style="color: #000000; font-weight: bold;">/</span>rubygems-1.3.5.tgz
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf rubygems-1.3.5
<span style="color: #7a0874; font-weight: bold;">cd</span> rubygems-1.3.5
<span style="color: #c20cb9; font-weight: bold;">sudo</span> paco <span style="color: #660033;">-D</span> ruby setup.rb</pre></div></div>

<h4>railsのインストール</h4>
<p>gemでインストール。特にバージョンを指定しない場合、最新のものが入る。<br />
(2010/1/16に現在 2.3.5)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rails</pre></div></div>

<p>バージョンをしてする場合は、-vオプションを使う。他のgemsで入れるパッケージについても同様</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rails <span style="color: #660033;">-v</span>=バージョン</pre></div></div>

<h4>SQLite3でrails</h4>
<p>2系からrailsデフォルトになったDB。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3 libsqlite3-dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3-ruby</pre></div></div>

<h4>MySQLでrails</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-server libmysqlclient16-dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> mysql</pre></div></div>

<p>※ubuntu9.10ではインストール時にmysqlのrootのパスワードを設定するようになった。</p>
<h4>postgresでrails</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> postgresql-<span style="color: #000000;">8.4</span> postgresql-server-dev-<span style="color: #000000;">8.4</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> pg</pre></div></div>

<h5>Postgresでの注意点</h5>
<p>インストール直後はpostgresユーザでしかコンソールにログインできない。<br />
postgresのUNIXソケットのデフォルトの設定でそうなっている。<br />
ポリシーとか、セキュリティを気にしないなら、<br />
<strong>/etc/postgresql/8.4/main/pg_hba.conf</strong>を以下のように編集</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>81
82
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Database administrative login by UNIX sockets</span>
<span style="color: #7a0874; font-weight: bold;">local</span>   all         all                          trust</pre></td></tr></table></div>

<p>変更後、postgresの再起動を忘れずに</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>postgres restart</pre></div></div>

<h4>vimでrails開発しやすくする</h4>
<p>デフォルトで入っているvimではrubyのオムニ補完ができないなど貧弱なので、<br />
rubyに対応したvimをインストールする</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> vim-nox
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> vim-ruby
vim-ruby-install.rb</pre></div></div>

<p>railsをやるなら<a href="http://www.vim.org/scripts/script.php?script_id=1567">rails.vim</a>は必ず入れた方がいいです。</p>
<p>こまかいvimの設定やプラグインについてはナレッジエースの<a href="http://blog.blueblack.net/item_133">Vimを使ったRuby On Rails開発環境の構築</a>などを参考にするといいです。</p>
<h5>ubuntu9.10でパッケージからvimを入れるときの注意</h5>
<p>ubuntu9.10になって、vimのパッケージまわりがちらほら変わっているので要注意。<br />
vim-fullがなくなり、その関係でvim-railsが使えなくなったりしています。<br />
他のサイトでvimの環境構築や設定を調べる場合は注意したほうがいいです。</p>
<p>ここまでくれば、最低限のrails開発環境は整うはずです。<br />
ここから先は、自分の開発スタイルなどに合わせて、適宜必要なもの追加したり、設定したりしてください。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daokaous.com/2010/01/ubuntu%e3%81%a7rails%e7%92%b0%e5%a2%83%e6%a7%8b%e7%af%89%ef%bd%9eubuntu9-10%e6%94%b9%e8%a8%82%e7%89%88%ef%bd%9e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rmagick導入メモ ubuntu9.10編</title>
		<link>http://www.daokaous.com/2009/10/rmagick%e5%b0%8e%e5%85%a5%e3%83%a1%e3%83%a2-ubuntu9-10%e7%b7%a8/</link>
		<comments>http://www.daokaous.com/2009/10/rmagick%e5%b0%8e%e5%85%a5%e3%83%a1%e3%83%a2-ubuntu9-10%e7%b7%a8/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 06:34:37 +0000</pubDate>
		<dc:creator>daoka</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[コンピュータ]]></category>
		<category><![CDATA[環境構築]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[rmagick]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu9.10]]></category>
		<category><![CDATA[インストール手順]]></category>

		<guid isPermaLink="false">http://www.daokaous.com/?p=426</guid>
		<description><![CDATA[
			
				
			
		
なんかいつもいつも忘れるのでメモ。
ubuntuでImageMagickをapt-getでインストールして、rubygemsでインストールする時の手順

sudo apt-get ins [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F10%2Frmagick%25e5%25b0%258e%25e5%2585%25a5%25e3%2583%25a1%25e3%2583%25a2-ubuntu9-10%25e7%25b7%25a8%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F10%2Frmagick%25e5%25b0%258e%25e5%2585%25a5%25e3%2583%25a1%25e3%2583%25a2-ubuntu9-10%25e7%25b7%25a8%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>なんかいつもいつも忘れるのでメモ。<br />
ubuntuでImageMagickをapt-getでインストールして、rubygemsでインストールする時の手順</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> imagemagick libmagick++<span style="color: #000000;">9</span>-dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rmagick</pre></div></div>

<p>たったこれだけですが、なんか忘れてハマってしまうことがある。。。</p>
<p>なんで「<a href="http://www.daokaous.com/2009/04/ubuntu%E3%81%A7rails%E7%92%B0%E5%A2%83%E6%A7%8B%E7%AF%89/">ubuntuでrails環境構築</a>」でこれ書くの忘れていたんだろう。。。</p>
<p>上の内容もubuntu9.10になって、微妙に内容が変わっているところが出てきたので近いうちに9.10用に書き直したいと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daokaous.com/2009/10/rmagick%e5%b0%8e%e5%85%a5%e3%83%a1%e3%83%a2-ubuntu9-10%e7%b7%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>moebuntu9.10β</title>
		<link>http://www.daokaous.com/2009/10/moebuntu9-10%ce%b2/</link>
		<comments>http://www.daokaous.com/2009/10/moebuntu9-10%ce%b2/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 01:42:02 +0000</pubDate>
		<dc:creator>daoka</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[コンピュータ]]></category>
		<category><![CDATA[ネタ]]></category>

		<guid isPermaLink="false">http://www.daokaous.com/?p=418</guid>
		<description><![CDATA[
			
				
			
		
ubuntu9.10βを入れて色々カスタマイズしていたら、こんなことになってしまいましたw





送信者 daokaous 〜2009/12


だいたい導入手順はこのサイトに書いて [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F10%2Fmoebuntu9-10%25ce%25b2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F10%2Fmoebuntu9-10%25ce%25b2%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>ubuntu9.10βを入れて色々カスタマイズしていたら、こんなことになってしまいましたw</p>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.co.jp/lh/photo/-bHhcIWnD0q_fqzE0AAu-Q?feat=embedwebsite"><img src="http://lh4.ggpht.com/_XeHgIrQdJ0Y/TGvlKkm2b0I/AAAAAAAAAco/bayecPUKbD0/s400/moemoe_screen.png" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">送信者 <a href="http://picasaweb.google.co.jp/daoka.sweep/Daokaous200912?feat=embedwebsite">daokaous 〜2009/12</a></td>
</tr>
</table>
<p>だいたい導入手順は<a href="http://moebuntu.web.fc2.com/">このサイト</a>に書いてあります</p>
<p>ちなみに自分の環境ではこんな感じにしてみました。<br />
フォント：<a href="http://www.flopdesign.com/font2/aiko.html">Aikoフォント</a><br />
FireFoxのテーマ：<a href="https://addons.mozilla.org/en-US/firefox/addon/2822">Pink Paula</a></p>
<p>壁紙もピンクにしようと思ったのですが、もう眩しすぎて自分にはできませんでした^^;<br />
てか、普通に使うには辛すぎるので戻しちゃいました。。。</p>
<p>今度は眩しすぎないmoebuntuを作ってほしいものですw</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daokaous.com/2009/10/moebuntu9-10%ce%b2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ターミナルをRSSリーダにしてみた</title>
		<link>http://www.daokaous.com/2009/02/%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92rss%e3%83%aa%e3%83%bc%e3%83%80%e3%81%ab%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/</link>
		<comments>http://www.daokaous.com/2009/02/%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92rss%e3%83%aa%e3%83%bc%e3%83%80%e3%81%ab%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 14:39:08 +0000</pubDate>
		<dc:creator>daoka</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RSS Reader]]></category>
		<category><![CDATA[ターミナル]]></category>

		<guid isPermaLink="false">http://www.daokaous.com/?p=151</guid>
		<description><![CDATA[
			
				
			
		
仕事でお世話になった方がターミナルをRSSリーダにしてしまう素敵をアプリを作っているので試してみました。





送信者 daokaous 〜2009/12


個人的にちょっと懐かし [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F02%2F%25e3%2582%25b3%25e3%2583%25b3%25e3%2582%25bd%25e3%2583%25bc%25e3%2583%25ab%25e3%2582%2592rss%25e3%2583%25aa%25e3%2583%25bc%25e3%2583%2580%25e3%2581%25ab%25e3%2581%2597%25e3%2581%25a6%25e3%2581%25bf%25e3%2581%259f%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F02%2F%25e3%2582%25b3%25e3%2583%25b3%25e3%2582%25bd%25e3%2583%25bc%25e3%2583%25ab%25e3%2582%2592rss%25e3%2583%25aa%25e3%2583%25bc%25e3%2583%2580%25e3%2581%25ab%25e3%2581%2597%25e3%2581%25a6%25e3%2581%25bf%25e3%2581%259f%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>仕事でお世話になった方がターミナルをRSSリーダにしてしまう素敵をアプリを作っているので試してみました。</p>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.co.jp/lh/photo/JSo9Qc_rNV-6FfectkP0lg?feat=embedwebsite"><img src="http://lh3.ggpht.com/_XeHgIrQdJ0Y/TGvoYew-Q8I/AAAAAAAAAdE/VxJXH7mSTRo/s400/scoop.png" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">送信者 <a href="http://picasaweb.google.co.jp/daoka.sweep/Daokaous200912?feat=embedwebsite">daokaous 〜2009/12</a></td>
</tr>
</table>
<p>個人的にちょっと懐かしいものを感じました。<br />
多分、ヅ大生にはmnewsでnewsを読んでいるのと似たような感覚といえば通じると思いますｗ(操作はvi的ですが)</p>
<p>google readerのフロントエンドなわけですが、EeePC 4GのeeeUbuntuという非力かつ狭い画面だとブラウザでGoogleReaderを使うのがちょっとばかりきついので結構ありがたいです。<br />
気になった記事はブラウザ開いて読むこともできます。</p>
<p>要望としては、ブログには対応したいと書いてありましたがスクロールの早期実装と、スターがつけられるようになったらなと思います。後は、大量のフィードをため込んでいると最新の20件？くらいしか取得してくれないようです。仕事に追われるとすぐ100件くらいため込んじゃうので対応してくれると助かります。</p>
<p>個人的にはやはりこれはヅ大生には試してもらいたいなぁ〜と思っていたり。</p>
<p>今の環境がどうなっているかわからないけど、<br />
pythonのバージョンとターミナルの文字コードをUTF-8に対応できれば問題ないと思う。</p>
<p>ソースを落とすのにgitが必要だけど、多分なくてもどうにかできると思います。</p>
<p>ちょっとでも使ってみたいなぁ〜なんて思った方は<a href="http://mgiken.com/2009/01/27/021903">松村技研</a>をみてダウンロードとかしてくださいなｗ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daokaous.com/2009/02/%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92rss%e3%83%aa%e3%83%bc%e3%83%80%e3%81%ab%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>eeeUbuntuがupdateしていた</title>
		<link>http://www.daokaous.com/2009/01/eeeubuntu%e3%81%8cupdate%e3%81%97%e3%81%a6%e3%81%84%e3%81%9f/</link>
		<comments>http://www.daokaous.com/2009/01/eeeubuntu%e3%81%8cupdate%e3%81%97%e3%81%a6%e3%81%84%e3%81%9f/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 13:42:15 +0000</pubDate>
		<dc:creator>daoka</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.daokaous.com/?p=137</guid>
		<description><![CDATA[
			
				
			
		
しばらくEeePCをいじってなかったら、eeeUbuntuのアップデートがかなりたまっていました。
個人でやっているのにすごいなと感心してしまいました。
その中でも大きいなぁと思ったのは [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F01%2Feeeubuntu%25e3%2581%258cupdate%25e3%2581%2597%25e3%2581%25a6%25e3%2581%2584%25e3%2581%259f%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F01%2Feeeubuntu%25e3%2581%258cupdate%25e3%2581%2597%25e3%2581%25a6%25e3%2581%2584%25e3%2581%259f%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>しばらくEeePCをいじってなかったら、eeeUbuntuのアップデートがかなりたまっていました。<br />
個人でやっているのにすごいなと感心してしまいました。</p>
<p>その中でも大きいなぁと思ったのはこの2つでしょう</p>
<p>・Eee Controlがインストールされた<br />
・デスクトップ環境にLXDEが使えるようになった</p>
<p>Eee Controlが入ったことでこの前書いたクロックスケーリングの設定は全く用なしになりました。後はWiFi、Camera、Card Readerの有効/無効の設定ができるようになりました。</p>
<p>LXDEはすごい軽いですね。gnomeに比べて立ち上がりが1/3位になった気がします。非力なPCにはもってこいのデスクトップ環境だと思いました。一部グラフィカルな設定がなくなりますが。。。</p>
<p>しかしながら、自分でちょっとばかりものを入れたりしたのもありますが、容量が3.4Gにまでなってしまいました。。。そんなわけで、openofficeを削除。なんと1G以上空きました。オフィススイートってかなり重いんだなと思いました。。。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
本日の体重・・・73.7kg</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daokaous.com/2009/01/eeeubuntu%e3%81%8cupdate%e3%81%97%e3%81%a6%e3%81%84%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EeePCにubuntuを入れてみた</title>
		<link>http://www.daokaous.com/2009/01/eeepc%e3%81%abubuntu%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%81%9f/</link>
		<comments>http://www.daokaous.com/2009/01/eeepc%e3%81%abubuntu%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%81%9f/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 13:13:49 +0000</pubDate>
		<dc:creator>daoka</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.daokaous.com/?p=75</guid>
		<description><![CDATA[
			
				
			
		
windowsXPのマシーンが2台あっても仕方がないので、EeePCにLinuxを入れてみましたｗ
そんなわけでEeePCにLinuxをぶち込む過程を書き留めてみました。
1.今回のイン [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F01%2Feeepc%25e3%2581%25abubuntu%25e3%2582%2592%25e5%2585%25a5%25e3%2582%258c%25e3%2581%25a6%25e3%2581%25bf%25e3%2581%259f%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.daokaous.com%2F2009%2F01%2Feeepc%25e3%2581%25abubuntu%25e3%2582%2592%25e5%2585%25a5%25e3%2582%258c%25e3%2581%25a6%25e3%2581%25bf%25e3%2581%259f%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>windowsXPのマシーンが2台あっても仕方がないので、EeePCにLinuxを入れてみましたｗ<br />
そんなわけでEeePCにLinuxをぶち込む過程を書き留めてみました。</p>
<h4>1.今回のインストールに必要なもの</h4>
<ul>
<li>マシーン：EeePC 4G (イーモバ抱きかかえで100円で買えるやつ)</li>
<li>OS：eeeUbuntu (名前の通りEeePC用にカスタマイズされたUbuntu)</li>
<li>USBメモリ 1GB以上あればOK</li>
<li>CD-R(<strong>700MB</strong>以上のやつ)
<li>CDが焼けるマシーン</li>
</ul>
<h4>2.ライブUSBの作成</h4>
<p>EeePCにはCDドライブがついてない上、外付けのCDドライブもないのでLiveUSBを作成してそこからインストールします。<br />
まずはCDが焼けるマシーンでeeeUbuntuのライブCDを<a href="http://2.csx.jp/livecdroom/">ライブCDの部屋</a>から落としてきます。<br />
落としたら、CDを焼いてLiveCDを作成し、そのマシーンでライブCDを起動します。</p>
<p>ライブCDが起動したら、<strong>システム→create a USB startup disk</strong>に進みliveUSBを作成。</p>
<p>ubuntu8.10からデフォルトでこの機能がついてUSB起動ディスクの作成が楽になりましたｗ</p>
<h4>3.eeeUbuntuのインストール</h4>
<p>ライブUSBができたらそれをEeePCに差し込んで、EeePCを起動させます。起動画面ですかさず<strong>Esc</strong>を押し、何からブートさせるかの画面でUSBから起動させる項目を選択します。後は画面従っていけば難なくインストールできます。</p>
<h4>4.eeeUbuntuをインストールしたら</h4>
<p>インストールしたら快適に動くようにちょこちょこいじる必要があります。<br />
まずは、<strong>アプリケーション−システムツール−eeeUbuntu 8.10を更新</strong>を実行するようにしましょう。これでeeeUbuntuが起動の度に更新があれば自動的にupdateしてくれます。ただし1回の起動で1回分の更新しかしてくれないので、最初の段階から最新の状態にするのに10回くらい再起動が必要です。。。</p>
<p>後は、最初のうちはカーネルとドライバの関係か無線lanのドライバがうまく動作しないぽいので有線で作業するのがおすすめです。(なんだかわからないけど最新の状態にしたら無線が使えた。。。)</p>
<p>あとは<a href="http://2.csx.jp/livecdroom/eeepc_tips#tuning">ここ</a>に書いてあるチューニングはやっておくといいです。</p>
<h4>5.クロックスケーリングをする</h4>
<p>必要に応じてCPUの動作周波数を変えられるようにクロックスケーリングできるように設定します。</p>
<p>エディタで<strong>/etc/module</strong>を開いて、以下を追加します。</p>
<pre>
<code>
cpufreq_stats
freq_table
cpufreq_userspace
cpufreq_conservative
cpufreq_powersave
cpufreq_ondemand
p4_clockmod
</code>
</pre>
<p>追加した後に、再起動して、パネルに<strong>CPU周波数の計測モニタ</strong>を追加するとCPUの動作周波数を112MHzから900Hzまで固定8段階＋自動選択4モードが選べるようになります。</p>
<p>自動選択は4つありますが、バッテリ駆動かアダプタ使用かでこの2つが実用的な感じです。</p>
<p>バッテリ駆動の場合・・・Ondemand<br />
アダプタ使用の場合・・・Performance</p>
<p>ここまでやればとりあえず大丈夫かなといったところかな？<br />
ただ、古いカーネルを消したりしたがディスク容量が3GBを超してしまいました。Ubuntuは決して軽いOSじゃないとは聞いてましたが思いの外重い感じです。そういえばOpenOfficeを消してないのを忘れてました。それを考えると気持ちwindowsよりは軽いといったところでしょうか。ただ、まだまだ軽くできそうな余地はありそうなのでがんばってみようと思います。<br />
後は、どうもubuntu8.10になって普通のやり方ではemobileがつながらなくなってしまったのが痛い。。。なんとかつなげる方法はあるのでこれも試してみようと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daokaous.com/2009/01/eeepc%e3%81%abubuntu%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
