<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../../../../../css/rss/feedRss2.xsl" media="screen" type="text/xsl"?>

<rss version="2.0"> 
  <channel> 
    <title>てりぶろてく</title>  
    <link>http://tterrytech.blog.so-net.ne.jp/</link>  
    <language>ja</language>  
    <pubDate>Sun, 06 Nov 2011 23:23:13 +0900</pubDate>  
    <description><![CDATA[本職系のメモとか]]></description>  
    <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" href="http://rss.rssad.jp/rss/sonetrss/000299489355_283426_index.xml" type="application/rss+xml"/>  
    <item> 
      <title>文字コードをutf-8をsjisに変換する</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2011-11-06</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Sun, 06 Nov 2011 23:23:13 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2011-11-06</guid>  
      <description><![CDATA[<p><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Ruby&ic=utf8" class="affiliate-link" target="_blank">Ruby</a>で文字コードをutf-8をsjisに変換する<br />
<br />
require 'nkf'<br />
puts "ああああ"<br />
puts NKF.nkf("-sm0W8x", "ああああ")<br />
<br />
-sm0W8x１とは<br />
<br />
s:出力はsjis<br />
m0:<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=mime&ic=utf8" class="affiliate-link" target="_blank">mime</a> no decode<br />
W8:入力はutf-8<br />
x:MS-Kanjiあり<br />
<br />
参照：<br />
<a href="http://www.ruby-lang.org/ja/old-man/html/nkf.html" target="_blank">http://www.ruby-lang.org/ja/old-man/html/nkf.html</a> <br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item>
      <title><![CDATA[PR: 本気で英語力をつけたい人に、マンツーマンのGaba]]></title>
      <link>http://rss.rssad.jp/rss/ad/CRnfhGSk4YoH/bg3Cnie09wVI?type=2&amp;ent=b957135ffb978e80cc0f0b53cbff2732</link>
      <description><![CDATA[<table cellspacing="0" cellpadding="0"><tbody><tr><td align="left" valign="center"><a href="http://rss.rssad.jp/rss/ad/CRnfhGSk4YoH/bg3Cnie09wVI?type=2" target="_blank"><img alt="" style="border: 0;" border="0" src="http://rss.rssad.jp/rss/img/CRnfhGSk4YoH/bg3Cnie09wVI?type=3&ent=b957135ffb978e80cc0f0b53cbff2732"/></a></td></tr><tr><td align="left" valign="top" > Ｇａｂａマンツーマン英会話なら、レベルや目的に合わせてカスタマイズが 可能です。 </td></tr></tbody></table><div style="font-size:10px;"><span style="padding-top:5px;"><br style="display:none"/><a href="http://www.rssad.jp/trendmatch/trendmatch.html">Ads by Trend Match</a></span><br/></div>]]></description>
      <pubDate>Sun, 06 Nov 2011 23:23:13 +0900</pubDate>
    </item>
    <item> 
      <title>Ruby on Rails3 アプリケーションプログラミング</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2011-08-20</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Sat, 20 Aug 2011 23:47:12 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2011-08-20</guid>  
      <description><![CDATA[<p>環境を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Rails&ic=utf8" class="affiliate-link" target="_blank">Rails</a>3にしたのでいくつか買ってみました。<br />
どうせいじくるならRails認定でも受けてみようか。<br />
<br />
この本はわかりやすい。普通に<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0&ic=utf8" class="affiliate-link" target="_blank">プログラミング</a>やっていればすんなりいけるのでは。<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4774146633/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51%2BUj1CI5tL._SL160_.jpg" class="sonet-asin-image" alt="Ruby on Rails 3 アプリケーションプログラミング" title="Ruby on Rails 3 アプリケーションプログラミング"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4774146633/sonet0f-22/ref=nosim" target="_blank">Ruby on Rails 3 アプリケーションプログラミング</a></p><ul><li class="sonet-asin-label">作者: 山田 祥寛</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%BC%E3%82%AB%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">メーカー</a>: 技術評論社</li><li class="sonet-asin-label">発売日: 2011/05/12</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2&ic=utf8" class="affiliate-link" target="_blank">メディア</a>: 大型本</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
こっちはアンチョコですね。前版からなので２冊目。<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4797363827/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/41Tnr3W6b0L._SL160_.jpg" class="sonet-asin-image" alt="Rails3レシピブック 190の技" title="Rails3レシピブック 190の技"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4797363827/sonet0f-22/ref=nosim" target="_blank">Rails3レシピブック 190の技</a></p><ul><li class="sonet-asin-label">作者: 高橋 征義</li><li class="sonet-asin-label">出版社/メーカー: <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%BD%E3%83%95%E3%83%88%E3%83%90%E3%83%B3%E3%82%AF&ic=utf8" class="affiliate-link" target="_blank">ソフトバンク</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%AF%E3%83%AA%E3%82%A8%E3%82%A4%E3%83%86%E3%82%A3%E3%83%96&ic=utf8" class="affiliate-link" target="_blank">クリエイティブ</a></li><li class="sonet-asin-label">発売日: 2011/07/25</li><li class="sonet-asin-label">メディア: 単行本</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
とりあえずRails2で作ったアプリの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E7%A7%BB%E6%A4%8D&ic=utf8" class="affiliate-link" target="_blank">移植</a>から始めます。<br />
<br />
<br />
<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>Ruby1.9+Rails3の導入</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2011-08-19</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Fri, 19 Aug 2011 22:11:30 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2011-08-19</guid>  
      <description><![CDATA[<p>Windows環境で、Ruby1.9+Rails3の導入。<br />
Windowsは７。<br />
<br />
<a name="more"></a>１．Ruby 1.9.2<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a><br />
導入に使うファイル：<br />
　　ruby-1.9.2-p136-i386-mswin32.<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=zip&ic=utf8" class="affiliate-link" target="_blank">zip</a><br />
　　readline-4.3-2-mswin32.zip<br />
　　zlib-1.1.4-1-mswin32.zip<br />
　　openssl-0.9.8q-win32-bin_<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=dynamic&ic=utf8" class="affiliate-link" target="_blank">dynamic</a>.zip<br />
　　iconv-1.8.win32.zip<br />
<br />
(1)ruby-1.9.2-p136-i386-mswin32.zipの展開<br />
<br />
(2)環境変数PATHへRubyのbinフォルダを追加<br />
　　＜展開先<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%89%E3%83%A9%E3%82%A4%E3%83%96&ic=utf8" class="affiliate-link" target="_blank">ドライブ</a>＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\bin;<br />
<br />
(3)Rubyの動作確認<br />
　　C:\Ruby>ruby -v<br />
　　ruby 1.9.2p136 (2010-12-25 revision 30365) [i386-mswin32]<br />
<br />
(4)readlinesの導入<br />
　　①readline-4.3-2-mswin32.zipの展開<br />
　　②bin配下のファイルをRubyのbinフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\bin<br />
　　③lib配下のファイルをRubyのlibフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\lib<br />
<br />
　　※readlinesを導入していないとirbの実行でエラーが出る<br />
<br />
(5)irbの動作確認<br />
　　C:\Ruby>irb -v<br />
　　irb 0.9.6(09/06/30)<br />
<br />
　　C:\Ruby>irb<br />
　　irb(main):001:0> print "<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=hello&ic=utf8" class="affiliate-link" target="_blank">hello</a>"<br />
　　hello=> nil<br />
　　irb(main):002:0> exit<br />
<br />
　　C:\Ruby><br />
<br />
　　※readlinesを導入していないとエラーが出る<br />
<br />
(6)zlibの導入<br />
　　①zlib-1.1.4-1-mswin32.zipの展開<br />
　　②bin配下のファイルをRubyのbinフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\bin<br />
　　③lib配下のファイルをRubyのlibフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\lib<br />
<br />
(7)opensslの導入<br />
　　①openssl-0.9.8q-win32-bin_dynamic.zipの展開<br />
　　②libeay32.dllとssleay32.dllをRubyのbinフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\bin<br />
　　③lib配下のファイルをRubyのlibフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\lib<br />
<br />
(8)iconvの導入<br />
　　①iconv-1.8.win32.zipの展開<br />
　　②lib配下のiconv.dllをRubyのbinフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\bin<br />
　　③lib配下のlibファイルをRubyのlibフォルダへ移動<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞\ruby-1.9.2-p136-i386-mswin32\lib<br />
<br />
(9)gemの動作確認<br />
　　C:\Ruby>gem -v<br />
　　1.3.7<br />
<br />
　　C:\Ruby>gem list --local<br />
<br />
　　*** LOCAL GEMS ***<br />
<br />
　　minitest (1.6.0)<br />
　　rake (0.8.7)<br />
　　rdoc (2.5.8)<br />
<br />
　　C:\Ruby>gem list --remote <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=rails&ic=utf8" class="affiliate-link" target="_blank">rails</a><br />
<br />
　　*** REMOTE GEMS ***<br />
　　rails (3.0.9)<br />
　　rails-3-settings (0.1.1)<br />
　　：<br />
　　：<br />
　　C:\Ruby><br />
<br />
(10)gemの更新と確認<br />
　　gem(RubyGems)を1.3.7から1.8.7に更新する<br />
<br />
　　C:\Ruby>gem update --system<br />
　　Updating RubyGems<br />
　　Updating rubygems-update<br />
　　Successfully installed rubygems-update-1.8.7<br />
　　Updating RubyGems to 1.8.7<br />
　　Installing RubyGems 1.8.7<br />
　　RubyGems 1.8.7 installed<br />
<br />
　　== 1.8.7 / 2011-08-02<br />
<br />
　　* 5 bug fixes:<br />
　　  * Added missing require for `gem uninstall --format-executable`<br />
　　  * The correct name of the executable being uninstalled is now displayed with<br />
　　    --format-executable<br />
　　  * Fixed `gem unpack uninstalled_gem` default version picker<br />
　　  * RubyGems no longer claims a nonexistent gem can be uninstalled<br />
　　  * `gem which` no longer claims directories are requirable files<br />
　　  * `gem cleanup` continues cleaning up gems if one can't be uninstalled due<br />
　　    to permissions.  Issue #82<br />
　　  * Gem repository directories are no longer created world-writable.  Patch by<br />
　　    Sakuro OZAWA.  Ruby Bug #4930<br />
　　<br />
　　------------------------------------------------------------------------------<br />
<br />
　　RubyGems installed the following executables:<br />
　　        C:/Ruby/ruby-1.9.2-p136-i386-mswin32/bin/gem<br />
<br />
　　C:\Ruby><br />
　　C:\Ruby>gem -v<br />
　　1.8.7<br />
<br />
　　C:\Ruby><br />
<br />
(11)インストールフォルダの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%90%E3%83%83%E3%82%AF%E3%82%A2%E3%83%83%E3%83%97&ic=utf8" class="affiliate-link" target="_blank">バックアップ</a><br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞をコピー<br />
　　※フォルダ名：ruby-1.9.2-p136-i386-mswin32(Initial)<br />
<br />
２．SQLiteインストール<br />
SQLite(sqlite3)はRailsのデフォルトDB<br />
導入に使うファイル：<br />
　　sqlite-dll-win32-x86-3070400.zip<br />
　　sqlite-shell-win32-x86-3070400.zip<br />
<br />
(1)展開先フォルダの作成<br />
　　＜Program Files配下のSQLite展開先フォルダ＞<br />
<br />
(2)sqlite3ライブラリの導入<br />
　　①sqlite-dll-win32-x86-3070400.zipの展開<br />
　　②配下のファイルをSQLite展開先フォルダへ移動<br />
<br />
(3)sqlite3コマンドの導入<br />
　　①sqlite-shell-win32-x86-3070400.zipの展開<br />
　　②配下のファイルをSQLite展開先フォルダへ移動<br />
<br />
(4)環境変数PATHへSQLite展開先フォルダを追加<br />
　　C:\Program Files\＜SQLite展開先フォルダ＞;<br />
<br />
(5)Rubyのsqlite3プラグインの導入<br />
　　C:\Ruby>gem install sqlite3<br />
　　Fetching: sqlite3-1.3.4-x86-mswin32-60.gem (100%)<br />
　　Successfully installed sqlite3-1.3.4-x86-mswin32-60<br />
　　1 gem installed<br />
　　Installing ri documentation for sqlite3-1.3.4-x86-mswin32-60...<br />
　　Installing RDoc documentation for sqlite3-1.3.4-x86-mswin32-60...<br />
<br />
　　C:\Ruby><br />
<br />
３．Rails3のインストール<br />
Rails3は3.0.9(2011/8時の最新)を使用<br />
<br />
(1)Rails3の導入<br />
　　C:\Ruby>gem install rails -v 3.0.9 -p <a href="http://proxy.css.fujitsu.com:8080" target="_blank">http://proxy.css.fujitsu.com:8080</a><br />
<br />
　　Fetching: activesupport-3.0.9.gem (100%)<br />
<br />
　　Fetching: builder-2.1.2.gem (100%)<br />
<br />
　　WARNING: builder-2.1.2 has an invalid nil value for @cert_chain<br />
<br />
　　Fetching: i18n-0.5.0.gem (100%)<br />
<br />
　　Fetching: activemodel-3.0.9.gem (100%)<br />
<br />
　　Fetching: rack-1.2.3.gem (100%)<br />
<br />
　　Fetching: rack-test-0.5.7.gem (100%)<br />
<br />
　　Fetching: rack-mount-0.6.14.gem (100%)<br />
<br />
　　Fetching: tzinfo-0.3.29.gem (100%)<br />
<br />
　　Fetching: abstract-1.0.0.gem (100%)<br />
<br />
　　WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain<br />
<br />
　　Fetching: erubis-2.6.6.gem (100%)<br />
<br />
　　Fetching: actionpack-3.0.9.gem (100%)<br />
<br />
　　Fetching: arel-2.0.10.gem (100%)<br />
<br />
　　Fetching: activerecord-3.0.9.gem (100%)<br />
<br />
　　Fetching: activeresource-3.0.9.gem (100%)<br />
<br />
　　Fetching: mime-types-1.16.gem (100%)<br />
<br />
　　Fetching: polyglot-0.3.2.gem (100%)<br />
<br />
　　Fetching: treetop-1.4.10.gem (100%)<br />
<br />
　　Fetching: mail-2.2.19.gem (100%)<br />
<br />
　　Fetching: actionmailer-3.0.9.gem (100%)<br />
<br />
　　Fetching: thor-0.14.6.gem (100%)<br />
<br />
　　Fetching: rdoc-3.9.1.gem (100%)<br />
<br />
　　Depending on your version of ruby, you may need to install ruby rdoc/ri <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=data&ic=utf8" class="affiliate-link" target="_blank">data</a>:<br />
<br />
　　<br />
<br />
　　<= 1.8.6 : unsupported<br />
<br />
　　 = 1.8.7 : gem install rdoc-data; rdoc-data --install<br />
<br />
　　 = 1.9.1 : gem install rdoc-data; rdoc-data --install<br />
<br />
　　>= 1.9.2 : nothing to do! Yay!<br />
<br />
　　Fetching: railties-3.0.9.gem (100%)<br />
<br />
　　Fetching: bundler-1.0.17.gem (100%)<br />
<br />
　　Fetching: rails-3.0.9.gem (100%)<br />
<br />
　　Successfully installed activesupport-3.0.9<br />
<br />
　　Successfully installed builder-2.1.2<br />
<br />
　　Successfully installed i18n-0.5.0<br />
<br />
　　Successfully installed activemodel-3.0.9<br />
<br />
　　Successfully installed rack-1.2.3<br />
<br />
　　Successfully installed rack-test-0.5.7<br />
<br />
　　Successfully installed rack-mount-0.6.14<br />
<br />
　　Successfully installed tzinfo-0.3.29<br />
<br />
　　Successfully installed abstract-1.0.0<br />
<br />
　　Successfully installed erubis-2.6.6<br />
<br />
　　Successfully installed actionpack-3.0.9<br />
<br />
　　Successfully installed arel-2.0.10<br />
<br />
　　Successfully installed activerecord-3.0.9<br />
<br />
　　Successfully installed activeresource-3.0.9<br />
<br />
　　Successfully installed mime-types-1.16<br />
<br />
　　Successfully installed polyglot-0.3.2<br />
<br />
　　Successfully installed treetop-1.4.10<br />
<br />
　　Successfully installed mail-2.2.19<br />
<br />
　　Successfully installed actionmailer-3.0.9<br />
<br />
　　Successfully installed thor-0.14.6<br />
<br />
　　Successfully installed rdoc-3.9.1<br />
<br />
　　Successfully installed railties-3.0.9<br />
<br />
　　Successfully installed bundler-1.0.17<br />
<br />
　　Successfully installed rails-3.0.9<br />
<br />
　　24 gems installed<br />
<br />
　　Installing ri documentation for activesupport-3.0.9...<br />
<br />
　　unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for lib/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=active&ic=utf8" class="affiliate-link" target="_blank">active</a>_support/core_ext/string/conversions.rb, skipping<br />
<br />
　　unable to convert U+00C6 from UTF-8 to Windows-31J for lib/active_support/inflector/transliterate.rb, skipping<br />
<br />
　　unable to convert U+00E9 from UTF-8 to Windows-31J for lib/active_support/multibyte/chars.rb, skipping<br />
<br />
　　Installing ri documentation for builder-2.1.2...<br />
<br />
　　Installing ri documentation for i18n-0.5.0...<br />
<br />
　　unable to convert U+00C0 from UTF-8 to Windows-31J for lib/i18n/backend/transliterator.rb, skipping<br />
<br />
unable to convert U+00E4 from UTF-8 to Windows-31J for lib/i18n/tests/interpolation.rb, skipping<br />
<br />
　　unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for lib/i18n.rb, skipping<br />
<br />
　　Installing ri documentation for activemodel-3.0.9...<br />
<br />
　　Installing ri documentation for rack-1.2.3...<br />
<br />
　　Installing ri documentation for rack-test-0.5.7...<br />
<br />
　　Installing ri documentation for rack-mount-0.6.14...<br />
<br />
　　Installing ri documentation for tzinfo-0.3.29...<br />
<br />
　　Installing ri documentation for abstract-1.0.0...<br />
<br />
　　Installing ri documentation for erubis-2.6.6...<br />
<br />
　　Installing ri documentation for actionpack-3.0.9...<br />
<br />
　　Installing ri documentation for arel-2.0.10...<br />
<br />
　　Installing ri documentation for activerecord-3.0.9...<br />
<br />
　　ERROR:  While generating documentation for activerecord-3.0.9<br />
<br />
　　... MESSAGE:   Invalid argument - ./<br />
<br />
		※ドキュメントの導入でエラーが出たが無視。<br />
<br />
(2)gemの確認<br />
　　C:\Ruby>gem list -l<br />
<br />
　　*** LOCAL GEMS ***<br />
<br />
　　abstract (1.0.0)<br />
<br />
　　actionmailer (3.0.9)<br />
<br />
　　actionpack (3.0.9)<br />
<br />
　　activemodel (3.0.9)<br />
<br />
　　activerecord (3.0.9)<br />
<br />
　　activeresource (3.0.9)<br />
<br />
　　activesupport (3.0.9)<br />
<br />
　　arel (2.0.10)<br />
<br />
　　builder (2.1.2)<br />
<br />
　　bundler (1.0.17)<br />
<br />
　　erubis (2.6.6)<br />
<br />
　　i18n (0.5.0)<br />
<br />
　　mail (2.2.19)<br />
<br />
　　mime-types (1.16)<br />
<br />
　　minitest (1.6.0 ruby)<br />
<br />
　　polyglot (0.3.2)<br />
<br />
　　rack (1.2.3)<br />
<br />
　　rack-mount (0.6.14)<br />
<br />
　　rack-test (0.5.7)<br />
<br />
　　rails (3.0.9)<br />
<br />
　　railties (3.0.9)<br />
<br />
　　rake (0.8.7 ruby)<br />
<br />
　　rdoc (3.9.1, 2.5.8 ruby)<br />
<br />
　　rubygems-update (1.8.7)<br />
<br />
　　sqlite3 (1.3.4 x86-mswin32-60)<br />
<br />
　　thor (0.14.6)<br />
<br />
　　treetop (1.4.10)<br />
<br />
　　tzinfo (0.3.29)<br />
<br />
　　<br />
<br />
　　C:\Ruby><br />
<br />
　　<br />
<br />
<br />
<br />
(3)Rails3のバージョン確認<br />
<br />
<br />
<br />
　　C:\Ruby>rails -v<br />
<br />
　　Rails 3.0.9<br />
<br />
　　<br />
<br />
　　C:\Ruby><br />
<br />
<br />
<br />
(4)インストールフォルダのバックアップ<br />
<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞をコピー<br />
<br />
　　※フォルダ名：ruby-1.9.2-p136-i386-mswin32(+Rails)<br />
<br />
<br />
<br />
(5)その他のプラグイン導入<br />
<br />
<br />
<br />
　　will_paginate 3.0.0<br />
<br />
　　web-app-theme 0.7.0<br />
<br />
<br />
<br />
　　※とりあえず最新を導入<br />
<br />
<br />
<br />
　　C:\Ruby>gem install will_paginate -v 3.0.0<br />
<br />
　　Fetching: will_paginate-3.0.0.gem (100%)<br />
<br />
　　Successfully installed will_paginate-3.0.0<br />
<br />
　　1 gem installed<br />
<br />
　　Installing ri documentation for will_paginate-3.0.0...<br />
<br />
　　unable to convert "\xC4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for LICENSE, skipping<br />
<br />
　　Installing RDoc documentation for will_paginate-3.0.0...<br />
<br />
　　unable to convert "\xC4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for LICENSE, skipping<br />
<br />
<br />
<br />
　　C:\Ruby>gem install web-app-theme -v 0.7.0 -p <a href="http://proxy.css.fujitsu.com:8080" target="_blank">http://proxy.css.fujitsu.com:8080</a><br />
<br />
　　Fetching: web-app-theme-0.7.0.gem (100%)<br />
<br />
　　Successfully installed web-app-theme-0.7.0<br />
<br />
　　1 gem installed<br />
<br />
　　Installing ri documentation for web-app-theme-0.7.0...<br />
<br />
　　Installing RDoc documentation for web-app-theme-0.7.0...<br />
<br />
　　<br />
<br />
　　C:\Ruby><br />
<br />
<br />
<br />
(6)インストールフォルダのバックアップ<br />
<br />
　　＜展開先ドライブ＞:＜展開先フォルダ＞をコピー<br />
<br />
　　※フォルダ名：ruby-1.9.2-p136-i386-mswin32(+R+Etc)<br />
<br />
<br />
<br />
以上。<br />
<br />
</p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>ubuntuでchkconfigでしたらrc*.d配下が変になった</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2011-02-25</link>  
      <category>linux</category>  
      <pubDate>Fri, 25 Feb 2011 21:39:21 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2011-02-25</guid>  
      <description><![CDATA[<p><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=ubuntu&ic=utf8" class="affiliate-link" target="_blank">ubuntu</a>にはchkconfigが入っていません。<br />
<br />
なのでchkconfigを<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>して操作したら、/etc/rc*.d配下の起動・終了<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">スクリプト</a>の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>名が変になりました。S20sshがS01sshとか。起動順序には依存関係もあるのであわてて手作業で元に戻しました。<br />
<br />
そもそもchkconfigはRedhat系の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">コマンド</a>でした。<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=debian&ic=utf8" class="affiliate-link" target="_blank">debian</a>系のubuntuにはsysv-rc-confがあるので、そちらをインストールして使用しようするのが吉。<br />
<br />
chkconfigも参照だけなら使ってもいいかも。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>JRuby on Railsインストールメモ</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2011-02-07</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Mon, 07 Feb 2011 21:51:49 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2011-02-07</guid>  
      <description><![CDATA[<p>いまさらながらJRubyが何か？を知りました。Railsもできるようなので<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Windows&ic=utf8" class="affiliate-link" target="_blank">Windows</a>7へ<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>。<br />
今回DBはSQLite3。<br />
<br />
OS：Windows7<br />
バージョン<br />
	JRuby: 1.5.6<br />
	SQLite3: 3.7.4<br />
	Rails: 2.3.5<br />
<br />
JRubyのインストール<br />
・<a href="http://www.jruby.org/download" target="_blank">http://www.jruby.org/download</a>からJRubyを<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">ダウンロード</a><br />
・zipなので展開するだけ。今回はc:\JRubyへ。<br />
・環境変数PathにJRubyのbinディレクトリを追加。<br />
	Path=......C:\JRuby\jruby-1.5.6\bin;......<br />
・コマンドプロンプトから確認。<br />
c:\JRuby>jruby -v<br />
jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 9cf97c3) (<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Java&ic=utf8" class="affiliate-link" target="_blank">Java</a> <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=HotSpot&ic=utf8" class="affiliate-link" target="_blank">HotSpot</a>(TM) C<br />
lient VM 1.6.0_22) [x86-<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=java&ic=utf8" class="affiliate-link" target="_blank">java</a>]<br />
<br />
c:\JRuby><br />
<br />
SQLite3のインストール<br />
・<a href="http://www.sqlite.org/download.html" target="_blank">http://www.sqlite.org/download.html</a>からダウンロード<br />
・zipなので展開するだけ。<br />
・sqlite3.dll/sqlite3.exe/sqlite3.defの３つをJRubyのbin配下へコピー。<br />
・コマンドプロンプトから確認。<br />
<br />
c:\JRuby\jruby-1.5.6\bin>sqlite3<br />
SQLite version 3.7.4<br />
Enter ".help" for instructions<br />
Enter SQL statements terminated with a ";"jruby on <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=rails&ic=utf8" class="affiliate-link" target="_blank">rails</a> using sqlite3<br />
sqlite> .quit<br />
<br />
Railsのインストール<br />
・下の３つのコマンドでインストール<br />
		jruby -S gem install jruby-openssl -y<br />
		jruby -S gem install rails --version 2.3.5 -y<br />
		jruby -S gem install activerecord-jdbcsqlite3-adapter -y<br />
<br />
できました。<br />
<br />
Railsプロジェクトの作成<br />
・下のコマンドで作成<br />
	jruby -S rails <project>
・DBはJDBC経由になるのでdatabase.yamlを変更。

------------------------------
#   gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
  adapter: <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=jdbc&ic=utf8" class="affiliate-link" target="_blank">jdbc</a>-sqlite3
------------------------------

以上。<a name="more"></a></project></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>Cassandra 0.7のインストールメモ</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2011-01-26</link>  
      <category>DB</category>  
      <pubDate>Wed, 26 Jan 2011 21:23:59 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2011-01-26</guid>  
      <description><![CDATA[<p>暮れにcassandraのバージョン0.7がでました。試しにWindows7への<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>のメモ<br />
<br />
JREはインストールしてあった。カサンドラはJRE1.6以上が必要。<br />
# JRE Version<br />
C:\Users\Owner>java -version<br />
java version "1.6.0_22"<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Java&ic=utf8" class="affiliate-link" target="_blank">Java</a>(TM) SE Runtime Environment (build 1.6.0_22-b04)<br />
Java HotSpot(TM) Client VM (build 17.1-b03, mixed <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=mode&ic=utf8" class="affiliate-link" target="_blank">mode</a>, sharing)<br />
<br />
Cassandraはホームからダウンロードして展開するだけ。今回はc:\Cassandraの下で展開。<br />
C:\Cassandra\<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=apache&ic=utf8" class="affiliate-link" target="_blank">apache</a>-cassandra-0.7.0<br />
<br />
環境変数CASSANDRA_HOMEを登録。<br />
CASSANDRA_HOME=C:\Cassandra\apache-cassandra-0.7.0<br />
<br />
conf下のcassandra.yamlファイルのディレクトリ関係を設定。作られるファイルは全てc:\Cassandra配下にしました。<br />
まずはデータベースファイルの所在。<br />
# directories where Cassandra should store data on disk.<br />
data_<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=file&ic=utf8" class="affiliate-link" target="_blank">file</a>_directories:<br />
    - /Cassandra/var/lib/cassandra/data<br />
次は<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%B3%E3%83%9F%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">コミット</a>ログの所在。<br />
# commit log<br />
commitlog_<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=directory&ic=utf8" class="affiliate-link" target="_blank">directory</a>: /Cassandra/var/lib/cassandra/commitlog<br />
キャッシュファイルの所在。<br />
# saved caches<br />
saved_caches_directory: /Cassandra/var/lib/cassandra/saved_caches<br />
<br />
conf下のlog4j-<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=server&ic=utf8" class="affiliate-link" target="_blank">server</a>.propertiesファイルにもログファイルの所在の設定がありますので、同じようにc:\Cassandra下になるようにしました。<br />
system.logファイルの所在。<br />
# Edit the next line to point to your logs directory<br />
log4j.appender.R.<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=File&ic=utf8" class="affiliate-link" target="_blank">File</a>=/Cassandra/var/log/cassandra/system.log# on another cmd window, run client<br />
<br />
<br />
以上でとりあえず設定は終了。今回のバージョンからキースペースはオンラインで作れるようになりました。<br />
<br />
それではカサンドラサーバの起動。-fはフォアグラウンド実行の意味。アクセスログを表示します。<br />
bin/cassandra -f<br />
<br />
とりあえず同一PC内ではクライアント接続できるはずなので、別のコマンドプロンプトからクライアントを起動。<br />
bin/cassandra-cli --host localhost<br />
C:\Cassandra\apache-cassandra-0.7.0>bin\cassandra-cli --host localhost<br />
Starting Cassandra Client<br />
Connected to: "Test Cluster" on localhost/9160<br />
Welcome to cassandra CLI.<br />
<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Type&ic=utf8" class="affiliate-link" target="_blank">Type</a> 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit.<br />
[default@unknown]<br />
<br />
つながりました。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>Cassandraが気になってます。</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2010-08-30</link>  
      <category>DB</category>  
      <pubDate>Mon, 30 Aug 2010 22:10:52 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2010-08-30</guid>  
      <description><![CDATA[<p>NOSQL。Not <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Only&ic=utf8" class="affiliate-link" target="_blank">Only</a> <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=SQL&ic=utf8" class="affiliate-link" target="_blank">SQL</a>らしいですが、SQLに寄らないキー／バリューストア型のDBのことです。<br />
そのなかでも特にCassandraが気になってます。以前、クラウドでパケ死記事で使われていた<br />
アレです。確か億単位<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%AC%E3%82%B3%E3%83%BC%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">レコード</a>を操作していたとか。<br />
<br />
今月やっと記事になっているのでゲットしました。<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Rails&ic=utf8" class="affiliate-link" target="_blank">Rails</a>3も気になるんだけどね。<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4774143243/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51Zl31eqjML._SL160_.jpg" class="sonet-asin-image" alt="WEB+DB PRESS Vol.58" title="WEB+DB PRESS Vol.58"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4774143243/sonet0f-22/ref=nosim" target="_blank">WEB+DB PRESS Vol.58</a></p><ul><li class="sonet-asin-label">作者: 編</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%BC%E3%82%AB%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">メーカー</a>: 技術評論社</li><li class="sonet-asin-label">発売日: 2010/08/24</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2&ic=utf8" class="affiliate-link" target="_blank">メディア</a>: 大型本</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
そして、これ。<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B003YHJ23C/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/61CgGcH8j%2BL._SL160_.jpg" class="sonet-asin-image" alt="ASCII.technologies (アスキードットテクノロジーズ) 2010年 10月号 [雑誌]" title="ASCII.technologies (アスキードットテクノロジーズ) 2010年 10月号 [雑誌]"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B003YHJ23C/sonet0f-22/ref=nosim" target="_blank">ASCII.technologies (アスキードットテクノロジーズ) 2010年 10月号 [雑誌]</a></p><ul><li class="sonet-asin-label">作者: </li><li class="sonet-asin-label">出版社/メーカー: アスキー・メディアワークス</li><li class="sonet-asin-label">発売日: 2010/08/24</li><li class="sonet-asin-label">メディア: <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E9%9B%91%E8%AA%8C&ic=utf8" class="affiliate-link" target="_blank">雑誌</a></li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>Ubuntu 9.10でrails</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2010-02-27</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Sat, 27 Feb 2010 19:39:31 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2010-02-27</guid>  
      <description><![CDATA[<p><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Ubuntu&ic=utf8" class="affiliate-link" target="_blank">Ubuntu</a> 9.10<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%87%E3%82%B9%E3%82%AF%E3%83%88%E3%83%83%E3%83%97&ic=utf8" class="affiliate-link" target="_blank">デスクトップ</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E6%97%A5%E6%9C%AC%E8%AA%9E&ic=utf8" class="affiliate-link" target="_blank">日本語</a>版で<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Ruby&ic=utf8" class="affiliate-link" target="_blank">Ruby</a> on <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Rails&ic=utf8" class="affiliate-link" target="_blank">Rails</a>の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%BB%E3%83%83%E3%83%88%E3%82%A2%E3%83%83%E3%83%97&ic=utf8" class="affiliate-link" target="_blank">セットアップ</a><br />
<br />
Ruby<br />
sudo apt-get install <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=ruby&ic=utf8" class="affiliate-link" target="_blank">ruby</a> ruby1.8-examples rdoc1.8 ri1.8<br />
sudo apt-get install ruby-dev<br />
sudo apt-get install irb<br />
<br />
Gem<br />
sudo apt-get install rubygems1.8<br />
<br />
Rails<br />
sudo gem install <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=rails&ic=utf8" class="affiliate-link" target="_blank">rails</a><br />
sudo apt-get install libopenssl-ruby libreadline-ruby<br />
<br />
sqlite3<br />
sudo apt-get install sqlite3 sqlite3-doc<br />
sudo apt-get install libsqlite3-dev<br />
sudo gem install sqlite3-ruby<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>ビープ音を出さない。</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2010-02-08</link>  
      <category>linux</category>  
      <pubDate>Mon, 08 Feb 2010 21:44:54 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2010-02-08</guid>  
      <description><![CDATA[<p>静かな<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%AA%E3%83%95%E3%82%A3%E3%82%B9&ic=utf8" class="affiliate-link" target="_blank">オフィス</a>でビーッ！本人もドキッとしますので<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=linux&ic=utf8" class="affiliate-link" target="_blank">linux</a>のビープ音をださない方法。<br />
<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>名補完とかシェル上のビープ音。<br />
/etc/inputrcファイルに追記<br />
 set <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=bell&ic=utf8" class="affiliate-link" target="_blank">bell</a>-<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=style&ic=utf8" class="affiliate-link" target="_blank">style</a> none<br />
再ログインで有効化です<br />
<br />
viの編集時のビープ音。鳴らないかわりに色が<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5&ic=utf8" class="affiliate-link" target="_blank">フラッシュ</a>します。<br />
ユーザのホーム<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA&ic=utf8" class="affiliate-link" target="_blank">ディレクトリ</a>で、<br />
.vimrcファイルに追記<br />
 set visualbell<br />
<br />
補足<br />
ubuntu 9.10では/etc/modprobe.d/blacklist.confファイルの「blacklist pcspkr」の記述で基本ビープ音が出ないようになりました。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>壊れたWord文書を回復する</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2010-02-05</link>  
      <category>メモ</category>  
      <pubDate>Fri, 05 Feb 2010 21:26:07 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2010-02-05</guid>  
      <description><![CDATA[<p>たぶん、様々な修復方法はあるのでしょうが、私が発見したのはコレ。<br />
<br />
OpenOffice.orgのwriterで開いてみる。開けたら<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=word&ic=utf8" class="affiliate-link" target="_blank">word</a>形式で保存する。<br />
<br />
先日、会社でまさにコレで修復できました。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>いまさらsinatra？</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-12-11</link>  
      <category>フレームワーク</category>  
      <pubDate>Fri, 11 Dec 2009 23:53:13 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-12-11</guid>  
      <description><![CDATA[<p>いまさらsinatra？かもしれませんが、<br />
RubyonRailsよりお手軽なWeb<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%95%E3%83%AC%E3%83%BC%E3%83%A0&ic=utf8" class="affiliate-link" target="_blank">フレーム</a>ワークsinatraを見つけたのが今頃ということで。<br />
DBはとりあえず不要。単発のWebページを作るにはお手軽です。<br />
といっても今のところ何につかおうかぱっと思いつきませんが。<br />
<br />
メインページです。どなたかのブログにもありましたが、クール！<br />
<a href="http://www.sinatrarb.com/" target="_blank">http://www.sinatrarb.com/</a><br />
<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E6%97%A5%E6%9C%AC%E8%AA%9E&ic=utf8" class="affiliate-link" target="_blank">日本語</a>もね。<br />
<a href="http://www.sinatrarb.com/intro-jp.html" target="_blank">http://www.sinatrarb.com/intro-jp.html</a><br />
<br />
でも何で<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%B7%E3%83%8A%E3%83%88%E3%83%A9&ic=utf8" class="affiliate-link" target="_blank">シナトラ</a>？<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%B8%BD%E5%AD%90&ic=utf8" class="affiliate-link" target="_blank">帽子</a>シリーズでいくならディストロじゃないの？<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>Rails Tip：小数点データを扱う</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-09-11</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Fri, 11 Sep 2009 21:07:01 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-09-11</guid>  
      <description><![CDATA[<p>属性がinteger型だと小数点を扱うのに難がありそうです。小数点数を入力できてDBにはその値のまま格納されるようですが、ModelでDBの値を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%8F%96%E3%82%8A%E5%87%BA%E3%81%97&ic=utf8" class="affiliate-link" target="_blank">取り出し</a>てControllerに渡すときには小数点以下が切り捨てられてました。<br />
<br />
そこで、integer型ではなくdecimal型を使います。<br />
<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=ruby&ic=utf8" class="affiliate-link" target="_blank">ruby</a> script/generate Scaffold AnyModel <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=number&ic=utf8" class="affiliate-link" target="_blank">number</a>:decimal　とかで指定します。さらに小数点桁数とかはdb/migration下のマイグレーションファイルの中で、decimal型のnumberに対する<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">オプション</a>で指定できます。<br />
     t.decimal :number, :precision => 5, :<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=scale&ic=utf8" class="affiliate-link" target="_blank">scale</a> => 2　　　// numberは５桁で小数点以下２桁<br />
<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>Rails Tip: XML出力でハイフンをアンダースコアに戻す</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-08-31</link>  
      <category>Ruby on Rails</category>  
      <pubDate>Mon, 31 Aug 2009 21:40:45 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-08-31</guid>  
      <description><![CDATA[<p>FLEXとかと連携するときに<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Rails&ic=utf8" class="affiliate-link" target="_blank">Rails</a>の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=XML&ic=utf8" class="affiliate-link" target="_blank">XML</a>出力は便利です。<br />
ただし<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A8%E3%83%AC%E3%83%A1%E3%83%B3%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">エレメント</a>名とか<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A2%E3%83%B3%E3%83%80%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">アンダー</a>スコアが勝手にハイフンになってしまいます。これだとFLEX側で認識させ難いので、ハイフン化を抑止します。<br />
<br />
render :<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=xml&ic=utf8" class="affiliate-link" target="_blank">xml</a> => @hoge.to_xml(:dasherize => false)<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>ITIL v3</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-06-16</link>  
      <category>運用管理</category>  
      <pubDate>Tue, 16 Jun 2009 23:14:27 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-06-16</guid>  
      <description><![CDATA[<p>昨今、IT技術者のハシクレなら<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=ITIL&ic=utf8" class="affiliate-link" target="_blank">ITIL</a>位押さえておかなきゃ！ってことで<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%82%A2%E3%83%83%E3%83%97&ic=utf8" class="affiliate-link" target="_blank">バージョンアップ</a>なったITILv3を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%8B%89%E5%BC%B7&ic=utf8" class="affiliate-link" target="_blank">勉強</a>中。<br />
<br />
テキストはこれです。<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4798022535/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51LJcyDIshL._SL160_.jpg" class="sonet-asin-image" alt="図解入門ビジネス 最新ITIL V3の基本と仕組みがよーくわかる本 (How‐nual Business Guide Book)" title="図解入門ビジネス 最新ITIL V3の基本と仕組みがよーくわかる本 (How‐nual Business Guide Book)"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4798022535/sonet0f-22/ref=nosim" target="_blank">図解入門ビジネス 最新ITIL V3の基本と仕組みがよーくわかる本 (How‐nual Business Guide Book)</a></p><ul><li class="sonet-asin-label">作者: 打川 和男</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%BC%E3%82%AB%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">メーカー</a>: 秀和システム</li><li class="sonet-asin-label">発売日: 2009/04</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2&ic=utf8" class="affiliate-link" target="_blank">メディア</a>: 単行本</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
原書の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E6%97%A5%E6%9C%AC%E8%AA%9E&ic=utf8" class="affiliate-link" target="_blank">日本語</a>版も読んだけど<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E8%8B%B1%E8%A8%B3&ic=utf8" class="affiliate-link" target="_blank">英訳</a>的日本語で意味わからん。<br />
なので。<br />
<br />
ひととおり目を通したらEXINの試験でも受けてみようと思います。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>miniSDHCカードを増設</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-05-08</link>  
      <category>eeepc900</category>  
      <pubDate>Fri, 08 May 2009 00:53:30 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-05-08</guid>  
      <description><![CDATA[<p>Eeepc 900にminiSDHCカードを追加して記憶領域を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%A2%97%E8%A8%AD&ic=utf8" class="affiliate-link" target="_blank">増設</a>します。<br />
<br />
buffaloの4G<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%9E%E3%82%A4%E3%82%AF%E3%83%AD&ic=utf8" class="affiliate-link" target="_blank">マイクロ</a>SDHCカードと、この<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=USB&ic=utf8" class="affiliate-link" target="_blank">USB</a>カードリーダライタ<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B001MQBRJO/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/31OLaZyMe2L._SL160_.jpg" class="sonet-asin-image" alt="バッファローコクヨサプライ BUFFALO カードリーダー/ライター microSD対応 超コンパクト ホワイト BSCRMSDCWH" title="バッファローコクヨサプライ BUFFALO カードリーダー/ライター microSD対応 超コンパクト ホワイト BSCRMSDCWH"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B001MQBRJO/sonet0f-22/ref=nosim" target="_blank">バッファローコクヨサプライ BUFFALO カードリーダー/ライター microSD対応 超コンパクト ホワイト BSCRMSDCWH</a></p><ul><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/メーカー: バッファローコクヨサプライ</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2&ic=utf8" class="affiliate-link" target="_blank">メディア</a>: エレクトロニクス</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
で記憶容量を4G増やしました。見た目も5,6mm出っ張る位でほとんど気になりません。<br />
Eeepc900は3つUSBスロットがあるので1つ空けておき、2つをmicroSDHCカードで使うとすると、<br />
内蔵<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%87%E3%82%A3%E3%82%B9%E3%82%AF&ic=utf8" class="affiliate-link" target="_blank">ディスク</a>１（SSD）　8GB（Win）<br />
内蔵ディスク２（SSD）　8GB（Win）<br />
SDHCカード　16GB（<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Linux&ic=utf8" class="affiliate-link" target="_blank">Linux</a>）<br />
microSDHCカード１　4GB（Win）<br />
microSDHCカード２　増設未<br />
ということで、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Windows&ic=utf8" class="affiliate-link" target="_blank">Windows</a>では20GB、Linuxでは36GBだけ使えることになります。<br />
microSDHCカードも16GBものが出ているので16GBx2とすればLinuxでMAX 64GBまで増やせますね。<br />
<br />
<br />
<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>EeePCのUbuntuで無線LANを使う</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-04-22</link>  
      <category>linux</category>  
      <pubDate>Wed, 22 Apr 2009 00:19:36 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-04-22</guid>  
      <description><![CDATA[<p>EeePCに普通に<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Ubuntu&ic=utf8" class="affiliate-link" target="_blank">Ubuntu</a>を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>すると無線LANが使えませんので何とかします。<br />
<br />
ググッてみると<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%AB%E3%83%BC%E3%83%8D%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">カーネル</a>をEeePC用に交換すると使えるようになるらしいのでそうします。<br />
<br />
Array.orgにある<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8&ic=utf8" class="affiliate-link" target="_blank">パッケージ</a>を取り込みます。手順は<a href="http://peer2.net/sjdojo/?p=1079" target="_blank">こちら様のサイト</a>の手順に従わせていただきました。<br />
<br />
インストールするカーネルは２種類あるようですが、まあ手堅く安定版（leanじゃないほう）を選びました。<br />
インストールが終わったら必ず/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=boot&ic=utf8" class="affiliate-link" target="_blank">boot</a>/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=grub&ic=utf8" class="affiliate-link" target="_blank">grub</a>/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=menu&ic=utf8" class="affiliate-link" target="_blank">menu</a>.lstを確認します。インストールの途中に出てくる選択画面によってはmenu.lstが書き換えられますし、その際に前回追記した<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=root&ic=utf8" class="affiliate-link" target="_blank">root</a> (hd0,0)とかが亡き者にされていることがあるので。<br />
<br />
で再起動します。<br />
<br />
なお、通常インストールではシャットダウンしたあと電源が終了しない件も、このカーネルを入れることで電源が切れるようになりました。<br />
<br />
ちなみに上のサイト様のコメント欄を見ると特定のパッケージを入れることで通常のカーネルでも無線LAN対応するようです。　後のカーネル<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">アップデート</a>を考えるとこちらの方が<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%B9%E3%83%9E%E3%83%BC%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">スマート</a>かも。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>EeePCでWindowsとLinuxのデュアルブート環境を作る</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-04-20</link>  
      <category>linux</category>  
      <pubDate>Mon, 20 Apr 2009 21:48:36 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-04-20</guid>  
      <description><![CDATA[<p>このメモはWindows版のEeePCと、Linuxを導入したSDHCカードの組み合わせでWin/Linuxのデュアルブート環境を手に入れるというものです。<br />
<br />
で、EeePCは例の定額～を当てにして、おこずかいとあわせて買ってしまいました。<br />
もともとはLinuxを使いたいと思っていたのですが、日本ではWindowsプレインストール版しか売っておらず、いざ買ってみるとLinuxを導入するためにWindowsを抹消するのがもったいなく思えましたので、SDHCカードにLinuxを<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>してデュアルブート環境で使うことにしました。ちなみにSDHCカードはアマゾンで３５００円位で買いました。<br />
<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B0015AOK1O/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51rah%2BPlnpL._SL160_.jpg" class="sonet-asin-image" alt="Transcend SDHCカード Class6 16GB TS16GSDHC6" title="Transcend SDHCカード Class6 16GB TS16GSDHC6"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B0015AOK1O/sonet0f-22/ref=nosim" target="_blank">Transcend SDHCカード Class6 16GB TS16GSDHC6</a></p><ul><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/メーカー: トランセンド・ジャパン</li><li class="sonet-asin-label">メディア: エレクトロニクス</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
さて、EeePCでSDHCカードにLinuxをインストールすること自体はよそ様のサイトでたくさん紹介されていましたのでそれを参考に。で本題のデュアルブートですが、まず２通りの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%84%E3%82%8A%E6%96%B9&ic=utf8" class="affiliate-link" target="_blank">やり方</a>があります。<br />
１．起動時にESCキーでブートドライブを選ぶ。SDHCカードならLinux、SSDならWindowsということですね。<br />
２．GRUBで起動OSを選ぶ。一覧からUbuntuかWindowsを選ぶということですね。<br />
で、Linux者としては、２で行くことにします。<br />
<br />
環境は以下の通り。<br />
EeePC 900（内蔵ディスク8GBｘ2個）<br />
OS:Ubuntu 8.x<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E6%97%A5%E6%9C%AC%E8%AA%9E&ic=utf8" class="affiliate-link" target="_blank">日本語</a>デスクトップ、Windows XP SP3<br />
<br />
先ずUbuntuのインストールはよそ様のサイトを参考に。そして以降のざっくりとした手順としては、インストール後の初回起動でLinuxを起動して、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Grub&ic=utf8" class="affiliate-link" target="_blank">Grub</a>のmenu.lstを書き換えるというもの。注意点は<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=BIOS&ic=utf8" class="affiliate-link" target="_blank">BIOS</a>の設定で起動<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%89%E3%83%A9%E3%82%A4%E3%83%96&ic=utf8" class="affiliate-link" target="_blank">ドライブ</a>の順序をSSDよりもSDHCカードを先にするということ。<br />
<br />
１．先ずUbuntuインストール後の再起動で、ESCキーによるブートドライブ選択でSDHCカードを選ぶ。<br />
２．Grubが起動するのでUbuntu OS（リストの最上位のやつ）を選び、Eコマンドで起動コマンドの編集モードにします。<br />
３．編集モードで「<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=root&ic=utf8" class="affiliate-link" target="_blank">root</a> (hd0,0)」をuuid～の行の上に追加。要はSDHCカードの第一パーティションをブート時に読み出すという設定を追加します。<br />
４．上の１行を追加した状態でGrubからブート。これでSDHCカード上にインストールしたUbuntuが起動します。<br />
５．普通にログインしてコマンドシェルから、sudo vi /boot/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=grub&ic=utf8" class="affiliate-link" target="_blank">grub</a>/menu.lst。ブートメニューの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>を編集します。<br />
６．Grubで表示されるブートOSの群れのうち、Linuxについてはtitle行の下、uuid～の行の上に３の「root (hd0,0)」を追加します。これでLinux系のOSはSDHCカードから起動することになるのでOKですね。<br />
７．でWindowsですが、このEeePCでは内蔵SSDが２個あります。ということはSDHCカードを含め３台のディスクがあることになります。Grubが起動するSDHCカードはhd0として認識されるので、残りのSSDはhd1とhd2になります。また通常はWindowsOSが入っているのは１番目のSSDなので、hd1がWindowsの起動用ディスクということになります。そこで以下の通りmenu.lstのWindowsの起動コマンドを記述します。<br />
-----------------------------------------------------------------------<br />
title Microsoft～（Grubで表示されるOS名ですね）<br />
map (hd0) (hd1)<br />
map (hd1) (hd2)<br />
map (hd2) (hd0)<br />
root (hd1,0)<br />
makeactive<br />
chainloader +1<br />
-----------------------------------------------------------------------<br />
これでできあがり。<br />
<br />
補足：<br />
BIOSのBoot Device Priorityは以下の順です。<br />
1st Boot Device  [USB:USB2.0 CardRea]<br />
2nd Boot Device  [Removable Dev.]<br />
3rd Boot Device  [ATAPI CD-ROM]<br />
<br />
同じくHard Disk Drivesは以下の通り。<br />
1st Drive  [USB:USB2.0 CardRea]<br />
2nd Drive  [HDD:SS-ASUS-PHISON]<br />
3rd Drive  [HDD:SM-ASUS-PHISON]<br />
<br />
ハードディスクの名前でSSとSMとありますが、いわゆるS:スレーブ、M:マスターではないのでご注意！<br />
私これにハマリマシタ。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>LinuxでタグVLANを収容する</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-04-07</link>  
      <category>linux</category>  
      <pubDate>Tue, 07 Apr 2009 23:07:57 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-04-07</guid>  
      <description><![CDATA[<p><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Linux&ic=utf8" class="affiliate-link" target="_blank">Linux</a>のNICでタグ<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=VLAN&ic=utf8" class="affiliate-link" target="_blank">VLAN</a>付き<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%91%E3%82%B1%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">パケット</a>を送受信できると聞きかじったのでちょっと調べたところ、たしかにできるようです。 <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Ubuntu&ic=utf8" class="affiliate-link" target="_blank">Ubuntu</a> 8.xでは<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=vlan&ic=utf8" class="affiliate-link" target="_blank">vlan</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8&ic=utf8" class="affiliate-link" target="_blank">パッケージ</a>、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=CentOS&ic=utf8" class="affiliate-link" target="_blank">CentOS</a> 4.xではvconfigパッケージを導入することで、vconfig<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">コマンド</a>が使えるようになります。　このコマンドでNICの配下に論理NICを設定するのと同じような感じで設定できました。<br />
<br />
設定例：<br />
NICのeth0配下にVLAN番号100のインタフェースを設定して、そのインタフェースにIP<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9&ic=utf8" class="affiliate-link" target="_blank">アドレス</a>192.168.0.100を割り当てる。<br />
# vconfig add eth0 100<br />
# ifconfig eth0.100 192.168.0.100/24<br />
<br />
上の例では「eth0.100」という名前のインタフェースができますが、この命名規則は変えられます。例えばeth0は付けないで「vlan100」とか。また、vconfigコマンドで設定するときeth0はUPしている必要があるようです。<br />
<br />
本当はQinQができるとうれしいんですが、こちらはググッてもできるようなできないような。。。さらに調査要です。<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>日本語でプログラミング なでしこ</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-04-06</link>  
      <category>言語</category>  
      <pubDate>Mon, 06 Apr 2009 22:35:48 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-04-06</guid>  
      <description><![CDATA[<p>前から気になっていた<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E6%97%A5%E6%9C%AC%E8%AA%9E&ic=utf8" class="affiliate-link" target="_blank">日本語</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0&ic=utf8" class="affiliate-link" target="_blank">プログラミング</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E8%A8%80%E8%AA%9E&ic=utf8" class="affiliate-link" target="_blank">言語</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%81%AA%E3%81%A7%E3%81%97%E3%81%93&ic=utf8" class="affiliate-link" target="_blank">なでしこ</a>です。<br />
けっこう面白く使えそうな匂いがします。<br />
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">ポイント</a>は、<br />
・日本語で書ける。<br />
・ちょこっとした画面アプリがお手軽にできる。<br />
・ＤＢ連携とか<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A8%E3%82%AF%E3%82%BB%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">エクセル</a>連携とかできる。<br />
<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4883376036/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/41c-k6zEUQL._SL160_.jpg" class="sonet-asin-image" alt="日本語プログラム言語なでしこ公式バイブル" title="日本語プログラム言語なでしこ公式バイブル"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4883376036/sonet0f-22/ref=nosim" target="_blank">日本語プログラム言語なでしこ公式バイブル</a></p><ul><li class="sonet-asin-label">作者: クジラ飛行机</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%BC%E3%82%AB%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">メーカー</a>: ソシム</li><li class="sonet-asin-label">発売日: 2008/06</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2&ic=utf8" class="affiliate-link" target="_blank">メディア</a>: 単行本</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
公式ページは<a href="http://nadesi.com/" target="_blank">コチラ</a>。<br />
<br />
要は何かちょこっとした<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%87%E3%83%BC%E3%82%BF%E5%85%A5%E5%8A%9B&ic=utf8" class="affiliate-link" target="_blank">データ入力</a>用に、だけど入力ミスとか、使うのがＰＣ初心者とか、データ入力業務に関係ない機能は絶対使わせたくないとか、そういった場合に向いているかなあと思います。<br />
<br />
<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item>  
    <item> 
      <title>最近のSamba関連本</title>  
      <link>http://tterrytech.blog.so-net.ne.jp/2009-02-18-2</link>  
      <category>linux</category>  
      <pubDate>Wed, 18 Feb 2009 21:24:39 +0900</pubDate>  
      <guid isPermaLink="false">http://tterrytech.blog.so-net.ne.jp/2009-02-18-2</guid>  
      <description><![CDATA[<p><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Samba&ic=utf8" class="affiliate-link" target="_blank">Samba</a>。<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%82%A2%E3%83%83%E3%83%97&ic=utf8" class="affiliate-link" target="_blank">バージョンアップ</a>が結構早く、各エクストラバージョン（マイナーバージョンの下）間の差異もあり、互換性や設定項目も変更が多いことから情報が陳腐化しがち。構築の際はバージョンに合った情報を把握しておくこと。<br />
<br />
最近のSamba関連書籍を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%82%A2%E3%83%9E%E3%82%BE%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">アマゾン</a>で検索してもfdoraとか<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=CentOS&ic=utf8" class="affiliate-link" target="_blank">CentOS</a>の自宅サーバ構築本しか出てこない。3.xだと古いけどコレ（3.0.11）。<br />
<br />
<!-- amazon --><br />
<div class="sonet-asin-area"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4822234002/sonet0f-22/ref=nosim" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51222GFS7ZL._SL160_.jpg" class="sonet-asin-image" alt="セキュアなSambaサーバーの作り方 (日経BPパソコンベストムック)" title="セキュアなSambaサーバーの作り方 (日経BPパソコンベストムック)"></a><div class="sonet-asin-info"><p class="sonet-asin-title"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4822234002/sonet0f-22/ref=nosim" target="_blank">セキュアなSambaサーバーの作り方 (日経BPパソコンベストムック)</a></p><ul><li class="sonet-asin-label">作者: <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E6%97%A5%E7%B5%8C&ic=utf8" class="affiliate-link" target="_blank">日経</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=Linux&ic=utf8" class="affiliate-link" target="_blank">Linux</a></li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E5%87%BA%E7%89%88&ic=utf8" class="affiliate-link" target="_blank">出版</a>社/<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%BC%E3%82%AB%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">メーカー</a>: 日経BP社</li><li class="sonet-asin-label">発売日: 2005/10</li><li class="sonet-asin-label"><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=tterrytech:000299489355&k=%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2&ic=utf8" class="affiliate-link" target="_blank">メディア</a>: ムック</li></ul></div></div><div class="sonet-asin-break"><!-- --></div><br />
<!--/ amazon --><br />
<br />
3.2だといきなり一次情報にあたるのはしきいが高いとすれば、月刊誌の特集を漁るしかないか？<br />
<a name="more"></a></p>]]></description>  
      <author>terry</author> 
    </item> 
  </channel> 
</rss>

