Unifi Controller di Google Cloud Platform (GCP) dengan Ubuntu 20

Google Cloud Platform adalah layanan cloud dari Google yang terdiri dari berbagai produk seperti Compute, Storage, Networking, Big Data, Machine Learning, dan IoT

Ada bisa mencoba dengan Free Tier dahulu, kemudian baru upgrade setelah setelah cocok dengan kebutuhan. J

Langkah pertama yang harus dilakukan adalah masuk ke Google Cloud Platform

Selanjutnya kita masuk ke Console Google Cloud. Menu membuat Virtual machine berada di Compute Engine->VM instances. Klik Create. Kalau belum memasukan billing akan diarahkan ke setup billing, tapi jangan khawatir Google tidak akan mengenakan biaya sampai anda melakukan upgrade.

Name, menjadi nama VM instance sekaligus hostname.
Zone, lokasi server. Beda lokasi bisa berbeda biaya sewa, misalnya lokasi server di Amerika lebih murah dari lokasi server di Singapura.
Machine type, spesifikasi CPU (processor) dan RAM. Klik Customize untuk mengubah spesifikasi.
Boot disk, pilih sistem operasi dan besaran kapasitas disk sistem.

Terakhir klik Create. Tunggu beberapa detik untuk proses build VM instance.

VM instances sudah aktif. External IP merupakan public IP dari VM, dan Internal IP merupakan private IP

Buka port 8443 dari firewall GCP, ports yang dipakai Unifi https://help.ui.com/hc/en-us/articles/218506997-UniFi-Ports-Used

Saya anggap VM sudah selesai dan kemudian bisa di remote VM tersebut dengan SSH ke Public IP tersebut, kemudian langkah selanjutnya install unifi controller nya

Selanjutnya Install Ubiquiti Unifi Controller di Ubuntu 20.04 VM

sudo apt update
sudo apt install --yes apt-transport-https

echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg

sudo apt update
sudo apt install --yes openjdk-8-jre-headless unifi
sudo apt clean

sudo systemctl status --no-pager --full mongodb.service unifi.service

# Masuklewat browser https://ip-public-VM-GCP:8443/

Untuk Adopt perangkat AP ke VM GCP, bisa arahkan uniform nya ke http://ip-public-VM-GCP:8443/ atau http://unifi.namadomain.com:8080/inform dengan cara SSH ke perangkat AP.

set-inform http://unifi.namadomain.com:8080/inform kemudian adopt dari unifi contoller di VM nya!

Selanjutnya Install Let’s Encrypt SSL Certificate on UniFi

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache -y
sudo certbot --apache -d unifi.namadomain.com
sudo wget https://raw.githubusercontent.com/stevejenkins/unifi-linux-utils/master/unifi_ssl_import.sh -O /usr/local/bin/unifi_ssl_import.sh
sudo chmod +x /usr/local/bin/unifi_ssl_import.sh
sudo nano -w /usr/local/bin/unifi_ssl_import.sh

# UNIFI_HOSTNAME=unifi.namadomain.com
#Karana kita pakai Debian/Ubuntu, selain script itu bisa comments:

#UNIFI_DIR=/opt/UniFi
#JAVA_DIR=${UNIFI_DIR}
#KEYSTORE=${UNIFI_DIR}/data/keystore

# Uncomment following three lines for Debian/Ubuntu
UNIFI_DIR=/var/lib/unifi
JAVA_DIR=/usr/lib/unifi
KEYSTORE=${UNIFI_DIR}/keystore

LE_MODE=yes
LE_LIVE_DIR=/etc/letsencrypt/live

# tekan CTRL+X dan Y.

#Jalankan script!

sudo /usr/local/bin/unifi_ssl_import.sh
sudo chown root:root /etc/cron.daily/unifi_ssl_import
sudo chmod +x /etc/cron.daily/unifi_ssl_import
cat /etc/cron.d/certbot
sudo certbot renew --dry-run

Cara export dan import passwords dari CSV di Google Chrome

Let me show you how to export passwords in Chrome:

  1. Load chrome://settings/passwords in the browser’s address bar.
  2. Click on the menu icon (the three dots) on the Saved Passwords line.
  3. Select Export passwords from the menu that opens.
  4. Activate the “export passwords” button on the warning screen.
  5. Type your Windows username and password for verification.
  6. Select a location to save the password file to.

How to import from CSV

  1. Create Chrome shortcut on Desktop
  2. Right-Click shortcut and select PROPERTIES
  3. In the “Target” field add the following literally to the end, ” –enable-features=PasswordImport”.
  4. NOTE:
    “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –enable-features=PasswordImport
  5. Hit Apply, and open shortcut.

From there go to Settings > Passwords and you will now see 3-Dot menu to the right of where you see the title “Saved Passwords”. Those dots allow you to import a CSV password file. You can delete shortcut if you like after importing.

Domain name baru .Google

Pada tanggal 29 September lalu, raksasa mesin pencari Google menerbitkan sebuah website baru yang menggunakan doman yang unik yaitu .google. Hal ini sangat berbeda dari nama domain biasanya yang kita tahu berakhiran .com, .net, .org atau .id. Situs baru dengan alamat lengkap blog.google dan diberi nama The Keyword.

https://blog.google/

 

RIP! Selamat Tinggal Internet Explorer

Mari sejenak untuk mengheningkat cipta, Microsoft resmi mengumumkan kematian Internet Explorer (IE), peramban andalan Microsoft, pada Selasa (17/3/2015).

Untuk selanjutnya, Microsoft tidak bekerja dengan peramban ikonik tersebut, dan menggantinya dengan versi yang lebih baru dengan nama sandi Project Spartan.