ちゃだろぐ

computing

< 2009-01 >
    123
45678910
11121314151617
18192021222324
25262728293031
Powered by Nucleus CMS
mySQL error with query SELECT * FROM nucleus_plugin_counter ORDER BY count_time DESC LIMIT 1: Can't open file: 'nucleus_plugin_counter.MYI'. (errno: 145)


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /virtual/tyada/public_html/nucleus/plugins/NP_Counter.php on line 183

三重県北中部
MAX
MIN
0-6
6-12
12-18
18-24
Amazon.co.jp アソシエイト 商品無料仕入れ戦隊『電脳卸』

All

IIJ方面からのapt設定

私の利用しているCATV(CTY)のインターネットサービスは、IIJのサブネットになっている。aptを利用する場合、IIJ方面から近いミラーサイトを指定するのがよろしい。

netselectで、日本のミラーサイトから最も近いサイトを探す。いわば、tracerouteにサイト間の比較機能をつけたもの、ですね。

$ wget http://www.debian.or.jp/debian-ftp-mirrors-jp
$ netselect -vv `cat debian-ftp-mirrors-jp`

この結果、ftp.dti.ad.jpが14 hopsで最も近いことが分かった。ftp.jp.debian.orgも14 hopsでかなり近い。
ftp://ftp.iij.ad.jpは当然ながら11 hopsと近いので、ftp://ftp.iij.ad.jpにミラーされているコンテンツはIIJから、それ以外はftp://ftp.dti.ad.jp ftp://ftp.jp.debian.orgから取得することにした。

sources.listの雛形として、sources.list.ftp.ftp.dti.ad.jpをいただいてきて、sources.listというファイル名で保存し、以下のように編集した。




deb ftp://ftp.iij.ad.jp/pub/linux/debian stable main contrib non-free
deb ftp://ftp.dti.ad.jp/pub/Linux/debian stable main contrib non-free
deb ftp://ftp.dti.ad.jp/pub/Linux/debian-non-US stable/non-US main contrib non-free
deb ftp://ftp.dti.ad.jp/pub/Linux/debian-jp stable-jp main contrib non-free
deb ftp://ftp.jp.debian.org/debian stable main contrib non-free
deb ftp://ftp.jp.debian.org/debian-non-US stable/non-US main contrib non-free
deb ftp://ftp.jp.debian.org/debian-jp stable-jp main contrib non-free

deb ftp://ftp.iij.ad.jp/pub/linux/debian proposed-updates main contrib non-free
deb ftp://ftp.dti.ad.jp/pub/Linux/debian proposed-updates main contrib non-free

deb ftp://ftp.jp.debian.org/debian proposed-updates main contrib non-free


deb http://security.debian.org/ stable/updates main contrib non-free


deb-src ftp://ftp.iij.ad.jp/pub/linux/debian stable main contrib non-free
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian stable main contrib non-free
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian-non-US stable/non-US main contrib non-free
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian-jp stable-jp main contrib non-free
deb-src ftp://ftp.jp.debian.org/debian stable main contrib non-free
deb-src ftp://ftp.jp.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src ftp://ftp.jp.debian.org/debian-jp stable-jp main contrib non-free

rootになって、作成したsources.listを/etc/apt以下にコピーする。その後、apt-get updateを実行すると、めでたくパッケージのリストが取得される。

2005-04-23_14:41-tyada

Related

Local search for: IIJ方面からのapt設定

No related items.

TrackBack

トラックバック
このエントリにトラックバックはありません
このトラックバックURLを使ってこの記事にトラックバックを送ることができます。 もしあなたのブログがトラックバック送信に対応していない場合にはこちらのフォームからトラックバックを送信することができます。.
No comments yet

Add Comments

:

:
: