1. DNS Server (bind9)
-
apt-get install bind9
-
konfigurasi file-file :
-nano
/etc/hosts
-nano
/etc/resolv.conf
search
telkom.com
nameserver
192.168.10.1
-
nano /etc/bind/named.conf
#tambahkan
zone “telkom.com” {
type master;
file “/etc/bind/db.telkom”;
};
zone “10.168.192.in-addr.arpa” {
type master;
file “/etc/bind/db.1”;
};
-
nano /etc/bind/db.telkom
#isidengan:
$TTL 604800
@ IN SOA telkom.com. root.telkom.com. (
2 ;serial
604800 ;refresh
86400 ;retry
2419200 ;expire
604800 ) ;negative
cache TTL
;
@ IN NS telkom.com.
@ IN A 192.168.10.1
@ IN MX
10 mail.telkom.com.
www IN A 192.168.10.1
ftp IN A 192.168.10.1
mail IN A 192.168.10.1
-
nano /etc/bind/db.1
#isidengan:
$TTL 604800
@ IN SOA telkom.com. root.telkom.com. (
2 ;serial
604800 ;refresh
86400 ;retry
2419200 ;expire
604800 ) ;negative
cache TTL
;
@ IN NS telkom.com.
10 IN PTR telkom.com.
-
restart bind9
/etc/init.d/bind9
restart
-
test
nslookup
>telkom.com
Server :192.168.10.1
Address :192.168.10.1#53
Name :telkom.com
Address :192.168.10.1
22. DHCP Server (dhcp3-server)
-
apt-get install dhcp3-server
-
konfigurasi file-file :
-
copy file dhcpd.conf
cp
/etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf.asli
-
nano /etc/dhcp3/ dhcpd.conf
#lakukanpengeditanpada:
subnet…
netmask…
range….
options
domain nameserver…
options
domain name…
options
router…
options
broadcast…
-
restart dhcp3-server
/etc/init.d/dhcp3-server restart
33. WEB Server (apache2)
-
apt-get install apache2 php4 libapache2-mod-php4
php4-common
-
nano /var/www/index.html
-
restart apache2
/etc/init.d/apache2
restart
44. MAIL Server
-
apt-get install postfix
o
internet site
o
system mailname: mail.telkom.com
o
nano /etc/postfix/main.cf
myhostname
:mail.telkom.com
home_mailbox
= Maildir/ #tambah di akhir
-
apt-get install php5 squirrelmail courier-imap
courier-pop
o
pilih no
-
nano /etc/apache2/apache2.conf
#tambahkan
di akhir
include
/etc/squirrelmail/apache.conf
-
nano /etc/squirrelmail/apache.conf
#editpada:
<virtualHost
*:80>
ServerName
mail.telkom.com
</virtualHost>
-
restart apache2 bind9 postfix courier-imap
courier-pop
-
test
links
mail.telkom.com
ctrl+z
-
/etc/squirrelmail/conf.pl
o
Pilih 2 #server setting
o
A
o
4 #memberinama server di Imap
o
Ketik :telkom.com
o
8 #memilih software
o
Ketik :courier
o
B #setting SMTP
o
4
o
telkom.com
o
S
o
Q
-
maildirmake /etc/skel/Maildir
-
dpkg-reconfigure postfix
o internet site
o postfix conf
o 0.0.0.0/0
o No
o 0.0.0.0/0
o No
o 0 #nol
o ok
o ipv4
o ok restart postfix
55. SSH& FTP Server
-
apt-get install sshopenssh-server
-
apt-get install proftpd
o
pilih from inetd
o
buat user
o
buat data di /home/namauser/latihan.txt
o
test dari windows dengan Command Prompt
o
c:>ftp 192.168.10.1 #no. ip server
o
log in dgn user/root
o
ftp>ls
Tidak ada komentar:
Posting Komentar