Jumat, 15 Januari 2010

INSTALASI DNS Server BIND 9.5.1

1. Buka terminal melalui Application → Acessoris → terminal


2. Letakan Paket instalasi bind beserta depedensi filenya ke direktori home/user/bind9
tapi ingat login dulu ke root dengan cara ketik sudo su kemudian masukkan password
sebagai contoh nama user disini adalah adrian :
adrian@adrian-laptop:~$ sudo su

[sudo] password for adrian: ( masukan password disini dan tekan enter)
root@adrian-laptop:/home/adrian



3. Masuk kedirektori paket instalasi bind dengan cara ketik
root@adrian-laptop:/home/adrian# cd bind9
root@adrian-laptop:/home/adrian/bind9#



4. Kemudian install paket bind
root@adrian-laptop:/home/adrian/bind9# dpkg -i bind9_9.5.1.dfsg.P2-


1ubuntu0.1_i386.deb

dan ternyata :



root@adrian-laptop:/home/adrian/bind9# dpkg -i bind9_9.5.1.dfsg.P2- 1ubuntu0.1_i386.deb

Selecting previously deselected package bind9.

(Reading database ... 122718 files and directories currently installed.)

Unpacking bind9 (from bind9_9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...

dpkg: dependency problems prevent configuration of bind9:

bind9 depends on bind9utils (= 1:9.5.1.dfsg.P2-1ubuntu0.1); however:

Package bind9utils is not installed.

dpkg: error processing bind9 (--install):

dependency problems - leaving unconfigured

Processing triggers for ufw ...

Processing triggers for man-db ...

Errors were encountered while processing:

bind9

5. Wah ternyata masih gagal... karena bind9 memerlukan file dependency bind9utils, file ini dapat didownload di http://packages.ubuntu.com/jaunty. Setelah didapatkan sekarang install bind9utils tersebut



root@adrian-laptop:/home/adrian/bind9# dpkg -i bind9utils_9.5.1.dfsg.P2-


1ubuntu0.1_i386.deb

Selecting previously deselected package bind9utils.

(Reading database ... 122752 files and directories currently installed.)

Unpacking bind9utils (from bind9utils_9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...

Setting up bind9utils (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Processing triggers for man-db ...

6. Coba deh ulangi lagi instal bind9 mudah-mudahan berhasil




root@adrian-laptop:/home/adrian/bind9# dpkg -i bind9_9.5.1.dfsg.P2-


1ubuntu0.1_i386.deb

(Reading database ... 122769 files and directories currently installed.)

Preparing to replace bind9 1:9.5.1.dfsg.P2-1ubuntu0.1 (using


bind9_9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...

Unpacking replacement bind9 ...

Setting up bind9 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Adding group `bind' (GID 123) ...

Done.

Adding system user `bind' (UID 112) ...

Adding new user `bind' (UID 112) with group `bind' ...

Not creating home directory `/var/cache/bind'.

wrote key file "/etc/bind/rndc.key"

#

* Reloading AppArmor profiles ... [ OK ]

* Starting domain name service... bind9 [ OK ]

Processing triggers for ufw ...
Processing triggers for man-db ...

7. Wah..... sudah berhasil bind9 terinstall senengnya bukan main..... ops pastikan apakah bind9 telah terinstal atau belum dengan cara



root@adrian-laptop:/home/adrian/bind9# dpkg -l grep
bind9ii bind9 1:9.5.1.dfsg.P2-1ubuntu0.1



Internet Domain Name Server

ii bind9-host 1:9.5.1.dfsg.P2-1ubuntu0.1



Version of 'host' bundled with BIND 9.X

ii bind9utils 1:9.5.1.dfsg.P2-1ubuntu0.1



Utilities for BIND

ii libbind9-40 1:9.5.1.dfsg.P2-1ubuntu0.1



BIND9 Shared Library used by BIND