EC2 Boot Issue After Terraform Deployment: Fix NVMe Initramfs Kernel Panic on Rocky Linux

If you’re facing an EC2 boot issue after Terraform deployment, you’re not alone. In my recent experience using Rocky Linux 9 on AWS EC2, everything worked perfectly after provisioning — until I rebooted. The instance failed to come back online due to a missing NVMe driver in the initramfs, resulting in a kernel panic. Here’s … Read more

SSL Certificate Files: A Simple Guide to Website Security

When I recently renewed my SSL certificate files from 123-reg, I was confused by all the different files they sent me. If you’ve ever wondered what those various SSL certificate files are for, here’s what I learned through the process. The Certificate Files Breakdown When I downloaded my new SSL certs, I got these files: On my server, I … Read more

Generate Bcrypt Password for Zabbix’s User

Reset password the Zabbix’s users or for the admin itself if you lost their password. Would be easy this command can be reach from alias, place them on the shell you’re currently use. It requires python3 , couldnt know if this support python2, feel free to test. Generate password, my example password as such. To … Read more

messages & cron log file tak update

Cron Log Troubleshoot

Masa update crontab dengan job baru perasan yang cron log tak update. /var/log/message juga tak update. Cari juga penyelesaian di internet dan juga dari portal Red Hat tapi takde yang berhasil. Punca message & cron log tak update sebab service rsyslogd.service tak running. Bila restart service itu dia akan jadi failed balik. Terfikir untuk check … Read more

HikVision dan NFS Server

HikVision NFS Server

Aku baru sahaja beli HikVision Wifi CCTV bulan awal bulan ini untuk monitor kucing dan faktor keselamatan. Model yang aku beli adalah HikVision CCTV DS-2CV1021G0-IDW1 , jadi kalau nak tengok dan berminat nak beli boleh klik ke URL di atas. Disebabkan Wifi CCTV ini akan diletak dekat luar aku memilih untuk ada ciri-ciri IP66 yang … Read more

Speedtest-cli Stop Working –

Speedtest CLI

Tiba-tiba sahaja graf speedtest internet berhenti pada pukul 6AM dan aku terus buat siasatan dan jumpa issue #769 telah pun dibuka di repository speedtest-cli kepunyaan sivel. Bila aku execute script tersebut secara manual, aku dapat error macam ini;ValueError: invalid literal for int() with base 10: Jadi seorang pengguna telah membaiki code tersebut dan di bawah … Read more

Tarik Data Log Dari Zabbix Agent

Zabbix Agent Log

Untuk sebuah Zabbix Server dapatkan data log dari server ( Linux ), Zabbix Agent yang running di dalam server tersebut perlu allow Zabbix Server untuk remote execute command yang dia perlu supaya dia boleh baca kandungan log dalam file. Jadi dalam kes ini, setelah kita pastikan firewall dan setup item dari Zabbix Server selesai, kita … Read more

Extend EBS Volume AWS

Extend EBS Volume

Bila filesystem dah mencecah lebih 90%, kita kena usahakan untuk menambahkan space di filesystem tersebut, Kalau filesystem tersebut adalah root fileystem, concern perlu lebih sebab sebarang database file boleh corrupt sekiranya space penuh dan aplikasi akan berhenti beroperasi. Untuk task yang aku dapat yang mana aku dah perasan yang filesystem usage untuk salah satu server … Read more

Error – throw err;

Nodejs Error

Bila nak start process ionic serve, aku dapat error macam di bawah. Jadi isu ini jadi bila aku copy project ini dari directory dan segala node_modules cuma kenal libraries dan module dalam path directory tersebut jadi apabila dia dipindahkan ke directory path dah jadi lain. Jadi apa yang aku cuba aku buang semua node_modules dan … Read more

Generate Thread Dump Dengan jstack

Java Thread Dump jstack

Ada masa-masa kalau terdapat isu dengan java kita perlu buat sedikit analysis dengan thread dump tersebut jadi tools yang kebiasaan aku gunakan untuk mengumpul thread dump tersebut adalah dengan menggunakan jstack. Untuk menggunakan jstack ini perlu tahu di mana lokasi jstack tersebut sebab kebiasaan shell yang kita gunakan tidak set path ke java yang mempunyai … Read more

gzip Compressing Dengan HaProxy

HAProxy gzip

Malam tadi buat performance test menggunakan website GTmetrix, ada beberapa area yang kena adjust sikit supaya performance website jadi lebih baik. Tapi malam tadi hanya sempat untuk tambah gzip compression di bahagian reverse proxy dan hasil test untuk kali kedua agak positif. Sebelum Selepas Untuk buat adjustment dalam HaProxy cuma perlu tambah dua parameter iaitu; … Read more

Masalah Dengan no kex alg

SSH kex alg Fix

Beberapa hari lepas aku reinstall package OpenSSH Server ( openssh-server ) atas server ( CentOS 7 )aku atas sebab tertentu yang mana aku dapati yang process sshd tak boleh nak bind dengan port 22, walhal process sshd dah pun bind dengan port 22 sebenarnya. Jadi aku reinstall package openssh-server dan dah fix issue tersebut. Tapi … Read more

HP Software Agent Tak Boleh Communicate Dengan Controller Module

Software agent ini adalah satu agent yang mana ia boleh memeriksa hardware status physical server iaitu host-nya sendiri. Biasa-nya sofware agent dibina oleh manufacturer hardware itu sendiri seperti contoh HP Hardware lebih spesifik model Proliant dibina oleh Hewlett Packard. Case di bawah ini adalah satu kes yang aku pernah fix semasa bekerja di BAE Systems. … Read more