- Nano /etc/network/interfaces
- auto eth1
- iface eth1 inet static
- address = Ip debian saat install
- netmask = 255.255.255.240= /28
- broadcast = IP Mikrotik server.255
- gateway = IP Mikrotik Server
- dns-search =domain
- dns-name server = IP pc debian
- service networking restart
- ifconfig
- Ping google (Jika tidak berhasil maka)
- nano /etc/resolv.conf
- tambahkan nameserver 8.8.8.8(google)
- nano /etc/apt/sources.list
- Edit= deb http://kambing.ui.ac.id/debian /jessie main contrib non-free
- deb-src http://kambing.ui.ac.id/debian/jessie-updates main contrib non-free
- aptitude update (Tuggu proses selesai)
- aptitude install apache2
- Cek di client menggunakan pc clien masukan dns (Di Mikrotik) dengan ip debian
- aptitude install bind9
- aptitude install dns utils
- cp /etc/bind/named.conf.default-zones /etc/bind/named.conf.local
- cp /etc/bind/db.local /etc/bind/db.domain
- cp /etc/bind/db.127 /etc/bind/db.192
- nano /etc/bind/named.conf.local
- db.local diganti domain dan ip dibalik nya
- nano /etc/bind/db.domain
- diaganti ip sama domain
- nano /etc/bind/db.192
- diganti dengan ip semua
- sercvice bind9 restart
- nslookup Ip
- nsloookup domain (Jika tidak bisa berarti ada kesalahan
- coba lihat ketikan IP/Domain pada client
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)