Etch Railsインストールメモ
〔基本〕
Debian GNU/Linux 4.0 -- インストールガイド
http://www.debian.org/releases/stable/installmanual
Debian -- 最小の CD を使って、ネットワークインストールする
http://www.debian.org/CD/netinst/
ネットワークインストール用最小イメージをgetして CD-Rに焼く
Index of /debian-cd/4.0_r0/i386/iso-cd
http://cdimage.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso
焼くのに私はXPを使っているのでWindowsResource Kit Toolsを使用しました。
Download details: Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
ダウンロードして解凍してCdburn.exe というCDイメージを書き込むプログラムを使います。
getしたDebianインストール用最小イメージがc:\hoge に保存されたとして
CD-RがDドライブの場合
cdburn d: C:\hoge\debian-40r0-i386-netinst.iso /speed max
でエラーが出なければ Etchネットワークインストール用CDが出来上がります。
bootでこのCDを読ませてあとはネットワークからインストールです。
# apt-get install rubygems# gem install gettext 3. gettext 1.8.0 (ruby) Building native extensions. This could take a while... extconf.rb:12:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:12# aptitude install ruby-dev# aptitude install gettext# aptitude install ruby1.8-dev# gem install gettext : make make install make clean Successfully installed gettext-1.8.0
〔参考〕
LS-GL:debian:開発環境のインストール
http://www.yamasita.jp/linkstation/0609/060927.html
【ネットインストールしたままのaptline】
deb http://ftp.jp.debian.org/debian/ etch main
deb-src http://ftp.jp.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
【non-free追加のaptline】
deb http://ftp.jp.debian.org/debian/ etch main contrib non-free
deb http://ftp.jp.debian.org/debian/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
# apt-get install dev# gem uninstall gettext# apt-get install libgettext-ruby
※gem でgetttext をインストールするとハマるのですよ^^
正解は、gem でgettextをインストールしないで
# apt-get install libgettext-ruby
ですけど。せっかくの苦労のあとを残しておくのじゃ
その後yabukiさんのご指摘により不要分は、線消ししましたぁ thanks> yabukiさん