Pembahasan LKS 2020 IT Network System Administrator Lampung Selatan
LKS 2020 IT Network System Administrator kali ini di adakan di SMK Yaditama, untuk kisi kisi materi belum tahu jadi kami masih mengira ngira mungkin menggunakan Modul A Linux Island karena dari pihak panita menginformasikan kisi-kisi masih sama seperti tahun kemaren yang menggunakan modul ini.
Untuk modulnya nanti akan di share disini:
Untuk konfigurasinya adalah sebagai berikut namun belum tuntas:
Untuk modulnya nanti akan di share disini:
Untuk konfigurasinya adalah sebagai berikut namun belum tuntas:
NATARSRV ============================================ eth0 hostonly hd 5GB hd 7GBx 3 (RAID) RAID 5 mount point /files ------------------------------------------------- mkdir /cert chmod 777 /cert nano /a.sh for ((i=1; i<=30; i++)) do mkdir -p /home/user$i useradd user$i -d /home/user$i -s /bin/bash passwd user$i <<< "InaSkill2020"$'\n'"InaSkill2020" done chmod +x /a.sh /a.sh ------------------------------------------------- apt-cdrom add (cd1,cd2,cd3) apt install bind9 cd /etc/bind cp db.127 ip cp db.local domain1 cp db.local domain2 nano named.conf.local zone "skills4future.net"{ type master; file "/etc/bind/domain1"; }; zone "skills39.edu.id"{ type master; file "/etc/bind/domain2"; }; zone "199.23.172.in-addr.arpa"{ type master; file "/etc/bind/ip"; }; nano ip @ IN NS skills4future.net. 3 IN PTR skills4future.net. 4 IN PTR skills39.edu.id. nano domain1 @ IN NS skills4future.net. @ IN A 172.23.199.3 www IN A 172.23.199.3 files IN A 172.23.199.3 internal IN A 172.23.199.3 nano domain2 @ IN NS skills39.edu.id. @ IN A 172.23.199.4 monitor IN A 172.23.199.4 vpn IN A 172.23.199.4 /etc/init.d/bind9 restart nslookup skills4future.net nslookup skills39.edu.id ------------------------------------------------- apt install apache2 php5 cd /etc/apache2/sites-available cp 000-default.config www.conf nano www.conf ServerName skills4future.net ServerAlias www.skills4future.net DocumentRoot /var/www/html cp www.config internal.conf nano internal.conf ServerAlias internal.skills4future.net DocumentRoot /var/www/html/internal <Directory "/var/www/html/internal"> AuthType Basic AuthName "Login" AuthUserFile /pas Require valid-user </Directory> htpasswd -c /pas user11 htpasswd /pas user12 cd /var/www/html mdir internal rm index.html nano index.html <html><h1>Welcome in the skills4future.net</h1></html> cp index.html internal nano internal/index.html <html><h1>Welcome in the INTERNAL skills4future.net</h1></html> a2dissite 000-default a2ensite www internal /etc/init.d/apache2 restart ------------------------------------------------- apt install proftpd nano /etc/proftpd/profptd.conf ServerName "skills4future.net" <Anonymous /home/user21> User user21 </Anonymous> ------------------------------------------------- apt-get install postfix courier-pop courier-imap maildirmake /etc/skel/Maildir nano /etc/postfix/main.cf #mailbox_command home_mailbox = Maildir/ /etc/init.d/postfix restart ------------------------------------------------- apt install samba mkdir /files/manager mkdir /files/guest addgroup manager smbpasswd -a user1 nano /etc/group manager:x:111:user1,user2 chown root:manager /files/manager chmod 777 -R /files/manager nano /etc/samba/smb.conf [manager] path = /files/manager valid user = user1,user2 force group = manager browseable = no writeable = yes [guest] path = /files/guest read only = yes /etc/init.d/samba restart ------------------------------------------------- apt install openssh-server nano /etc/ssh/sshd_config Port 1945 /etc/init.d/ssh restart ssh -p1945 user1@172.23.199.3 ------------------------------------------------- Tambahkan paling bawah </VirtualHost> a2enmod ssl nano /etc/apache2/sites-enabled/www.conf <VirtualHost *:443> SSLEngine On SSLCertificateFile /cert/lks.crt SSLCertificateKeyFile /cert/lks.key ServerName lks.com DocumentRoot /var/www/html/ </VirtualHost> KALIANDASRV ============================================ eth0 hostonly hd 5GB ------------------------------------------------- apt-cdrom add (cd1,cd2,cd) ------------------------------------------------- apt install apache2 php5 cacti akses browser skills39.edu.id/cacti ------------------------------------------------- apt install openssl ssl-cert mkdir /cert cd /cert openssl req -x509 -nodes -days 650 -newkey rsa:1024 -keyout lks.key -out lks.crt install /cert/lks.crt ke browser client scp -P 1945 /cert/* lks@172.23.199.3:/cert ------------------------------------------------- apt install freeradius ------------------------------------------------- LAMSELRO ============================================ eth0 bridge eth1 hostonly eth2 hostonly hd 5GB
nano /etc/network/interfaces auto eth0 iface eth0 inet static address 212.99.45.65 netmask 255.255.255.240 dns-search skills4future.net dns-server 172.23.199.3 auto eth1 iface eth1 inet static address 172.23.199.1 netmask 255.255.255.248 auto eth2 iface eth2 inet static address 192.168.150.1 netmask 255.255.255.128
/etc/init.d/networking restart nano /etc/sysctl.conf net.ipv4.ip_forward=1 nano /etc/rc.local iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE reboot ------------------------------------------------- apt-cdrom add (cd1,cd2,cd3) KALIANDACRL (GUI) ============================================ auto eth0
iface eth0 inet static
address 212.99.45.70
netmask 255.255.255.240
gateway 212.99.45.65
-------------------------------------------------
akses skills4future.net dan internal.skills4uture.net NATARCRL (GUI) ============================================
auto eth0iface eth0 inet dhcp
-------------------------------------------------Pembahasanan ini saya share sebagai materi pembelajaran.
Post a Comment