eclipse3.5の導入(Debian squeeze)
JAVA関連のインストール
# apt-get install sun-java6-jdk sun-java6-jre
JAVAの設定
# update-alternatives --config javac リンクグループ javac に 1 つの alternative のみがあります: /usr/lib/jvm/java-6-sun/bin/javac 設定は行いません。 root@foga:/home/chris# update-alternatives --config java alternative java (/usr/bin/java を提供) には 2 個の選択肢があります。 選択肢 パス 優先度 状態 ------------------------------------------------------------ * 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 自動モード 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 手動モード 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 手動モード 現在の選択 [*] を保持するには Enter、さもなければ選択肢の番号のキーを押してください: 2 update-alternatives: /usr/bin/java (java) を提供するために 手動モード で /usr/lib/jvm/java-6-sun/jre/bin/java を使います。
eclipseのインストール
# apt-get install eclipse 日本語化します。 # apt-get install pleiades
/etc/eclispe.iniの最終行に以下1行を追加します。
-javaagent:/usr/lib/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
eclipseの起動
$ eclipse -clean
vncviewerの導入(Debian squeeze)
vncviewerのインストール
# apt-get install vncviewer パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 注意、'vncviewer' の代わりに 'xtightvncviewer' を選択しています 提案パッケージ: tightvncserver ssh 以下のパッケージが新たにインストールされます: xtightvncviewer アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。 95.4 kB 中 0 B のアーカイブを取得する必要があります。 この操作後に追加で 242 kB のディスク容量が消費されます。 未選択パッケージ xtightvncviewer を選択しています。 (データベースを読み込んでいます ... 現在 104422 個のファイルとディレクトリがインストールされています。) (.../xtightvncviewer_1.3.9-6.1+b1_amd64.deb から) xtightvncviewer を展開しています... menu のトリガを処理しています ... man-db のトリガを処理しています ... xtightvncviewer (1.3.9-6.1+b1) を設定しています ... update-alternatives: /usr/bin/vncviewer (vncviewer) を提供するために 自動モード で /usr/bin/xtightvncviewer を使います。 menu のトリガを処理しています ... #
squeezeでは、vncviewerの代わりにxtightvncviewerがインストールされます。
xtightvncviewerの起動
# /usr/sbin/xtightvncviewer [ホスト名またはIPアドレス]:5900 Connected to RFB server, using protocol version 3.3 Performing standard VNC authentication Password: [VNCSERERのパスワードを入力]
ctrl+alt+delの送信
接続先のホストにctrl+alt+delを送信する場合は、 shift+ctrl+alt+delを押します。
debパッケージのインストール(Debian squeeze)
パッケージの新規インストール
# dpkg -i pkgname_8.1.4-2.0_i386.deb
依存関係を無視したパッケージの強制インストール
# dpkg -i --force-depends pkgname_8.1.4-2.0_i386.deb
パッケージのアンインストール
# dpkg -r bind
インストールされているパッケージを表示する
$ dpkg -l
Avira AntiVirの導入(Debian squeeze)
インストールパッケージのダウンロード
下記URLより、antivir-workstation-pers-3.1.3.5-0.tar.gz をダウンロードする。
Avira AntiVirのインストール
ダウンロードしたファイルの解凍。
# cd /home/username/ダウンロード/ # tar -zxvf antivir-workstation-pers-3.1.3.5-0.tar.gz
インストールの実行
# cd antivir-workstation-pers-3.1.3.5-0 # ./install
...... copying vdf/vbase025.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase026.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase027.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase028.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase029.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase030.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase031.vdf to /usr/lib/AntiVir/guard/ ... done copying hbedv_key to /usr/lib/AntiVir/guard/ ... done copying /usr/lib/AntiVir/guard/hbedv_key to /usr/lib/AntiVir/guard/avira_personal.key ... done installation of AntiVir Core Components (Engine, Savapi and Avupdate) complete 2) Configuring updates An internet updater is available with version 3.1.3.5-0 of AVIRA AntiVir Workstation (UNIX). It will ensure that you always have the latest virus signatures and engine updates. In order to trigger an update you will need to run the command: /usr/lib/AntiVir/guard/avupdate-guard Would you like to create a link in /usr/sbin for avupdate-guard ? [y] y linking /usr/sbin/avupdate-guard to /usr/lib/AntiVir/guard/avupdate-guard ... done Would you like to setup Scanner update as cron task ? [y] y The AntiVir Updater can be set to always check for updates at a particular time of day. This is specified in a HH:MM format (where HH is the hour and MM is the minutes). If you do not have a permanent connection, you may set it to a time when you are usually online. available option: HH:MM What time should updates be done [00:15]? 23:00 creating Scanner update cronjob ... done Would you like to check for Guard updates once a week ? [n] n setup internet updater complete 3) installing main program copying doc/antivir_server_and_professional_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.txt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko3compat2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-ondemand-mgmt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-scanner to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avscan to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avsavapi-super to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard.bin to /usr/lib/AntiVir/guard/ ... done No Dazukofs module found on your system. DazukoFS is a stackable filesystem driver developed independently by the Dazuko project (www.dazuko.org). Which means codechanges, bugfixes and roadmap of this driver is completely done by the Dazuko project and their community. For your convenience you can start the DazukoFS installation from here. Would you like to install dazukofs now ? [y] y installing dazuko ... Available Dazuko3-Package: '3.0.0-rc4' checking for needed build components: checking for C compiler cc ... not found Dazuko installation failed Dazuko module (www.dazuko.org) provides a virtual device driver allowing AVIRA Guard to provide resident realtime protection of specified directories from malicious files. Guard will not offer "on access" protection if it does not find a loaded dazuko module or OnAccessManagement is set to "no". You can still continue with the installation if you are only planning to use the command-line scanner (avscan) or you are going to compile your own dazuko module later. Would you like to continue the installation ? [y] n
Cコンパイラが入ってなかったため、Dazukoのインストールが失敗。
「Would you like to continue the installation ? [y]」には「n」を回答してインストールを中断。
Cコンパイラをインストールする。
# apt-get install gcc
linux-headersも必要なので、インストールする。
# apt-get install linux-headers-2.6.32-5-686
makeが入ってない場合は、これもインストールする。
# apt-get install make -V
再度、Antivirのインストールを実行する。
# ./install ...... copying vdf/vbase030.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase031.vdf to /usr/lib/AntiVir/guard/ ... done copying hbedv_key to /usr/lib/AntiVir/guard/ ... done copying /usr/lib/AntiVir/guard/hbedv_key to /usr/lib/AntiVir/guard/avira_personal.key ... done installation of AntiVir Core Components (Engine, Savapi and Avupdate) complete 2) Configuring updates An internet updater is available with version 3.1.3.5-0 of AVIRA AntiVir Workstation (UNIX). It will ensure that you always have the latest virus signatures and engine updates. In order to trigger an update you will need to run the command: /usr/lib/AntiVir/guard/avupdate-guard Scanner cronjob found in /etc/cron.d/avira_updater Would you like to replace the old cronjob? [n] Would you like to check for Guard updates once a week ? [n] setup internet updater complete 3) installing main program copying doc/antivir_server_and_professional_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.txt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko3compat2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-ondemand-mgmt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-scanner to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avscan to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avsavapi-super to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard.bin to /usr/lib/AntiVir/guard/ ... done No Dazukofs module found on your system. DazukoFS is a stackable filesystem driver developed independently by the Dazuko project (www.dazuko.org). Which means codechanges, bugfixes and roadmap of this driver is completely done by the Dazuko project and their community. For your convenience you can start the DazukoFS installation from here. Would you like to install dazukofs now ? [y] y installing dazuko ... Available Dazuko3-Package: '3.0.0-rc4' checking for needed build components: checking for C compiler cc ... found checking for C compiler gcc ... found checking for kernel sources ... found detecting kernel version ... 2.6.32 unpacking dazuko-3.0.0-rc4_2.6.29 ... done installing dazuko-3.0.0-rc4_2.6.29 ... make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-5-686' に入ります CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/super.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/inode.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/file.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dentry.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/mmap.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/group_dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/ign_dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/ctrl_dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/event.o /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/event.c: In function ‘dazukofs_get_event’: /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/event.c:1058: warning: ‘grp’ may be used uninitialized in this function LD [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dazukofs.o Building modules, stage 2. MODPOST 1 modules CC /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dazukofs.mod.o LD [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dazukofs.ko make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-5-686' から出ます mkdir -p /lib/modules/`uname -r`/kernel/fs/dazukofs cp dazukofs.ko /lib/modules/`uname -r`/kernel/fs/dazukofs /sbin/depmod -ae WARNING: -e needs -E or -F done initiate dazukofs ... done linking /usr/lib/AntiVir/guard/libdazuko.so to /usr/lib/AntiVir/guard/libdazuko3compat2.so ... done Guard will automatically protect all directories which are mounted upon dazukofs filesystem. Please specify at least one directory to be protected by Guard to add in /etc/fstab : [/home] The following directories will be protected by Guard: /home If you want to remove or include more directories you will need to edit your /etc/fstab file and remount dazukofs. backup original /etc/fstab to /etc/fstab.orig adding DazukoFS IncludePath /home to /etc/fstab ... done Mounting /home as dazukofs... copying etc/avscan.conf to /etc/avira/ ... done copying etc/avscan.conf to /etc/avira/avscan.conf.default ... done copying build.dat to /usr/lib/AntiVir/guard/ ... done copying script/avguard_start.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguard_restart.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguard_stop.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguard_post.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguardkey_post.sh to /usr/lib/AntiVir/guard/ ... done copying script/start_guard_upgrade.sh to /usr/lib/AntiVir/guard/ ... done copying script/smcagent_reload.sh to /usr/lib/AntiVir/guard/ ... done copying script/avira_start.sh.template to /usr/lib/AntiVir/guard/avguard ... done /home/quarantine, the AVIRA Guard default quarantine directory, does not exist. INFO: You can change the quarantine directory in /etc/avira/avguard.conf. and /etc/avira/avscan.conf after the installation. Would you like to create /home/quarantine ? [y] y creating /home/quarantine ... done Would you like to install the AVIRA Guard GNOME plugin ? [n] y installing AVIRA Guard GNOME plugin ... *** Installing pre-compiled applet [#ged191a2] done linking /usr/bin/avscan to /usr/lib/AntiVir/guard/avscan ... done linking /usr/bin/scan to /usr/lib/AntiVir/guard/avscan ... done Would you like to create a link in /usr/sbin for avguard ? [y] y linking /usr/sbin/avguard to /usr/lib/AntiVir/guard/avguard ... done Please specify if boot scripts should be set up. Set up boot scripts ? [y] setting up boot script ... done installation of AVIRA Guard complete checking for existing /etc/avira/avguard.conf ... not found copying etc/avguard.conf to /etc/avira/ ... done copying etc/avguard.conf to /etc/avira/avguard.conf.default ... done checking for existing /etc/avira/avguard-scanner.conf ... not found copying etc/avguard-scanner.conf to /etc/avira/ ... done copying etc/avguard-scanner.conf to /etc/avira/avguard-scanner.conf.default ... done creating /usr/lib/AntiVir/guard/agent ... done creating /usr/lib/AntiVir/agent ... done copying smcpkg/scanparameters.txt to /usr/lib/AntiVir/guard/agent/ ... done copying smcpkg/libuxwks.so.linux_glibc22 to /usr/lib/AntiVir/guard/agent/libuxwks.so ... done linking /usr/lib/AntiVir/guard/agent/libuxwks.so to /usr/lib/AntiVir/agent/libuxwks.so ... done copying smcpkg/libuxsrv.so.linux_glibc22 to /usr/lib/AntiVir/guard/agent/libuxsrv.so ... done linking /usr/lib/AntiVir/guard/agent/libuxsrv.so to /usr/lib/AntiVir/agent/libuxsrv.so ... done copying script/write_fstab.sh to /usr/lib/AntiVir/guard/agent/ ... done creating /usr/lib/AntiVir/guard/gui ... done creating /usr/lib/AntiVir/guard/gui/cert ... done creating /usr/lib/AntiVir/guard/gui/src ... done creating /usr/lib/AntiVir/guard/gui/bin ... done copying bin/linux_glibc22/avgu_stats.lck to /usr/lib/AntiVir/guard/gui/bin/ ... done copying bin/linux_glibc22/avgu_stats to /usr/lib/AntiVir/guard/gui/bin/ ... done copying bin/linux_glibc22/antivir_start.real to /usr/lib/AntiVir/guard/gui/bin/ ... done copying bin/linux_glibc22/antivir_start to /usr/lib/AntiVir/guard/gui/bin/ ... done copying smcpkg/src/antivir_start.c to /usr/lib/AntiVir/guard/gui/src/ ... done copying smcpkg/cert/client.jks to /usr/lib/AntiVir/guard/gui/cert/ ... done copying smcpkg/cert/server.pem to /usr/lib/AntiVir/guard/gui/cert/ ... done copying smcpkg/cert/cacert.jks to /usr/lib/AntiVir/guard/gui/cert/ ... done copying smcpkg/cert/cacert.pem to /usr/lib/AntiVir/guard/gui/cert/ ... done Would you like to start AVIRA Guard 2011-09-04 (日) 11:50:49 [y] y Starting AVIRA AntiVir Workstation Personal ... Starting: avguard.bin INFO: Your SMC plug-in was not registered. You can register the SMC plug-in with the following command: /usr/lib/AntiVir/agent/agent --install-plugin uxwks /usr/lib/AntiVir/guard/agent/libuxwks.so Installation of the following features complete: AntiVir Core Components (Engine, Savapi and Avupdate) AVIRA Internet Updater AVIRA Guard AntiVir SMC plugin *********************************************************** [#zda8f1cb] Configuration files: /etc/avira/avguard.conf (AVIRA Guard main config) /etc/avira/avscan.conf (AVIRA Guard avscan config) /etc/avira/avguard-scanner.conf (AVIRA Guard scanner config) /etc/avira/avupdate-guard.conf (AVIRA Avupdate options) *********************************************************** [#a7cfb807] Note: It is highly recommended that you perform an update now to ensure up-to-date protection. This can be done by running: /usr/lib/AntiVir/guard/avupdate-guard --product=Guard Be sure to read the manual file for additional information. Thank you for your interest in AVIRA AntiVir Workstation (UNIX).
clamavの導入(Debian squeeze)
clamavのインストール
# apt-get install clamav パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 以下の特別パッケージがインストールされます: clamav-base clamav-freshclam libclamav6 libtommath0 提案パッケージ: clamav-docs libclamunrar6 以下のパッケージが新たにインストールされます: clamav clamav-base clamav-freshclam libclamav6 libtommath0 アップグレード: 0 個、新規インストール: 5 個、削除: 0 個、保留: 0 個。 5,230 kB のアーカイブを取得する必要があります。 この操作後に追加で 12.1 MB のディスク容量が消費されます。 続行しますか [Y/n]? y 取得:1 http://ftp.dti.ad.jp/pub/Linux/debian/ squeeze/main libtommath0 amd64 0.39-4 [64.8 kB] 取得:2 http://ftp.dti.ad.jp/pub/Linux/debian/ squeeze-updates/main libclamav6 amd64 0.97.5+dfsg-3~squeeze1 [4,198 kB] 取得:3 http://ftp.dti.ad.jp/pub/Linux/debian/ squeeze-updates/main clamav-base all 0.97.5+dfsg-3~squeeze1 [307 kB] 取得:4 http://ftp.dti.ad.jp/pub/Linux/debian/ squeeze-updates/main clamav-freshclam amd64 0.97.5+dfsg-3~squeeze1 [321 kB] 取得:5 http://ftp.dti.ad.jp/pub/Linux/debian/ squeeze-updates/main clamav amd64 0.97.5+dfsg-3~squeeze1 [339 kB] 5,230 kB を 2秒 で取得しました (1,976 kB/s) パッケージを事前設定しています ... 未選択パッケージ libtommath0 を選択しています。 (データベースを読み込んでいます ... 現在 126539 個のファイルとディレクトリがインストールされています。) (.../libtommath0_0.39-4_amd64.deb から) libtommath0 を展開しています... 未選択パッケージ libclamav6 を選択しています。 (.../libclamav6_0.97.5+dfsg-3~squeeze1_amd64.deb から) libclamav6 を展開しています... 未選択パッケージ clamav-base を選択しています。 (.../clamav-base_0.97.5+dfsg-3~squeeze1_all.deb から) clamav-base を展開しています... 未選択パッケージ clamav-freshclam を選択しています。 (.../clamav-freshclam_0.97.5+dfsg-3~squeeze1_amd64.deb から) clamav-freshclam を展開しています... 未選択パッケージ clamav を選択しています。 (.../clamav_0.97.5+dfsg-3~squeeze1_amd64.deb から) clamav を展開しています... man-db のトリガを処理しています ... libtommath0 (0.39-4) を設定しています ... libclamav6 (0.97.5+dfsg-3~squeeze1) を設定しています ... clamav-base (0.97.5+dfsg-3~squeeze1) を設定しています ... clamav-freshclam (0.97.5+dfsg-3~squeeze1) を設定しています ... Starting ClamAV virus database updater: freshclam. clamav (0.97.5+dfsg-3~squeeze1) を設定しています ...
ウィルス定義ファイルを最新の状態に更新する
# freshclam ClamAV update process started at Mon Aug 13 16:45:06 2012 main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven) daily.cvd is up to date (version: 15244, sigs: 255720, f-level: 63, builder: guitar) bytecode.cvd is up to date (version: 188, sigs: 38, f-level: 63, builder: neo)
ウィルスチェック
手動でウィルスチェックを行う場合は
# clamscan /home
のように実行する。
送受信されるメールのウィルスチェックを行うamavisd-new
grubでデュアルブート設定(Debian squeeze)
DebianとWindowsをデュアルブートする場合は、先にWindowsをインストールする。
Windowsインストール後、DebianをインスールしたときにGRUBブートローダがインストールされ、デュアルブート可能になる。
GRUBの設定ファイルは、/boot/grub/menu.lst
default 1 timeout 5 color cyan/blue white/blue title Debian GNU/Linux, kernel 2.6.18-5-686 root (hd0,5) kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/hda6 ro initrd /boot/initrd.img-2.6.18-5-686 savedefault title Microsoft Windows XP Home Edition root (hd0,0) savedefault makeactive chainloader +1
各項目の説明
default | GRUB起動時にデフォルトで選択するOSの番号を記述する。(番号は0から数える) |
timeout | 手動で選択しないときに自動的にOSが起動するまでの時間。 |
title | OSの名称などを自由に入力することができる。 |
root | 起動するデバイスとパーティションの設定。 |
kernel | カーネルの設定。(基本的にいじる必要はない) |
initrd | ブート設定ファイルの設定。(これもいじらない) |
savedefault | ? |
makeactive | ? |
cainloader | ? |
フォントの追加(Debian squeeze)
mscorefontsの追加
Microsoft TrueType core fontsを使用する場合は、
下記コマンドでインストールする。
# apt-get install ttf-mscorefonts-installer
umefontの追加
# apt-get install ttf-umefont
misakiの追加
# apt-get install ttf-misaki
konatuの追加
# apt-get install ttf-konatu
その他のフォント追加方法
使用したいフォントを/usr/local/share/fonts/truetypeにコピーすれば、使用可能。
日本語入力の導入(Debian squeeze)
Debian 6.0.1aの日本語入力はデフォルトでuimが使われている。
uimのインストールは、以下を実行する。
日本語フォントのインストール
# apt-get install uim uim-anthy
apt sources.listの設定 (Debian squeeze)
# # deb-src cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official Multi-architecture i386/amd64/source DVD #1 20110322-16:29]/ squeeze main # deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official Multi-architecture i386/amd64/source DVD #1 20110322-16:29]/ squeeze main # #deb-src cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official Multi-architecture i386/amd64/source DVD #1 20110322-16:29]/ squeeze main #deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official Multi-architecture i386/amd64/source DVD #1 20110322-16:29]/ squeeze main deb http://ftp2.jp.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp2.jp.debian.org/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main # squeeze-updates, previously known as 'volatile' deb http://ftp2.jp.debian.org/debian/ squeeze-updates main contrib deb-src http://ftp2.jp.debian.org/debian/ squeeze-updates main contrib