おのたく日記 YouTubeも始めました→
2006-05-23(Tue) [長年日記]
■ [Debian] amd64 etchにATOK for Linuxをインストール
といっても64bitでは動かせないので、chrootしたi386上にインストール
1. ATOK for LinuxのCD-ROMをマウント
2. dchroot -c i386 aptinude install atokx2
3. updeteファイルが有るので、Webよりdownloadしてきて/tmp以下に展開
4. updateのインストール
(i386)# cd /
(i386)# tar xvfz /tmp/atokforlinux_update_17_0_2_1/bin/ATOK/atokx-17.0-2.1.i386.patch.tar.gz
5. 64bitのboot時に起動するために/etc/init.d/atokx2を作成
#!/bin/sh
# atokx server i368 kikker
/usr/bin/dchroot /etc/init.d/atokx2 -c i386 $*
6. update-rc.dで/etc/rc?.d/を作成
/etc/init.d# update-rc.d atokx2 defaults
Adding system startup for /etc/init.d/atokx2 ...
/etc/rc0.d/K20atokx2 -> ../init.d/atokx2
/etc/rc1.d/K20atokx2 -> ../init.d/atokx2
/etc/rc6.d/K20atokx2 -> ../init.d/atokx2
/etc/rc2.d/S20atokx2 -> ../init.d/atokx2
/etc/rc3.d/S20atokx2 -> ../init.d/atokx2
/etc/rc4.d/S20atokx2 -> ../init.d/atokx2
/etc/rc5.d/S20atokx2 -> ../init.d/atokx2
これで、ATOK for Linux サーバが起動するようになった。
でも、クライアントの設定はまだなので、この文章もまだCANNAで書いている…
参考: Debian 3.1(sarge)へのインストール 2005年10月15日の日記「ATOK for Linuxを購入」
|