Initial Config Ubuntu Server

Setting timezone sesuai lokasi, contoh Asia/Jakarta

timedatectl set-timezone Asia/Jakarta

Secure web-server dengan Let’s Encrypt

apt-get install python3-certbot-apache
certbot --apache -d member.fidaroin.com

Setting ip address menggunakan vlan-tag, posisi interface ens18 sebagai trunk

# nano /etc/netplan/00-installer-config.yaml

# This is the network config written by 'subiquity'
network:
  ethernets:
    ens18:
      nameservers:
        addresses:
        - 8.8.8.8
  vlans:
      vlan140:
           id: 140
           link: ens18
           addresses:
           - 103.173.140.50/30
           gateway4: 103.173.140.49
           nameservers:
             addresses:
             - 8.8.8.8
             - 1.1.1.1
  version: 2

# netplan apply

Rubah hostname

nano /etc/hostname

Install openvpn-server

wget https://git.io/vpn -O openvpn-install.sh

chmod +x openvpn-install.sh

bash openvpn-install.sh

Install speedtest-server

wget https://install.speedtest.net/ooklaserver/ooklaserver.sh

chmod a+x ooklaserver.sh

./ooklaserver.sh install

./ooklaserver.sh start