Skip to content

ranggaaldosas/Jarkom-Modul-2-IT07-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Praktikum Modul 2 Jaringan Komputer

Praktikum Modul 2 Jaringan Komputer - IT07

Authors

Nama NRP
Rangga Aldo 5027211059
Maulana Ilyasa 5027211065

Resources can be downloaded here

Topologi 2

Laporan Resmi Modul 2

Config

  • List IP

    YudhistiraDNSMaster 10.67.3.2
    WerkudaraDNSSlave 10.67.2.2
    
    SadewaClient 10.67.1.2
    NakulaClient 10.67.1.3
    
    ArjunaLoadBalancer 10.67.2.3
    
    AbimayuWebServer 10.67.2.4
    PrabukusumaWebServer 10.67.2.5
    WisageniWebSever 10.67.2.6
    
  • Pandudewanata Router

    auto eth0
    iface eth0 inet dhcp
    
    auto eth1
    iface eth1 inet static
            address 10.67.1.1
            netmask 255.255.255.0
    
    auto eth2
    iface eth2 inet static
            address 10.67.2.1
            netmask 255.255.255.0
    
    auto eth3
    iface eth3 inet static
            address 10.67.3.1
            netmask 255.255.255.0
    
  • Yudhistira DNS Master

    auto eth0
    iface eth0 inet static
            address 10.67.3.2
            netmask 255.255.255.0
            gateway 10.67.3.1
    
  • Werkudara DNS Slave

    auto eth0
    iface eth0 inet static
            address 10.67.2.2
            netmask 255.255.255.0
            gateway 10.67.2.1
    
  • Sadewa Client

    auto eth0
    iface eth0 inet static
            address 10.67.1.2
            netmask 255.255.255.0
            gateway 10.67.1.1
    
  • Nakula Client

    auto eth0
    iface eth0 inet static
            address 10.67.1.3
            netmask 255.255.255.0
            gateway 10.67.1.1
    
  • Arjuna LoadBalancer

    auto eth0
    iface eth0 inet static
            address 10.67.2.3
            netmask 255.255.255.0
            gateway 10.67.2.1
    
  • Abimanyu WebServer

    auto eth0
    iface eth0 inet static
            address 10.67.2.4
            netmask 255.255.255.0
            gateway 10.67.2.1
    
  • Prabukusuma WebServer

    auto eth0
    iface eth0 inet static
            address 10.67.2.5
            netmask 255.255.255.0
            gateway 10.67.2.1
    
  • Wisanggeni WebServer

    auto eth0
    iface eth0 inet static
            address 10.67.2.6
            netmask 255.255.255.0
            gateway 10.67.2.1
    

Setup .bashrc

  • Router

    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE -s 10.67.0.0/16
    echo 'nameserver 192.168.122.1' > /etc/resolv.conf
    
  • DNS (Master)

    apt-get update
    apt-get install bind9 -y
    
    bash dnsmaster.sh
    
    echo 'nameserver 192.168.122.1' > /etc/resolv.conf
    
  • DNS (Slave)

    apt-get update
    apt-get install bind9 -y
    
    bash dnsslave.sh
    
    echo 'nameserver 192.168.122.1' > /etc/resolv.conf
    
  • Client

    pt-get update
    apt-get install dnsutils -y
    apt-get install lynx -y
    
    echo 'nameserver 10.67.3.2
    nameserver 10.67.2.2
    nameserver 192.168.122.1' > /etc/resolv.conf
    

Soal 1

1. Yudhistira akan digunakan sebagai DNS Master, Werkudara sebagai DNS Slave, Arjuna merupakan Load Balancer yang terdiri dari beberapa Web Server yaitu Prabakusuma, Abimanyu, dan Wisanggeni. Buatlah topologi dengan pembagian sebagai berikut. Folder topologi dapat diakses pada drive berikut

Script

Nakula dan Sadewa

ping google.com

Result

Soal 2

2. Buatlah website utama pada node arjuna dengan akses ke arjuna.yyy.com dengan alias www.arjuna.yyy.com dengan yyy merupakan kode kelompok.

Scripting

mkdir /etc/bind/jarkom
cp /etc/bind/db.local /etc/bind/jarkom/arjuna.it07.com

echo 'zone "arjuna.it07.com" {
        type master;
        file "/etc/bind/jarkom/arjuna.it07.com";
        allow-transfer { 10.67.2.2; }; // IP Werkudara
};

