自宅サーバーのbindをupdateすることに。
すぐ忘れるからここにメモっておこう。
●ソースからinstallしてあるので、前回と同様ソースのダウンロードから
cd /usr/local/src/
wget https://ftp.isc.org/isc/bind9/9.9.7-P2/bind-9.9.7-P2.tar.gz
●ソースがダウンロードできたらconfigure
./configure
●configureが終わったらmake
make
●makeが終わったらmake test
make test
●なんかエラーがでたので指示通りにシェルスクリプトを実行
bin/tests/system/ifconfig.sh up
●もう一回、make test
make test
●testの結果が怪しい場合はディレクトリの権限をmake testを実行しているユーザにするといいらしい
chown -R root.root ../bind-9.9.7-P2/
●もう一回、make test
make test
●testの結果が問題なければ、make install
make install
●bindの再起動
/usr/local/sbin/rndc stop
/usr/local/sbin/named -u named
これで終わり。ハァハァ
コメント