Pembahasan UKK Paket 1 Teknik Komputer Dan Jaringan 2025


P1-SPK 1 UKK Tahun Pelajaran 2024/2025 KM.3066 ASJ


Network Overview:

-          Koneksi Internet & Konfigurasi NAT

Lab ini terkoneksi ke internet asli melalui ether1/wlan1_station. Router Internet Shadow saya masukan karena ingin kontrol untuk mengonfigurasi IP ISP sesuai pada soal.

1.      Router Kantor Pusat Jakarta (172.16.108.2/30): Mengikuti soal yaitu 172.16.100+absen.X dan diterapkan SRCNAT MASQUERADE pada ether1

2.      Router Kantor Pusat Jakarta (172.17.108.2/30): Mengikuti soal yaitu 172.17.100+absen.X dan diterapkan SRCNAT MASQUERADE pada ether1

-          VPN (L2TP over the Internet)
Kantor Pusat Jakarta dan Kantor Cabang Surabaya terhubung melalui L2TP over Router Internet Shadow. Karena di soal tidak ditentukan Remote IP dan Local IP, maka saya gunakan 10.10.10.1/30 sebagai Local (Kantor Pusat Jakarta) dan 10.10.10.2/30 sebagai Remote (Kantor Cabang Surabaya)

-          Jaringan Lokal Kantor Pusat Jakarta

1.      PC Kasir 1 (192.168.10.2/24): IP berbeda dari soal dan saya mengikuti video, agar tidak konflik dengan IP Publik, karena kita bermain dengan internet.

2.      Server Post (192.168.30.2/24): Sama seperti PC Kasir 1, IP 192.168.200+absen.X.X diubah menjadi 192.168.X.X sesuai video. Untuk Server Post bisa Anda virtualisasi menggunakan VMware Workstation Pro 17

-          Jaringan Lokal Kantor Cabang Surabaya

1.      PC Kasir 2 (192.168.20.2/24): Sama halnya seperti PC Kasir 1.


Pengujian

Dari PC Kasir 1

Dari PC Kasir 2


Lab GNS3 dan VMware Workstation Library

GNS3 mempermudah saya untuk mengeksekusi soal ini tanpa membutuhkan tiga PC/Laptop, dan tiga router MikroTik fisik. Backup konfigurasi dari CHR dapat di pakai RB941 sehingga tidak ada perbedaannya secara tahap eksekusi. (mines g ada wireless sih di CHR).

A screenshot of a computer

AI-generated content may be incorrect.
A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Konfigurasi

Konfigurasi Router Internet. Shadow. 

1.System > Identity

2.Interfaces

3.IP > DHCP Client

4.      IP > Firewall > NAT.

Tambahkan SRCNAT ACTION MASQUERADE untuk ether1.
5.IP > Address


IP > DHCP > LEASES


IP > Routes


AS 0.0.0.0/0 172.17.108.1 adalah konfigurasi gateway internet.

DAC 10.10.10.1 dibuat otomatis ketika L2TP terhubung.

AS 192.168.10.0/24 adalah Routing Static supaya Jaringan Lokal

Kantor Pusat Jakarta (PC Kasir 1) terhubung.

AS 192.168.30.0/24 adalah Routing Static supaya Jaringan Lokal

Kantor Pusat Jakarta (Server Post) terhubung.


IP > DNS


Internet Check


Create a new L2TP Client

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

System > License

System > License
Bila menggunakan CHR, disarankan mempunyai akun MikroTik untuk mendapatkan trial license, supaya kecepatan tidak dibatasi 1mbps.
A screenshot of a computer

AI-generated content may be incorrect.

Konfigurasi PC Kasir 1 Jakarta

OS: Windows 11

Konfigurasi PC Kasir 2 Surabaya

OS: Windows 11

Konfigurasi Server Post

OS: Ubuntu Server 24.04.2

Web Server: apache2

Database Server: mariadb-server

Kasir Konten/Server: PrestaShop

 

Masuk ke Server Post lewat SSH menggunakan PowerShell di PC Kasir 1

`ssh fahmi@192.168.30.2`
A screenshot of a computer

AI-generated content may be incorrect.

Neofetch dulu g sih. (skip g penting ini)
A computer screen shot of a computer screen

AI-generated content may be incorrect.


 

Install apache2 sebagai web server

`sudo apt install apache2`

A screenshot of a computer

AI-generated content may be incorrect.

Install mariadb-server sebagai Database server.

`sudo apt install mariadb-server`

A screenshot of a computer screen

