-
Batasan Jarak dalam jaringan area lokal
- Sinyal listrik menjadi lebh lemah saat bergerak
- Menemtapkan batasan pada panjang LAN
-
Repeater menghubungkan LAN bersama-sama
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: praktikum-sdb | |
| services: | |
| database: | |
| image: postgres:16.4 | |
| cpus: 1 | |
| mem_limit: 256M | |
| restart: always | |
| ports: | |
| - 5432:5432 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group: store | |
| toko = { | |
| id_toko, nama_toko, alamat | |
| t1,toko1,jl.1 | |
| t2,toko2,jl.2 | |
| t3,toko3,jl.3 | |
| t4,toko4,jl.4 | |
| } |
Note
Mekanisme pembentukan frame yang akan dikirim ke layer 2 dari layer 1 dalam bentuk bit
- Bagaimana cara jaringan bisa digunakan oleh semua node/perangkat
- Permasalahannya, akan terjadi interference/collisions
- Dua tau lebih transmisi dikirim secara simultan
- Hanya satu yang berhasil
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group: hr | |
| Employee = { empid name alamat deptid empid_a | |
| 1 Amir jl-1 d1 1 | |
| 2 Muntu jl-2 d2 2 | |
| 3 Tuti jl-3 d3 3 | |
| 4 Sudin jl-4 d1 1 | |
| 5 Hasan jl-5 d1 1 | |
| 6 Dedi jl-6 d2 2 | |
| 7 Dodi jl-7 d3 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Add Docker's official GPG key: | |
| sudo apt-get update | |
| sudo apt-get install vim curl wget zip git ca-certificates curl -y | |
| sudo install -m 0755 -d /etc/apt/keyrings | |
| sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc | |
| sudo chmod a+r /etc/apt/keyrings/docker.asc | |
| # Add the repository to Apt sources: |
Transmission Control Protocol atau biasa disingkat TCP adalah sebuah protocol jaringan yang berjalan pada layer Transport.
Tip
Sekilas mengenai Transport Layer
Layer ini terjadi komunikasi antar host/perangkat. Dibeberapa literatur, layer ini disebut dengan end-to-end atau host-to-host layer.
Salah satu fungsi layer ini yaitu mengidentifikasi setiap jenis aplikasi jaringan dengan menetapkan nomor port.
Bayangkan transport layer seperti kendaraan yang membawa dan mengantar paket yang orang-orang beli di online shop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:24.04 | |
| WORKDIR /home/lab | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| vim nano \ | |
| wget curl zip git \ | |
| ca-certificates software-properties-common \ | |
| sudo pkg-config build-essential acl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # import only system from os | |
| from os import system, name | |
| # define our clear function | |
| def clear(): | |
| # for windows | |
| if name == 'nt': | |
| _ = system('cls') | |
| # for mac and linux(here, os.name is 'posix') | |
| else: |