Professional Documents
Culture Documents
Konfigurasi Ip (Host Only)
Konfigurasi Ip (Host Only)
Konfigurasi Ip (Host Only)
nano /etc/network/interfaces
auto eth...
iface eth... inet static
address x.x.x.x
netmask x.x.x.x
network x.x.x.x
ctrl+x, y, enter
ifconfig eth... up
/etc/init.d/networking restart
KONFIGURASI DNS
apt-get install bind9 –y
cd /etc/bind
nano named.conf.local
zone “smkalmuslim.net”{
type master;
file “/etc/bind/db.smkalmus”;
};
zone “....168.192.in-addr.arpa”{
type master;
file “/etc/bind/db.192”;
};
ctrl+x, y, enter.
cp db.local db.smkalmus
cp db.255 db.192
nano db.smkalmus
localhost. root.localhost.
smkalmus.net. root.smkalmuslim.net.
@ IN NS smkalmuslim.net.
@ IN A x.x.x.x
www IN A x.x.x.x
mail IN A x.x.x.x
ftp IN A x.x.x.x
ctrl+x, y, enter.
nano db.192
smkalmus.net. root.smkalmuslim.net.
@ IN NS smkalmuslim.net.
x IN PTR smkalmuslim.net.
x IN PTR mail.smkalmuslim.net.
x IN PTR ftp.smkalmuslim.net.
nano /etc/dhcp/dhcpd.conf
#A slightly
default-lease-time 600;
host fantasia {
hardware ethernet xx:xx:xx:xx:xx:xx; Mac address Host Only
fixed address x.x.x.x; Ip address
ctrl+x, y, enter
nano /etc/default/isc-dhcp-server
/etc/init.d/isc-dhcp-server restart
ok ok Cancel
ok Cancel yes No
maildirmake /etc/skel/Maildir/
nano /etc/postfix/main.cf
dpkg-reconfigure postfix
ok ok Cancel ok Cancel
Root and post master mail Other destinations to accept mail for (blank for none) :
recipient : Mail.smkalmuslim.net, smkalmuslim.net, localhost.net, localhost
(kosongkan saja)
ok Cancel
ok Cancel
yes no ok Cancel
yes no ok Cancel
nano /etc/apache2/apache2.conf
Nano /etc/squirrelmail/apache.conf
DocumentRoot /usr/share/squirrelmail
ServerName mail.smkalmuslim.net
</VirtualHost>
nano /etc/resolv.conf
Nameserver x.x.x.x
Domain mail.smkalmuslim.net
Search mail.smkalmuslim.net
nano /etc/hosts
127.0.1.1 localhost
x.x.x.x smkalmuslim.net
adduser user1
adduser user2
KONFIGURASI SAMBA
cd /home
mkdir manager
mkdir guest
cd
chmod 777/home/manager
chmod 777/home/guest
nano/etc/samba/smb.cof
(paling bawah)
[manager]
path = /home/manager
browseable = no
writeable = yes
read only = no
[guest]
path = /home/guest
browseable = yes
public = yes
smbpasswd –a user1
/etc/init.d/samba restart
KONFIGURASI FTP
standalone
ok
nano /etc/proftp/proftpd.conf
defaultroot ~
user user1
adduser user1
password ....
/etc/init.d/proftpd restart
ftp://smkalmuslim.net -> cara cek di browser
konfigurasi ssh
nano /etc/ssh/sshd_config
/etc/init.d/ssh restart