Debian squeeze

・/etc/apt/sources.lst 書き換え。(OperaとGoogleのレポジトリを追加)
#deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Unofficial i386 Binary-1 (20031201)]/ unstable contrib main non-US/contrib non-US/main

deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib

deb http://ftp.jp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ squeeze main contrib non-free

#software
#debian-multimedia
deb http://www.debian-multimedia.org squeeze main
#deb ftp://ftp.debian-multimedia.org squeeze main

#opera
deb http://deb.opera.com/opera/ squeeze non-free

# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free



・ネットワーク
なぜかDHCPでIPが取れなくなった。ログを見てみるとeth2として動いている模様。
とりあえず /etc/network/interfaces に太字部追加。
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp

auto eth2
iface eth2 inet dhcp

LANコネクタはひとつしかないので、udevの設定がおかしい。次のファイルを修正。
/etc/ude/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 10ec:8139 (8139too)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:00:e2:67:9c:f6", NAME="eth0"

# FireWire host adapter 0001243001056be3 (/class/net/eth1)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:01:24:30:01:05:6b:e3", NAME="eth1"

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:e2:67:9c:f6", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
太字の項目がなぜか追加されている。修正を試み次のようになった。
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 10ec:8139 (8139too)
#ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:00:e2:67:9c:f6", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:e2:67:9c:f6", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# FireWire host adapter 0001243001056be3 (/class/net/eth1)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:01:24:30:01:05:6b:e3", NAME="eth1"


LVM 作成
リンク


GRUB2移行メモ
GRUB Legacyの時とは勝手が違うので注意。

BINDでDNS キャッシュサーバ構築
アクセス速度の向上を目指して設定。
リンク