O Installation Tips for Debian Woody


aptの設定

/etc/apt/sources.listを以下のように編集
--------------------------------------------------------------------
deb http://security.debian.org/ woody/updates main contrib non-free
# or deb ftp://security.debian.org/debian-security potato/updates main contrib non-free
deb ftp://ring.so-net.ne.jp/pub/linux/debian/debian woody main contrib non-free
deb ftp://ring.so-net.ne.jp/pub/linux/debian/debian-jp woody-jp main contrib non-free
deb ftp://ring.so-net.ne.jp/pub/linux/debian/debian-non-US woody/non-US main contrib non-free
--------------------------------------------------------------------
またはapt-setupを実行して/etc/apt/sources.listを自動生成する.


IPアドレス等の設定

/etc/network/interfacesを編集
-設定例----------------------------------------------
auto eth0
iface eth0 inet static
        address 192.168.123.XXX
        netmask 255.255.255.0
        network 192.168.123.0
        broadcast 192.168.123.255
        gateway 192.168.123.1
-----------------------------------------------------


DNSの設定

/etc/resolv.confを編集
---------------------------------------
search doshisha.ac.jp
nameserver 202.23.130.35
nameserver 202.23.128.2
---------------------------------------


NISの設定

1. nisパッケージを追加.
2. NISドメインの指定.
   /etc/defaultdomainを編集.
3. /etc/passwdを編集.
   最終行に
     +::::::
   を追加する.
4. /etc/groupを編集.
   最終行に
     +:::
   を追加する.
5. /etc/nsswitch.confを編集.
   次の行
     hosts: files dns
   を
     hosts: files nis dns
   と変更する.


LILOの設定

1. /etc/lilo.confの編集
-設定例-----------------
# ブートローダーのインストール先
# MBRにインストールする場合
boot=/dev/hda
# /dev/hda2のブートセクターにインストールする場合
#boot=/dev/hda2
# Linuxのルートパーティションの場所
root=/dev/hda3
# 起動までの待ち時間(0.1秒単位)
timeout=50
# デフォルトOS(下で定義したラベルを指定する)
default=linux
# Linux
image=/vmlinuz
      label=Linux
      read-only
# MS Win
other=/dev/hda1
      label=Win2K
------------------------
2. liloコマンドの実行


o 戻る

Kondo, Koichi
kondo_koichi@amath.doshisha.ac.jp
Last modified: 2002/11/03