Professional Documents
Culture Documents
MGMP 110818
MGMP 110818
MGMP 110818
#seting ip address
nano /etc/network/interface
/etc/init.d/networking restart
if up???
#dhcp server
#dns server
apt-cdrom add
apt-get isntall bind9
cd /etc/bind
ls
nano named.conf.local
KETIK :
zone "debian.com" {
type master;
file "/etc/bind/db.debian";
};
zone "10.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};
cp db.empty db.debian
cp db.empty db.192
nano db.debian
KETIK :
(localhost di ganti dengan debian.com)
@ IN NS debian.com.
IN MX 10 debian.com.
IN A 192.168.10.1
www IN A 192.168.10.1
ftp IN A 192.168.10.1
mail IN A 192.168.10.1
(save ctrl+X)
nano db.192
(localhost diganti dengan debian.com)
@ IN NS debian.com.
1 IN PTR debian.com.
1 IN PTR ftp.debian.com.
/etc/init.d/bind9 restart
nslookup deiban.com
dig debian.com
#web server
apt-get install apache2
cd /etc/apache2/
ls
cd sites-aviable/
ls
nano 000-deafult.conf
KETIK :
#ServerName www.debian.com
ServerAdmin webmaster@debian.com
#ftp server
gak mudeng
#mail server
#file server