Wednesday, 9 November 2022

chroot

root@openthinklabs:/home/pi# mount /dev/sda2 /media
root@openthinklabs:/home/pi# cd /media
root@openthinklabs:/mnt# mount --bind /dev dev/
root@openthinklabs:/mnt# mount --bind /sys sys/
root@openthinklabs:/mnt# mount --bind /proc proc/
root@openthinklabs:/mnt# mount --bind /dev/pts dev/pts
root@openthinklabs:/mnt# chroot . bin/bash
root@openthinklabs:/# update-grub

Saturday, 2 October 2021

Setup OpenVPN Server di Google Cloud Platform

Jika ingin mengakses aplikasi di mesin lain yg menggunakan IP private kita dapat menggunakan VPN, petunjuk pada [1][2] sudah sangat jelas dan dapat diikuti. Hanya perlu diperhatikan, terutama di bagian firewall, buka port aplikasi yang nantinya ingin kita akses.

Referensi

  1. openvpn-install, https://github.com/Nyr/openvpn-install
  2. How to setup an OpenVPN server on Google Cloud Platform?, https://www.getloki.com/guides/openvpn/how-to-setup-an-openvpn-server-on-google-cloud-platform/

Thursday, 23 July 2020

How to Enable/Disable Ping using iptables on Debian 10

Disabling Ping with iptables


ping 127.0.0.1

$ sudo iptables -A INPUT -p icmp --icmp-type echo-request -j REJECT

$ iptables -L

ping 127.0.0.1

Enabling Ping in iptables

$ sudo iptables -D  INPUT -p icmp --icmp-type echo-request -j REJECT

ping 127.0.0.1


Monday, 31 December 2018

Review Lenovo ThinkSystem Server

Status : Draft 

Perlu Lenovo server yang  support SSD, dari 3 opsi NVMe Solid State Drives [1], yang dipilih adalah opsi Enterprise Mainstream NVMe Solid State Drives, karena dioptimalkan baik untuk write maupun read, kapasitas yang tersedia untuk tipe ini, ketika menulis ini adalah 400, 800, 1200, 1600 GB.

Beberapa yang menarik perhatian dari [2]

LENOVO ThinkSystem ST550 [Xeon Silver 4110, 16GB, 1TB, 8 CORE]

Dijual di Tokopedia [disini][disini]. Product guide bisa dibaca [disini].

Referensi


  1. NVMe Solid State Drives, https://www.lenovo.com/us/en/data-center/servers/server-options/system-x-options/server-storage/solid-state-storage/nvme-solid-state-drives/c/nvme-ssd
  2. ServerProven, https://static.lenovo.com/us/en/serverproven/index.shtml

Sunday, 1 April 2018

Perbandingan Hasil Kompresi Gambar beberapa Image Compressor di Ubuntu

Status : Draft


Referensi

  1. Trimage image compressor, https://trimage.org
  2. pngquant, pngquant is a command-line utility and a library for lossy compression of PNG images, https://pngquant.org
  3. jpegoptim - utility to optimize/compress JPEG files, https://github.com/tjko/jpegoptim
  4. Recursively batch process files with pngquant, https://stackoverflow.com/questions/9647920/recursively-batch-process-files-with-pngquant