echo '
;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     arjuna.it07.com. root.arjuna.it07.com. (
                        2023101001      ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      arjuna.it07.com.
@       IN      A       10.67.2.2     ; IP Yudhistira
www     IN      CNAME   arjuna.it07.com.' > /etc/bind/jarkom/arjuna.it07.com
ping arjuna.it07.com
ping www.arjuna.it07.com

Soal 3

3. Dengan cara yang sama seperti soal nomor 2, buatlah website utama dengan akses ke abimanyu.yyy.com dan alias www.abimanyu.yyy.com.

Scripting

ping arjuna.it07.com
ping www.arjuna.it07.com
cp /etc/bind/db.local /etc/bind/jarkom/abimanyu.it07.com

echo 'zone "arjuna.it07.com" {
        type master;
        file "/etc/bind/jarkom/arjuna.it07.com";
        allow-transfer { 10.67.2.2; }; // IP Werkudara
};

zone "abimanyu.it07.com" {
        type master;
        notify yes;
        also-notify { 10.67.2.2; }; // IP Werkudara
        allow-transfer { 10.67.2.2; }; // IP Werkudara
        file "/etc/bind/jarkom/abimanyu.it07.com";
};' > /etc/bind/named.conf.local

echo '
;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     abimanyu.it07.com. root.abimanyu.it07.com. (
                        2023101001      ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      abimanyu.it07.com.
@       IN      A       10.67.2.2     ; IP Yudhistira
www     IN      CNAME   abimanyu.it07.com.' > /etc/bind/jarkom/abimanyu.it07.com

Soal 4

4. Kemudian, karena terdapat beberapa web yang harus di-deploy, buatlah subdomain parikesit.abimanyu.yyy.com yang diatur DNS-nya di Yudhistira dan mengarah ke Abimanyu.

Tambahkan parikesit IN A 10.67.2.4 ; IP Abimanyu

Scripting

ping parikesit.abimanyu.it07.com
echo '
;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     abimanyu.it07.com. root.abimanyu.it07.com. (
                        2023101001      ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      abimanyu.it07.com.
@       IN      A       10.67.2.2     ; IP Yudhistira
www     IN      CNAME   abimanyu.it07.com.
parikesit IN    A       10.67.2.4     ; IP Abimanyu' > /etc/bind/jarkom/abimanyu.it07.com

Soal 5

5. Buat juga reverse domain untuk domain utama. (Abimanyu saja yang direverse)

Scripting

host -t PTR 10.67.2.4
cp /etc/bind/db.local /etc/bind/jarkom/2.236.192.in-addr.arpa

echo 'zone "2.236.192.in-addr.arpa" {
        type master;
        file "/etc/bind/jarkom/2.236.192.in-addr.arpa";
};' > /etc/bind/named.conf.local

echo '
;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     abimanyu.it07.com. root.abimanyu.it07.com. (
                        2003101001      ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
2.236.192.in-addr.arpa. IN      NS      abimanyu.it07.com.
2                       IN      PTR     abimanyu.it07.com.' > /etc/bind/jarkom/2.236.192.in-addr.arpa

Soal 6

6. Agar dapat tetap dihubungi ketika DNS Server Yudhistira bermasalah, buat juga Werkudara sebagai DNS Slave untuk domain utama.

Scripting

A. di master, service bind9 stop

B. di nakula client, lakukan command berikut

ping abimanyu.it07.com

C. berhasil == slave berhasil jadi dns cadangan

D. di master, service bind9 start, untuk soal selanjutnya

echo 'zone "abimanyu.it07.com" {
    type slave;
    masters { 10.67.3.2; }; // Masukan IP Yudhistira
    file "/var/lib/bind/abimanyu.it07.com";
}; > /etc/bind/named.conf.local

Soal 7

7. Seperti yang kita tahu karena banyak sekali informasi yang harus diterima, buatlah subdomain khusus untuk perang yaitu baratayuda.abimanyu.yyy.com dengan alias www.baratayuda.abimanyu.yyy.com yang didelegasikan dari Yudhistira ke Werkudara dengan IP menuju ke Abimanyu dalam folder Baratayuda.

Scripting

ping baratayuda.abimanyu.it07.com
ping www.baratayuda.abimanyu.it07.com
#Soal 7
mkdir /etc/bind/baratayuda

#Soal 7
cp /etc/bind/db.local /etc/bind/baratayuda/baratayuda.abimanyu.it07.com
echo '
;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     baratayuda.abimanyu.it07.com. root.baratayuda.abimanyu.it07.com. (
                        2023101001      ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      baratayuda.abimanyu.it07.com.
@       IN      A       10.67.2.4    ; IP Abimanyu
www     IN      CNAME   baratayuda.abimanyu.it07.com.' > /etc/bind/baratayuda/baratayuda.abimanyu.it07.com

#Soal 7
echo "options {
    directory \"/var/cache/bind\";

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders.
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

    // forwarders {
    //      0.0.0.0;
    // };

    //========================================================================
    // If BIND logs error messages about the root key being expired,
    // you will need to update your keys.  See https://www.isc.org/bind-keys
    //========================================================================
    //dnssec-validation auto;
    allow-query {any;};

    auth-nxdomain no;
    listen-on-v6 { any; };
};" > /etc/bind/named.conf.options

Soal 8

8. Seperti yang kita tahu karena banyak sekali informasi yang harus diterima, buatlah subdomain khusus untuk perang yaitu baratayuda.abimanyu.yyy.com dengan alias www.baratayuda.abimanyu.yyy.com yang didelegasikan dari Yudhistira ke Werkudara dengan IP menuju ke Abimanyu dalam folder Baratayuda.

Scripting

ping rjp.baratayuda.abimanyu.it07.com
ping www.rjp.baratayuda.abimanyu.it07.com
#Soal 8
echo ';
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     baratayuda.abimanyu.it07.com. root.baratayuda.abimanyu.it07.com. (
                        2023101001      ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@               IN      NS      baratayuda.abimanyu.it07.com.
@               IN      A       10.67.2.4    ; IP Abimanyu
www             IN      CNAME   baratayuda.abimanyu.it07.com.
rjp             IN      A       10.67.2.4    ; IP Abimanyu
www.rjp         IN      CNAME   rjp.baratayuda.abimanyu.it07.com.' > /etc/bind/baratayuda/baratayuda.abimanyu.it07.com

Soal 9 & 10

  1. Melakukan sebuah deployment untuk ketiga worker (Abimanyu,Prabukusuma,Wisanggeni) yang dimana Arjuna bertindak sebagai load balancer serta menggunakan nginx sebagai web server

  2. Setelah berhasil setup pada nomer 9,tugas pada nomer 10 tidak lebih hanya menambahkan port pada masing-masing worker untuk formatnya kurang lebih Prabakusuma:8001 ,Abimanyu:8002 ,Wisanggeni:8003 dalam menjalankannya.

scripting

lynx http://10.67.2.5:8001 #Prabukusuma
lynx http://10.67.2.4:8002 #Abimanyu
lynx http://10.67.2.6:8003 #Wisageni
echo 'upstream roundrobin {
  server 10.67.2.5:8001; # IP PrabuKusuma
  server 10.67.2.4:8002; # IP Abimanyu
  server 10.67.2.6:8003; # IP Wisanggeni
}

server {
  listen 80;
  server_name arjuna.it07.com www.arjuna.it07.com;

  location / {
    proxy_pass http://roundrobin;
  }
}
' > /etc/nginx/sites-available/jarkom

ln -s /etc/nginx/sites-available/jarkom /etc/nginx/sites-enabled/jarkom

rm /etc/nginx/sites-enabled/default

service nginx restart

Soal 11

  1. Melakukan konfigurasi web server yang dibuat dengan https://www.abimanyu.yyy.com/ pada worker abimanyu,tapi sebelum itu buatlah server dengan DocumentRoot /var/www/abimanyu.yyy.

scripting

lynx abimanyu.it07.com
cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/abimanyu.it07.com.conf
rm /etc/apache2/sites-available/000-default.conf

echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/abimanyu.it07

  ServerName abimanyu.it07.com
  ServerAlias www.abimanyu.it07.com

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/abimanyu.it07.com.conf

a2ensite abimanyu.it07.com.conf

Soal 12

  1. Setelah berhasil pada nomer 11, sekarang ubah directory menjadi /home seperti https://www.abimanyu.yyy.com/home

scripting

lynx abimanyu.it07.com/home
echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/abimanyu.it07
  ServerName abimanyu.it07.com
  ServerAlias www.abimanyu.it07.com

  <Directory /var/www/abimanyu.it07/index.php/home>
          Options +Indexes
  </Directory>

  Alias "/home" "/var/www/abimanyu.it07/index.php/home"

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/abimanyu.it07.com.conf

Soal 13

  1. Setelah berhasi setup parikesit di nomer atas, sekrang kita panggil kembali subdomain nya dengan format https://www.parikesit.abimanyu.yyy.com/

scripting

lynx parikesit.abimanyu.it07.com
echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/parikesit.abimanyu.it07
  ServerName parikesit.abimanyu.it07.com
  ServerAlias www.parikesit.abimanyu.it07.com

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/parikesit.abimanyu.it07.com.conf

a2ensite parikesit.abimanyu.it07.com.conf

Soal 14

  1. Lalu pada format parikesit yang sama pada nomer 13, pada nomer 14 ini kita menambahkan masing” /public untuk melakukan directory listing, dan /secret tidak dapat diakses (403 forbidden)

scripting

lynx parikesit.abimanyu.it07.com/public
lynx parikesit.abimanyu.it07.com/secret
echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/parikesit.abimanyu.it07
  ServerName parikesit.abimanyu.it07.com
  ServerAlias www.parikesit.abimanyu.it07.com

  <Directory /var/www/parikesit.abimanyu.it07/public>
          Options +Indexes
  </Directory>

  <Directory /var/www/parikesit.abimanyu.it07/secret>
          Options -Indexes
  </Directory>

  Alias "/public" "/var/www/parikesit.abimanyu.it07/public"
  Alias "/secret" "/var/www/parikesit.abimanyu.it07/secret"

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/parikesit.abimanyu.it07.com.conf

/Secret???!!

Soal 15

  1. Membuat customisasi halaman error /errortest yang dimana akan menampilkan alert 404 not found serta pesan, lalu untuk halaman /secret akan muncul alert 403 forbidden serta terdapat pesan

scripting

lynx parikesit.abimanyu.it07.com/iniakanerror
lynx parikesit.abimanyu.it07.com/secret
echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/parikesit.abimanyu.it07
  ServerName parikesit.abimanyu.it07.com
  ServerAlias www.parikesit.abimanyu.it07.com

  <Directory /var/www/parikesit.abimanyu.it07/public>
          Options +Indexes
  </Directory>

  <Directory /var/www/parikesit.abimanyu.it07/secret>
          Options -Indexes
  </Directory>

  Alias "/public" "/var/www/parikesit.abimanyu.it07/public"
  Alias "/secret" "/var/www/parikesit.abimanyu.it07/secret"

  ErrorDocument 404 /error/404.html
  ErrorDocument 403 /error/403.html

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/parikesit.abimanyu.it07.com.conf

/iniakanerror??! Alias 404

/403!!!!!

Soal 16

  1. Mengubah virtual host pada file asset agar lebih singkat yang dimana sebelumnya https://www.parikesit.abimanyu.yyy.com/public/js menjadi /js saja pada belakangnya

Inilah /js yang anda minta puh

lynx parikesit.abimanyu.it07.com/js

lynx parikesit.abimanyu.it07.com/js
echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/parikesit.abimanyu.it07
  ServerName parikesit.abimanyu.it07.com
  ServerAlias www.parikesit.abimanyu.it07.com

  <Directory /var/www/parikesit.abimanyu.it07/public>
          Options +Indexes
  </Directory>

  <Directory /var/www/parikesit.abimanyu.it07/secret>
          Options -Indexes
  </Directory>

  Alias "/public" "/var/www/parikesit.abimanyu.it07/public"
  Alias "/secret" "/var/www/parikesit.abimanyu.it07/secret"
  Alias "/js" "/var/www/parikesit.abimanyu.it07/public/js"

  ErrorDocument 404 /error/404.html
  ErrorDocument 403 /error/403.html

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/parikesit.abimanyu.it07.com.conf

Soal 17 & 18

  1. Membuat sebuah konfigurasi baru www.rjp.baratayuda.abimanyu.yyy.com lalu untuk memanggilnya dilakukan kustomisasi port dengan menambahkan port listen 14000 dan 14400.

  2. Setelah berhasil pada nomer 17, sekarang kita tambahkan username “Wayang” dan password “baratayudait07”untuk melakukan autentikasi saat hendak masuk ke www.rjp.baratayuda.abimanyu.yyy.com

scripting

lynx rjp.baratayuda.abimanyu.it07.com:14000
lynx rjp.baratayuda.abimanyu.it07.com:14400
#Soal 17
echo -e '<VirtualHost *:14000 *:14400>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/rjp.baratayuda.abimanyu.it07
  ServerName rjp.baratayuda.abimanyu.it07.com
  ServerAlias www.rjp.baratayuda.abimanyu.it07.com

  ErrorDocument 404 /error/404.html
  ErrorDocument 403 /error/403.html

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/rjp.baratayuda.abimanyu.it07.com.conf

echo -e '# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80
Listen 14000
Listen 14400

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet' > /etc/apache2/ports.conf

a2ensite rjp.baratayuda.abimanyu.it07.com.conf


#Soal 18
echo -e '<VirtualHost *:14000 *:14400>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/rjp.baratayuda.abimanyu.it07
  ServerName rjp.baratayuda.abimanyu.it07.com
  ServerAlias www.rjp.baratayuda.abimanyu.it07.com

  <Directory /var/www/rjp.baratayuda.abimanyu.it07>
          AuthType Basic
          AuthName "Restricted Content"
          AuthUserFile /etc/apache2/.htpasswd
          Require valid-user
  </Directory>

  ErrorDocument 404 /error/404.html
  ErrorDocument 403 /error/403.html

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/rjp.baratayuda.abimanyu.it07.com.conf

a2ensite rjp.baratayuda.abimanyu.it07.com.conf
htpasswd -c -b /etc/apache2/.htpasswd Wayang baratayudait07

Butuhh username dan password??!!

Rahasia yak: username: Wayang pass: baratayudait07

Hihi minta authorization

Sukses masuk :)

