Modul Ukk 2k19.docx

  • Uploaded by: Ryan Bagus
  • 0
  • 0
  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Modul Ukk 2k19.docx as PDF for free.

More details

  • Words: 381
  • Pages: 7
IP ADDRESS #nano /etc/network /interfaces auto eth0 iface eth0 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 auto eth1 iface eth1 inet static address 192.168.20.17 netmask 255.255.255.248 #Service networking restart #ifconfig #nano /etc/sysctl.conf Delete tanda pagar pada net.ipv4.tcp _syncookies=1

#nano /etc/rc.local Iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE Iptables -t nat -A PREROUTING -s 192.168.20.16/29 -p tcp --dport 80 -j REDIRECT --to-port 3128

DHCP SERVER #apt-get install dhcp3-server #nano /etc/dhcp/dhcpd.conf

#nano /etc/default/isc-dhcp-server

#service isc-dhcp-server restart

DNS SERVER #apt-get install bind9 #cd /etc/bind #cp db.local db.sekolah #cp db.127 db.192 #nano db.sekolah

#nano db.192

#nano named.conf.local

#nano /etc/resolv.conf nameserver 192.168.20.17 nameserver 192.168.1.1 #nano /etc/hosts 127.0.0.1 localhost 192.168.20.17 sekolah #service bind9 restart #nslookup sekolah.sch.id #nslookup 192.168.20.17

WEB SERVER #apt-get install apache2 links php5 mysql-server phpmyadmin Masukan password Pilih apache2 (Yes) Masukan password database #nano /etc/apache2/httpd.conf servername localhost #cd /etc/apache2/sites-available #cp default sekolah #nano sekolah ServerAdmin [email protected] ServerName www.sekolah.sch.id ServerAlias sekolah.sch.id www/sekolah/ #a2dissite default #a2ensite sekolah #cd /var/www #mkdir sekolah #cp index.html sekolah #nano /var/www/sekolah/index.html #service apache2 restart #links www.sekolah.sch.id

MAIL SERVER #apt-get install postfix courier-pop courier-imap courier-base *)Ok > Internet Site > sekolah.sch.id > yes yes #maildirmake /etc/skel/Maildir/ #nano /etc/postfix/main.cf home_mailbox = Maildir/

#dpkg-reconfigure postfix *)Internet Site > sekolah.sch.id > *kosong > sekolah.sch.id, admin.sekolah.sch.id, localhost.sekolah.sch.id, localhost > No > *tambahkan 0.0.0.0/0 > No > 0 > + > ipv4 #/etc/init.d/postfix reload #service postfix restart #adduser user1 *)password = 1 #adduser user2 *)password = 1 #adduser user3 *)password = 1 #adduser user4 *)password = 1

WEBMAIL SERVER #apt-get install squirrelmail #nano /etc/apache2/apache2.conf *)tambahkan Include /etc/squirrelmail/apache.conf

#nano /etc/squirrelmail/apache.conf

Menjadi

#/etc/init.d/apache2 restart

SSH SERVER #apt-get install ssh #nano /etc/ssh/sshd_config port 2222 PermitRootLogin no

#service ssh restart

NTP SERVER #apt-get apt-get install ntp ntpdate #nano /etc/ntp.conf *)tambahkan server 127.127.1.0 fudge 127.127.1.0 stratum 10

restrict 192.168.20.16 mask 255.255.255.248 nomodify notrap

(ctrl+x untuk save) #service ntp restart #ntpq -p

Rubah tanggal dan Jam #date --set 2018-08-17 #date --set 10:00:00 #nano /etc/bind/db.sekolah *)tambahkan ntp IN A 192.168.20.17

(ctrl+x untuk save) #service bind9 restart #nslookup ntp.sekolah.sch.id

#apt-get install squid

PROXY SERVER #nano /etc/squid/squid.conf *)edit (ctrl+w 'http_port 3128') http_port 3128 transparent

(ctrl+w 'acl connect') *)tambahkan

(ctrl+w 'finally deny') tambahkan '#' di depan http_access deny all

(ctrl+x untuk save) #nano /etc/squid/proxy *)tambah web.sekolah.sch.id live.sekolah.sch.id

(ctrl+x untuk save) #nano /etc/squid/server *)tambah www.sekolah.sch.id

(ctrl+x untuk save) #squid -z

#/etc/init.d/squid restart

Related Documents

Modul Ukk 2k19.docx
April 2020 7
Grafik Ukk
October 2019 19
Proposal Ukk Diah.docx
April 2020 9
Soal Ukk'19_oto.docx
April 2020 19
Modul
October 2019 83

More Documents from "Mayzumrotul Hasanah"

Modul Ukk 2k19.docx
April 2020 7
Jurnal Fisio.pdf
December 2019 42
Tesis Baharudin-fu.pdf
November 2019 39
Dosis Obat.docx
May 2020 32