AI-generated content may be incorrect.


 

Install php untuk menjalankan PrestaShop

`sudo apt install php`
A screenshot of a computer

AI-generated content may be incorrect.

Buka github.com/PrestaShop/PrestaShop, dan klik Latest Release

A screenshot of a computer

AI-generated content may be incorrect.

Klik kanan dan Copy link
A screenshot of a computer

AI-generated content may be incorrect.

Ganti dir ke `/var/www`, dan download filenya.

`cd /var/www/`

`sudo wget https://github.com/PrestaShop/PrestaShop/releases/download/8.2.1/prestashop_8.2.1.zip`

`ls`

A screenshot of a computer

AI-generated content may be incorrect.


 

Install unzip, untuk membuka file .zip

`sudo apt install unzip`

A screenshot of a computer

AI-generated content may be incorrect.

Unzip prestashop_8.2.1.zip di dir /var/www

`sudo unzip prestashop_8.2.1.zip`

`ls`

A screenshot of a computer

AI-generated content may be incorrect.

Pindahkan prestashop.zip (gak ada angkanya y) ke dir /var/www/html

`sudo mv prestashop.zip ./html`

`cd ./html`

`ls`

A screenshot of a computer

AI-generated content may be incorrect.

Hapus index.html dalam dir /var/www/html

`ls`

`sudo rm index.html`

`ls`

A screenshot of a computer

AI-generated content may be incorrect.


 

Unzip prestashop.zip di dir /var/www/html

`sudo unzip prestashop.zip`

`ls`

A screenshot of a computer

AI-generated content may be incorrect.
A screenshot of a computer

AI-generated content may be incorrect.

A screen shot of a computer

AI-generated content may be incorrect.

Hapus prestashop.zip dari dir /var/www/html/

`sudo rm prestashop.zip`

`ls`

A screenshot of a computer

AI-generated content may be incorrect.

 


 

Investigasi kenapa 500 Server error, yaitu Permission Denied.

Artinya kita belum kasih akses ke user www-data:www-data

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer screen

AI-generated content may be incorrect.

Kasih akses www-data:www-data

`sudo chmod 755 -R *`

`sudo  chown www-data:www-data -R *`

A screenshot of a computer

AI-generated content may be incorrect.


 

Error g ada extensions yang diperlukan
A screenshot of a computer

AI-generated content may be incorrect.

Install extensions yang diperlukan

`sudo apt install php-{zip,xml,gd,mbstring}`

A screenshot of a computer

AI-generated content may be incorrect.


 

Reload http://192.168.30.2/install di browser

Pilih Bahasa Indonesia dan Next

A screenshot of a computer

AI-generated content may be incorrect.

Setuju dan Next

A screenshot of a computer

AI-generated content may be incorrect.


 

Error: kita butuh install berikut

A screenshot of a computer

AI-generated content may be incorrect.

Install php extensions dulu

`sudo apt install php-{curl,intl,mysql}`
A screenshot of a computer

AI-generated content may be incorrect.


 

Klik Refresh InformationA screenshot of a computer

AI-generated content may be incorrect.

Nyalakan mod_rewrite

`sudo a2enmod rewrite`

`sudo systemctl restart apache2`
A computer screen shot of a black screen

AI-generated content may be incorrect.

Klik Refresh Information dan klik Next

A screenshot of a computer

AI-generated content may be incorrect.


 

Isi data toko dan akun admin

A screenshot of a computer

AI-generated content may be incorrect.

Pilih yes dan install all, lalu Next
A screenshot of a computer

AI-generated content may be incorrect.


 

Buat user baru dan database untuk PrestaShop

A screenshot of a computer

AI-generated content may be incorrect.

Tes dan hubungkan lalu Next

A screenshot of a computer

AI-generated content may be incorrect.


 

Tunggu sampai selesai

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Hapus dir install di dalam dir /var/www/html

A screenshot of a computer

AI-generated content may be incorrect.


 

Buka Back Office, maka akan tampil eror, copy dulu saran nama dir adminnya, dan ubah nama dir admin di /var/www/html. Lalu Refresh dan login

`sudo mv admin/ admin759gxvdf09fvgyeng89/ `

A screenshot of a computer

AI-generated content may be incorrect.
A screenshot of a computer

AI-generated content may be incorrect.

A computer screen shot of a computer screen

AI-generated content may be incorrect.


 

Berikut adalah tampilan Back Office.

A screenshot of a computer

AI-generated content may be incorrect.

 

 









Post a Comment

Previous Post Next Post