Install Linux Ubuntu Server 22.04 Operating System

Install Sistem Operasi Linux Ubuntu Server 22.04

  • Download ISO Linux Ubuntu Server 22.04
  • Masuk BIOS edit ganti boot priority dengan CD/DVD > Pilih bahasa English > Keyboard layout: English (US) > Install type: Ubuntu Server
  • Network connection: DHCP > proxy server: (kosongkan saja) > Mirror address: biarkan default
  • Setting partisi: Custom Storage layout (hard disk 40GB)
  • Free Space > Add GPT Partition
  • Partisi /boot: size: 1G > format: Ext4 > Mount: /boot > Create
  • Partisi Volume Group: Free Space > Add GPT Partition > size: max (kosongkan) > Format: Leave Unformated > Create
  • Create Volume Group (LVM)
  • Nama volume group: sys-ops-id > pilih Partition 3 > Create
  • Partisi lvm root: Free Space > Create Logical Volume > name: lv-root > size: 36G > format: Ext4 > mount: / > Create
  • Partisi lvm swap: Free Space > Create Logical Volume > name: lv-swap > Size: 2.9G (kosongkan) > format: swap > Create > Done
  • Konfirmasi untuk format partisi > Continue
  • Buat username dan password untuk akses ke Ubuntu Server 22.04
  • Install OpenSSH server > Tunggu hingga proses intallasi selesai
  • Proses install Ubuntu Server 22.04 selesai > Reboot
  • Login ke dalam Ubuntu Server 22.04 dengan user yang sudah dibuat sebelumnya
  • Setting IP address (static) Ubuntu Server 22.04
# Buka file /etc/netplan/00-installer-config.yml
sudo nano /etc/netplan/00-installer-config.yml
----------------------------------------------------------
# isi file
# This is the network config written by 'subiquity'
network:
  ethernets:
    enp0s3:
      dhcp4: no
      addresses: [192.168.88.88/24]
      gateway4: 192.168.88.10
      nameservers:
        addresses:
          - 8.8.8.8
          - 1.1.1.1
  version: 2

----------------------------------------------------------
sudo netplay apply
ip a | grep inet
ping sys-ops.id -c5

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.