SMK DARUT TAQWA IS THE BEST

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

2. Konfigurasi dns server debian


2. Konfigurasi bind9 dns server
          a. arahkan software repository ke cd/dvdrom
                   apt-cdrom add
          b. install paket bind9
                   apt-get install bind9
          c. buat zone forward
                   nano /etc/bind/named.conf
                   zone “smkdt.com” {
                   type master;
                   file “db.smkdt”;
                   };
          d. berpindah ke directory penyimpan konfigurasi zone, dan pastikan ada file contoh (db.local)
                   cd /var/cache/bind
                   ls
          e. copy kan file contoh (db.local) menjadi nama zone kita
                   cp db.local db.smkdt
tapi kadang syntaq tersebut gak bisa karena file db.local belum ada di /var/cache/bind  jadi bisa gunakan syntaq 
cp db.local /var/cache/bind db.smkdt
          f. edit dan buatlah konfigurasi zone beserta host nya
                   nano db.smkdt
                   ;
                   ; BIND data file for local loopback interface
                   ;
                   $TTL    604800
                   @       IN      SOA     smkdt.com. root.smkdt.com. (
                                      2         ; Serial
                             604800         ; Refresh
                             86400         ; Retry
                             2419200         ; Expire
                             604800 )       ; Negative Cache TTL
                   ;
                   @       IN      NS      smkdt.com.
                   @       IN      A       192.168.1.209
                   @       IN      AAAA    ::1
                   www    IN      A       192.168.1.209
                   mail    IN      A       192.168. 1.209
                   ftp      IN      A       192.168. 1.209
          g. jalankan service bind9 dns server
                   /etc/init.d/bind9 restart
          h. cek hasil konfigurasi bind9 dns server
   nslookup www.smkdt.com
  dig mail.smkdt.com
 ping ftp.smkdt.com -c3

setting IP linux DEBIAN

a.instalasi linux debian : buat username (smkdt)
b.cek keberadaan lancard,pastikan eth0dan eth1/eth2dst dengan mengetikan syntaq
  ifconfig

c.edit file konfigurasi IP address dengan mengetikan 
nano /etc/network/interfaces



auto eth0


iface eth0 inet static
     address 192.168.1.209
     netmask 255.255.255.0
     network 192.168.1.0
     broarcast 192.168.1.255
     gateway 192.168.1.1
auto eth1
iface eth1 inet static
     address 192.168.9.1
netmask 255.255.255.0
network 192.168.9.0
broadcast 192.168.9.255
gateway 192.168.9.1

d.tambahkan ip address dns pada file resolv.conf dengan syntaq
nano /etc/resolv.conf
ip sesuai ip anda contoh ip diatas dan ip dari speedy
nameserver 192.168.1.209
nameserver  192.168.1.1
nameserver 202.134.1.10
nameserver 202.134.0.155
e.konfigurasi nama hosts
nano /etc/hosts


                   127.0.0.1                  debian-server   localhost.localdomain   localhost
                   192.168.20.101        smkdt.com       smkdt            


  f. jalankan service networking
                   /etc/init.d/networking restart



  g. cek konfigurasi ip address eth0 dan eth1
                   ping 192.168.20.101 -c
    ping 192.168.101.1 -c3