Documente Academic
Documente Profesional
Documente Cultură
auto eth1
iface eth1 inet static
address 192.168.20.1
netmask 255.255.255.0
network 192.168.20.0
gateway 192.168.20.1
name-servers itats.ac.id
lalu save.
restart interface /etc/init.d/networking restart
setelah itu edit /etc/hosts sehingga seperti dibawah ini:
127.0.0.1
localhost.localdomain localhost
127.0.1.1
arie-laptop
192.168.10.2 jarkom.com
192.168.20.1 itats.ac.id
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
kemudian save.
/etc/bind/named.conf.options:
options {
directory "/var/cache/bind";
# conform to RFC1035
listen-on-v6 { any; };
};
IN
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
;
@
IN
NS
ns.jarkom.com.
IN
192.168.10.2
jarkom.com
IN
ns
IN
192.168.10.2
www IN
192.168.10.2
;@
AAAA ::1
IN
192.168.10.2
IN
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
;
@
IN
NS
ns.itats.ac.id.
IN
192.168.20.1
jarkom.com
IN
ns
IN
192.168.20.1
www IN
192.168.20.1
;@
AAAA ::1
IN
192.168.20.1
IN
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
;
@
IN
NS
ns.jarkom.com.
IN
192.168.10.2
ns
IN
192.168.10.2
IN
PTR
192.168.10.2
10.168.192-addr-arpa. PTR
jarkom.com.
IN
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
;
@
IN
NS
ns.itats.ac.id.
IN
192.168.20.1
ns
IN
192.168.20.1
IN
PTR
192.168.20.1
20.168.192-addr-arpa. PTR
itats.ac.id.
#mkdir /home/shares
Membuat group anggota:
#groupadd anggota
Membuat user anggi, tofan dan sarif dan memasukan ke group anggota:
#adduser anggi
#smbpasswd -a anggi
#usermod -a -G anggota anggi
#adduser tofan
#smbpasswd -a tofan
#usermod -a -G anggota tofan
#adduser sarif
#smbpasswd -a sarif
#usermod -a -G anggota sarif
Tampilan di windows 7:
No 3. NFS :
seting interfacenya di gedit /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.18.1
netmask 255.255.255.0
network 192.168.18.0
gateway 192.168.18.1
name-servers 192.168.18.1
192.168.18.44/24*(ro,sync,no_subtree_check)
192.168.18.45/24*(ro,sync,no_subtree_check)
192.168.18.46/24*(ro,sync,no_subtree_check)
192.168.18.47/24*(ro,sync,no_subtree_check)
192.168.18.48/24*(ro,sync,no_subtree_check)
192.168.18.49/24*(ro,sync,no_subtree_check)
192.168.18.50/24*(ro,sync,no_subtree_check)
192.168.18.2/24*(rw,sync,no_subtree_check)
192.168.18.3/24*(rw,sync,no_subtree_check)
192.168.18.4/24*(rw,sync,no_subtree_check)
192.168.18.5/24*(rw,sync,no_subtree_check)
192.168.18.6/24*(rw,sync,no_subtree_check)
192.168.18.7/24*(rw,sync,no_subtree_check)
192.168.18.8/24*(rw,sync,no_subtree_check)
192.168.18.9/24*(rw,sync,no_subtree_check)
192.168.18.10/24*(rw,sync,no_subtree_check)
192.168.18.11/24*(rw,sync,no_subtree_check)
192.168.18.12/24*(rw,sync,no_subtree_check)
192.168.18.13/24*(rw,sync,no_subtree_check)
192.168.18.14/24*(rw,sync,no_subtree_check)
192.168.18.15/24*(rw,sync,no_subtree_check)
192.168.18.16/24*(rw,sync,no_subtree_check)
192.168.18.17/24*(rw,sync,no_subtree_check)
192.168.18.18/24*(rw,sync,no_subtree_check)
Lakukan mounting :
Lakukan mounting :