Вы находитесь на странице: 1из 1

DNS nano /home/site/www/index.

html nano key


nano /etc/network/interfaces cd /etc/apache2/sites-available/ squid –z
Service networking restart cp default sekolah
apt-get install bind9 nano sekolah service squid restart
nano /etc/bind/named.conf.local a2dissite default
cd /etc/bind a2ensite sekolah NAGIOS
cp db.local db.sekolah Service apache2 restart apt-get install nagios3
nano db.sekolah nano /etc/nagios3/conf.d/localhost_nagios2.cfg
cp db.127 db.192 MAIL Ganti localhost jadi user +address 20.17
nano db.192 apt-get install postfix dovecot-pop3d dovecot-imapd nano/etc/nagios3/conf.d/hostgroups_nagios2.cfg
service bind9 restart nano /etc/postfix/main.cf member = user
dpkg-reconfigure postfix Service nagios3 restart
DHCP cd /etc/dovecot/conf.d/
Cdrom 2 nano 10-mail.conf

192.168.20.0/24 –p tcp --dport 80 –j REDIRECT -


apt-get install dhcp3-server mail_location = maildir:~/Maildir
nano /etc/dhcp/dhcpd.conf service postfix restart
nano /etc/default/isc-dhcp-server service dovecot restart
Service isc-dhcp-server restart

iptables –t nat –A PREROUTING –s


apt-get install squirrelmail
SSH nano /apache2/apache2.conf
apt-get install ssh Include “/etc/squirrelmail/apache.conf”

 iptables-save > /etc/iptables


di k etik sak durungen restart squid
nano /etc/ssh/sshd_config Nano /etc/squirrelmail/apache.conf
port 2222 Hilangkan # + edit server name
permit no Service apache2 restart
service ssh restart Adduser …
Adduser…

-to-port 3128
NTP
apt-get install ntp ntpdate PROXY
date –set=”17 AUG 2018 10:00:00” apt-get install squid
nano /etc/ntp.conf nano /etc/squid/squid.conf
Cari http_access 3128  transparent


Server 127.127.1.0
Fudge 127.127.1.0 stratum1 Cache_mgr admin@sekolah.sch.id
Restrict 192.168.20.17 mask 255.255.255.248 Cari acl connect
nomodisy notrap acl url dstdomain “/etc/squid/url”
Service ntp restart acl key url_regex -i “/etc/squid/key”
http_access deny url
WEB SERVER http_access deny key
apt-get install apache2 acl lan src 192.168.20.0/24
cd /home/ http_access allow lan
mkdir site http_access allow all
cd /home/site/ cari and finally deny all  #
mkdir www cd /etc/squid
cp /var /www/index.html /home/site/www/ nano url