Jika username/password salah??

Soal 19

  1. Setiap melakukan pemanggilan IP abimanyu maka akan dibuat sistem otomatis yang men direct kepada link https://www.abimanyu.yyy.com/ yang telah di kustomisasi

scripting

lynx 10.67.2.4 #nyoba ke abimanyu

lynx 10.67.2.4  #akan mengarah ke www.abimanyu.it07.com
echo -e '<VirtualHost *:80>
    ServerAdmin webmaster@abimanyu.it07.com
    DocumentRoot /var/www/html

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    Redirect / http://www.abimanyu.it07.com/
</VirtualHost>' > /etc/apache2/sites-available/000-default.conf

apache2ctl configtest

Soal 20

  1. Pada format parikesit yang sudah dibuat pada nomer 13 https://www.parikesit.abimanyu.yyy.com/ kita mengubah request gambar yang terdapat substring “abimanyu” langsung di direct menuju abimanyu.png

Nyoba download gambar?

lynx parikesit.abimanyu.it07.com/public/images/not-abimanyu.png
a2enmod rewrite

echo 'RewriteEngine On
RewriteCond %{REQUEST_URI} ^/public/images/(.*)(abimanyu)(.*\.(png|jpg))
RewriteCond %{REQUEST_URI} !/public/images/abimanyu.png
RewriteRule abimanyu http://parikesit.abimanyu.it07.com/public/images/abimanyu.png$1 [L,R=301]' > /var/www/parikesit.abimanyu.it07/.htaccess

echo -e '<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/parikesit.abimanyu.it07

  ServerName parikesit.abimanyu.it07.com
  ServerAlias www.parikesit.abimanyu.it07.com

  <Directory /var/www/parikesit.abimanyu.it07/public>
          Options +Indexes
  </Directory>

  <Directory /var/www/parikesit.abimanyu.it07/secret>
          Options -Indexes
  </Directory>

  <Directory /var/www/parikesit.abimanyu.it07>
          Options +FollowSymLinks -Multiviews
          AllowOverride All
  </Directory>

  Alias "/public" "/var/www/parikesit.abimanyu.it07/public"
  Alias "/secret" "/var/www/parikesit.abimanyu.it07/secret"
  Alias "/js" "/var/www/parikesit.abimanyu.it07/public/js"

  ErrorDocument 404 /error/404.html
  ErrorDocument 403 /error/403.html

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>' > /etc/apache2/sites-available/parikesit.abimanyu.it07.com.conf

service apache2 restart

A. Download Gambar

B. Wow bisa save ke local-disk

C. Coba ganti nama

D. Muncul di local brow


IT07 Pamit

Authors

Nama NRP
Rangga Aldo 5027211059
Maulana Ilyasa 5027211065

test pushh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages