ここまででやっておいた方が便利なこと(追加)
# cp /etc/console/boottime.kmap.gz /home/ (/etc/console/上にboottime.kmap.gzがなければ、 cp /usr/share/keymaps/i386/qwerty/jp106.kmap.gz /home/ でもよい?) # gzip -d /home/boottime.kmap.gz # emacs -nw /home/boottime.kmap (29番と58番を入れ換える) # gzip /home/boottime.kmap # localkeys /home/boottime.kmap.gz (これでテストしてみる。CtrlキーとCapsLockキーが入れ替わっていれば成功) # cp /home/boottime.kmap.gz /etc/console/ # reboot
# apt-get install ntpdate # ln -s /etc/init.d/ntpdate /etc/cron.daily/ # chmod 755 /etc/cron.daily/ntpdate (これで、毎日、6時 25分頃に時刻合わせが自動で行われます)
do_initrd = Yes do_symlink = Yes postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub do_bootloader = no
しておく
通常であれば、 cp /boot/config-x.x.x.config 既に出来ているものがあるので、scpで/home/hujiokaに移動しておいた
make oldconfigをした場合には再度、 "make oldconfig"での決定が反映されているかをチェック
s30の場合、ここで
をmenuconfigあるいは.configを直接emacs等で編集しておく。
その後はhttp://softwaresuspend.berlios.de/Software-suspend-3.html#ss3.3 に書かれている通り
# cd /tmp # tar xzvf hibernate-script-0.99.tar.gz # cd hibernate-script-0.99 # ./install.sh #しておく。
/tmpで作業する。
hjk@s30:/tmp$ sudo tar zxvf linux-509.tar.gz Password: ./ ./COMMON.TAR ./INSTALL ./README ./LICREAD.TXT ./LINUXRDR.TAR tar: Read 8192 bytes from linux-509.tar.gz ./MANIFEST hjk@s30:/tmp$ sudo ./INSTALL …スクリプトを実行するとライセンスの説明が表示される。納得したら Q を押す。 To accept the terms and conditions of this agreement enter "accept". To decline the terms and conditions of this agreement enter "decline". Please type "accept" to accept the terms and conditions license agreement; Type "decline" to exit. accept …acceptと打ってEnterを押した。 This installation requires 25MB of free disk space. Enter installation directory for Acrobat 5.0.9 [/usr/local/Acrobat5] Directory "/usr/local/Acrobat5" does not exist. Do you want to create it now? [y] Installing platform independent files ... Done Installing platform dependent files ... Done hjk@s30:/tmp$
次に日本語フォントをインストールする。
rootになってやらないとうまくいかないので、suしとくこと。
s30:/tmp# tar zxvf jpnfont.tar.gz JPNKIT/ JPNKIT/INSTLANG JPNKIT/LICFONT.TXT JPNKIT/LANGJPN.TAR JPNKIT/LANGCOM.TAR tar: Read 4608 bytes from jpnfont.tar.gz s30:/tmp# cd JPNKIT/ s30:/tmp/JPNKIT# ./INSTLANG Welcome to the Asian Language Kit installation. This installation will not work if you do not have the Unix Acrobat Reader 5.0 or a higher version installed prior to this installation. If you do not have Acrobat Reader 5.0 or a higher version already installed on your system, please do so before installing this Asian Language Kit. Continue installation? [y] …スクリプトを実行するとライセンスの説明が表示される。納得したら Q を押す。 To accept the terms and conditions of this agreement enter "accept". To decline the terms and conditions of this agreement enter "decline". Please type "accept" to accept the terms and conditions of this license agreement; Type "decline" to exit. accept Enter the location where you installed the Acrobat Reader [/usr/local/Acrobat5] Installing... Installing Common resources ... Done Installing Japanese language resources ... Done Installation completed. s30:/tmp/JPNKIT#最後にコマンドから補完が効くように
s30:/tmp# ln -s /usr/local/Acrobat5/bin/acroread /usr/local/bin/acroreadしておく。