Langkah-Langkah Debian 9 UKK
1. Konfigurasi Server dan Client
- apt-get install net-tools -y
- CD1
- nano /etc/network/interfaces
- /etc/init.d/networking restart
- nano /etc/sysctl.conf
-
- cp db.local db.sekolah
- cp db.127 db.rev
- nano db.sekolah
- nano db.rev
- iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
- iptables -L -t nat
-
- reboot
-
2. Konfigurasi DHCP Server
- apt-cdrom add
- CD2
- apt-get install isc-dhcp-server -y
- nano /etc/dhcp/dhcpd.conf
-
- nano /etc/default/isc-dhcp-server
-
- /etc/init.d/isc-dhcp-server restart
- lalu konfigurasi DHCP pada network tadi
3. Konfigurasi DNS Server
- apt-get install bind9 dnsutils -y
- cd /etc/bind
- ls
- nano named.conf.default-zones
-
- cp db.local db.sekolah
- cp db.127 db.rev
- nano db.sekolah
- nano db.rev
- nano /etc/init.d/bind9 restart
- nano /etc/resolv.conf
- nano /etc/init.d/bind9 restart
- nslookup www.sekolah.sch.id
- nslookup mail.sekolah.sch.id
- nslookup ftp.sekolah.sch.id
- nslookup ntp.sekolah.sch.id
4. Konfigurasi SSH Server
- apt-get install openssh-server -y
- nano /etc/ssh/sshd.config
- Port2222
- PermitRootLogin no
- /etc/init.d/ssh restart
-
- Lalu Copy courierpop
-
- server
- ***
- su
5. Konfigurasi FTP Server
- apt-get install proftpd -y
- nano /etc/proftpd/proftpd.conf
-
- Src Defaultroot
- DefaultRoot /home/ftp
- cd /home/
- mkdir ftp
- chmod 777 ftp
- cd /home/ftp/
- /etc/init.d/proftpd restart
-
- lalu copy courierpop
- ls
- apt-get install postfix -y
- Ok
- InternetSite
- Sekolah.sch.id
- apt-cdrom add
- CD3
- apt-get install courier-imap courier-base -y
- no
- OK
- OK
- apt --fix-broken install -y cd /home/server/
- ls
- dpkg -i courier-pop_0.76.3-5_i386.deb
- apt-get install mysql-server -y
- mysql_secure_installation
- apt-cdrom add
- CD3
- apt-get install roundcube -y
- yes
- ***
- ***
- nano /etc/postfix/main.cf
- src sekolah
- sekolah.sch.id
- bawah sendiri home_mailbox = Maildir/
- cd/
- maildirmake /etc/skel/Maildir/
- dpkg-reconfigure postfix
- OK
- Internetsite
- sekolah.sch.id
- ok
- ok
- no
- 0.0.0.0/0
- 0
- +
- all
- nano /etc/roundcube/apache.conf
- nano /etc/roundcube/config.inc.php
-
- cd /etc/apache2/sites-available/
- ls
- cp 000-default.conf mail.conf
- mail.conf
-
- a2ensite mail.conf 2x
- cd ..
- nano apache2.conf
- src <Direc
-
- adduser user1
- adduser user2
- adduser user3
- adduser user4
- /etc/init.d/apache2 restart
- /etc/init.d/postfix restart
- /etc/init.d/courier-imap restart
- /etc/init.d/courier-pop restart
- apt-get install mariadb-server -y
- mysql_secure_installation
- apt-get install phpmyadmin -y
- no
- (*) apache2
- apt --fix-broken install -y
- mysql -u root -p mysql
-
- /etc/init.d/apache2 restart
- apt-get install apache2 php -y
- cd home/
- mkdir site/
- mkdir site/www
- cd site/
- ls
- cd ..
- nano site/www/index.html
- nano site/www/info.html
- cd /etc/apache2/sites-available/
- ls
- nano 000-default-conf
- a2ensite 000-default.conf
- cd ..
- nano apache2.conf
- src <Direc
-
- /etc/init.d/apache2 restart
- apt-get install ntp ntpdate -y
- nano /etc/ntp.conf
- /etc/init.d/ntp restart
- ntpq -p 192.168.20.17
-
No comments:
Post a Comment