memo.xight.org - 2008-11

2008-11-28 Fri

ChangeLogメモ 6周年

- 記録

Line 82227 (行)
Entry 5635 (エントリ)
File size 3189318 (byte)

- 備考
ChangeLog開始日は[2002-11-28-1]
ChangeLog開始1周年は[2003-11-28-1]
ChangeLog開始2周年は[2004-11-28-1]
ChangeLog開始3周年は[2005-11-28-1]
ChangeLog開始4周年は[2006-11-28-11]
ChangeLog開始5周年は[2007-11-28-1]

10000行達成は[2003-10-04-1]
20000行達成は[2004-05-06-23]
30000行達成は[2004-09-10-12]
40000行達成は[2004-12-26-1]
50000行達成は[2005-07-19-25]
60000行達成は[2006-01-30-5]
70000行達成は[2006-07-26-8]
80000行達成は[2007-02-15-4]

2008-11-12 Wed

VMWare Player に Debian/GNU Linux をインストール

- パッケージをダウンロード
Linhost.infoよりダウンロード
http://linhost.info/vmware/

- /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth1
#iface eth1 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.XXX.YYY
network 192.168.XXX.0
netmask 255.255.255.0
broadcast 192.168.XXX.255
gateway 192.168.XXX.2


- 設定変更

# /etc/init.d/networking restart


- /etc/resolv.conf

search localdomain
nameserver 192.168.XXX.2


- DNS設定確認

% nslookup example.com
Server: 192.168.XXX.2
Address: 192.168.XXX.2#53

Non-authoritative answer:
Name: example.com
Address: 208.77.188.166


- pingで疎通確認

% ping example.com
PING example.com (208.77.188.166) 56(84) bytes of data.
64 bytes from www.example.com (208.77.188.166): icmp_seq=1 ttl=50 time=451 ms
64 bytes from www.example.com (208.77.188.166): icmp_seq=2 ttl=50 time=187 ms
64 bytes from www.example.com (208.77.188.166): icmp_seq=3 ttl=50 time=699 ms
64 bytes from www.example.com (208.77.188.166): icmp_seq=4 ttl=50 time=165 ms
64 bytes from www.example.com (208.77.188.166): icmp_seq=5 ttl=50 time=131 ms
^C
--- example.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4019ms
rtt min/avg/max/mdev = 131.993/327.439/699.992/218.143 ms


- apt-lineの設定
/etc/apt/sources.list.d/stable-sources.list

# apt-line for stable
deb http://cdn.debian.or.jp/debian stable main contrib non-free
deb http://ftp.jp.debian.org/debian stable main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free



/etc/apt/sources.list.d/testing-sources.list

# apt-line for testing
deb http://cdn.debian.or.jp/debian testing main contrib non-free
deb http://ftp.jp.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free



- /etc/apt/sources.list.d/unstable-sources.list

# apt-line for unstable
deb http://ftp.ring.gr.jp/archives/linux/debian/debian-ddtp ja/sid main
deb http://cdn.debian.or.jp/debian unstable main contrib non-free
deb http://ftp.jp.debian.org/debian unstable main contrib non-free



- testing, unstableのパッケージの一部を利用する設定
/etc/apt/preferences

Package: *
Pin: release a=testing
Pin-Priority: 105

Package: *
Pin: release a=testing-proposed-updates
Pin-Priority: 110

Package: *
Pin: release a=unstable
Pin-Priority: 90



- apt のキャッシュ制限を緩くする.
/etc/apt/apt.conf.d/99cachelimit

APT::Cache-Limit "100000000";



- 一旦 upgrade

# aptitude update
# aptitude upgrade


- localeの設定
/etc/locale.gen

en_US.UTF-8 UTF-8
ja_JP.UTF-8 UTF-8



# locale-gen


- sshdのインストール

# aptitude install openssh-server


- Reference
Linhost.info - vmware
http://linhost.info/vmware/

AptGet (preferences を使う) - Debian GNU/Linux スレッドテンプレ
http://debian.fam.cx/index.php?AptGet#content_1_27