Konfigurasi IP
IP bayangan
auto eth0 : 1
iface eth0 :1 inet static
address 192.168.55.2
netmask 255.255.255.0
network 192.168.55.0
broadcast 192.168.55.255
gateway 192.168.55.1
cd /etc/
apt-get install apache2
apt-get install bind9 = Domain
cd /etc/bind
nano named.conf
Zone "sekolah.sch.id" {
type master;
file "/etc/bind/google1";
Zone "2.55.168.192.in-addr.arpa" {
type master;
file "/etc/bind/google2";
Zone "www.institusi.com" {
type master;
file "/etc/bind/ins ";
Zone "1.55.168.192.in-addr.arpa "{
type master;
file "/etc/bind/ins2 "{
Cp = db.local google1
Cp = db.122 google2
nano google1
CTRL - W - R - merubah nama local host - sekolah.sch.id - A (press)
@ IN NS sekolah.sch.id
@ IN A 192.168.55.2
WWW IN A 192.168.55.2
nano google2
tahap sama kayak 1
@ IN NS sekolah.sch.id
2 IN PTR sekolah.sch.id
2 IN PTR www.sekolah.sch.id
Cp = db.127.ins2
Cp = db.local.ins
nano. ins
CTRL W - R - local host - www.institusi.com
(syntax ketiga dihapus)
nano ins2
@ IN NS www.institusi.com
1 IN PTR www.institusi.com
/etc/init.d/bind9 restart
cd..... - kembali 1 directory
nano hosts
127.0.0.1 local host
192.168.55.1 www.institusi.com
192.168.55.2 sekolah.sch.id
192.168.55.2 www.sekolah.sch.id
resolv.conf
domain sekolah.sch.id
earch sekolah.sch.id
ameserver 192.168.55.2 keluar ----- cek (nslookup www.institusi.com)
setting FTP
apt-get install proftpd
stand alone ---- Ok
adduser name
chmod - R 777 nama - hak akses penuh
nano /etc/proftpd/proftpd.conf (ganti versi ip - off(#)
defaultRoot /home/nama
etc/init.d/proftpd restart
Squid
apt-get install squid
nano squid/squid.conf
CTRL W - http_acces allow local host net
our_networks src 192.168.55.0/24)
nano/etc/rc.local
iptables - t not - A prerouting - p tcp - dpcrt 80 - j redirect -to port 3128 - reboot
IP bayangan
auto eth0 : 1
iface eth0 :1 inet static
address 192.168.55.2
netmask 255.255.255.0
network 192.168.55.0
broadcast 192.168.55.255
gateway 192.168.55.1
cd /etc/
apt-get install apache2
apt-get install bind9 = Domain
cd /etc/bind
nano named.conf
Zone "sekolah.sch.id" {
type master;
file "/etc/bind/google1";
Zone "2.55.168.192.in-addr.arpa" {
type master;
file "/etc/bind/google2";
Zone "www.institusi.com" {
type master;
file "/etc/bind/ins ";
Zone "1.55.168.192.in-addr.arpa "{
type master;
file "/etc/bind/ins2 "{
Cp = db.local google1
Cp = db.122 google2
nano google1
CTRL - W - R - merubah nama local host - sekolah.sch.id - A (press)
@ IN NS sekolah.sch.id
@ IN A 192.168.55.2
WWW IN A 192.168.55.2
nano google2
tahap sama kayak 1
@ IN NS sekolah.sch.id
2 IN PTR sekolah.sch.id
2 IN PTR www.sekolah.sch.id
Cp = db.127.ins2
Cp = db.local.ins
nano. ins
CTRL W - R - local host - www.institusi.com
(syntax ketiga dihapus)
nano ins2
@ IN NS www.institusi.com
1 IN PTR www.institusi.com
/etc/init.d/bind9 restart
cd..... - kembali 1 directory
nano hosts
127.0.0.1 local host
192.168.55.1 www.institusi.com
192.168.55.2 sekolah.sch.id
192.168.55.2 www.sekolah.sch.id
resolv.conf
domain sekolah.sch.id
earch sekolah.sch.id
ameserver 192.168.55.2 keluar ----- cek (nslookup www.institusi.com)
setting FTP
apt-get install proftpd
stand alone ---- Ok
adduser name
chmod - R 777 nama - hak akses penuh
nano /etc/proftpd/proftpd.conf (ganti versi ip - off(#)
defaultRoot /home/nama
etc/init.d/proftpd restart
Squid
apt-get install squid
nano squid/squid.conf
CTRL W - http_acces allow local host net
our_networks src 192.168.55.0/24)
nano/etc/rc.local
iptables - t not - A prerouting - p tcp - dpcrt 80 - j redirect -to port 3128 - reboot
Komentar
Posting Komentar