Cara Setup Postfix dengan Gmail SMTP Relay di CentOS 7

Pengenalan Postfix adalah Mail Transfer Agent (MTA) yang popular untuk Linux. Dalam artikel ini, saya akan tunjukkan cara configure Postfix untuk guna Gmail SMTP relay dengan authentication. Ini berguna untuk server yang perlu send email tapi tidak ada dedicated mail server. Kenapa Guna Gmail SMTP Relay? Prerequisites Sebelum mula, pastikan anda ada: Langkah 1: Install … Read more

Hilux Web Scraper: Kumpul Data Kereta Dari Mudah.my Guna AWS

Live dashboard: hilux.azmi.my Apa Benda Ni Aku bina web scraper yang kumpul listing Toyota Hilux dari Mudah.my setiap hari, simpan dalam AWS, dan papar dalam dashboard dengan charts dan filters. Automated — tak perlu buat manual. Tech Stack Terraform — IaC untuk semua AWS resources Lambda — serverless scraper, bayar ikut guna DynamoDB — simpan … Read more

Setup & Guna Ansible di Windows Menggunakan Cygwin Portable

Pengalaman & Penyelesaian Isu yang Aku Hadapi Pengenalan Ansible ialah automation tool yang popular untuk provisioning, configuration management, dan deployment.Masalahnya, Ansible dibina untuk Linux/Unix environment dan tidak secara rasmi disokong pada Windows.Kalau guna Windows, biasanya kita kena: Tapi dalam environment kerja aku, WSL & install global tak dibenarkan (Windows environment “restricted” habis).Jadi aku pilih jalan … Read more

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

Fixing Access Denied Errors in Confluence Database Restoration

Confluence database restoration can be tricky, especially when you encounter permission errors. I just wrapped up a challenging restoration project and wanted to share some key insights that might save you hours of troubleshooting. The biggest challenge? Database privileges. Our restore kept failing with this error: This happens because the SQL dump contains DEFINER clauses … Read more

Jangan Terpedaya Dengan Spesifikasi Tekanan Pam Air – Ini Cara Kira Tekanan Sebenar

Bila kita beli pam air di platform e-dagang online, selalunya kita akan jumpa pam yang kononnya boleh capai tekanan sampai 6 bar. Bunyi memang power, tapi betul ke? Ramai tak tahu, sebenarnya kita boleh semak sendiri tekanan sebenar yang pam tu mampu hasilkan — dan bukan ikut sembang penjual semata-mata. Apa Maksud “Head Max” Pada … Read more

Getting Started with PlatformIO and ESP8266: A Quick Setup Guide

Today I want to share my experience setting up a development environment for the ESP8266 (specifically the ESP-12E module) using PlatformIO. If you’re transitioning from Arduino IDE or just getting started with microcontroller development, PlatformIO offers a more robust and flexible environment with better dependency management. Setting Up PlatformIO The first step was creating a … Read more

Elak Kesilapan Pemasangan Solar – Panduan Praktikal

Kesilapan Umum dalam Pemasangan Solar: Pengajaran dari Kegagalan Sistem RM80K Dalam dunia tenaga boleh diperbaharui, sistem solar semakin menjadi pilihan utama bagi mereka yang ingin menjimatkan kos elektrik serta mengurangkan kebergantungan kepada grid nasional. Namun, pemasangan yang tidak betul boleh menyebabkan kerugian besar dan bahkan kegagalan sistem secara keseluruhan. Salah satu kes yang menarik perhatian … Read more

Resolving AWS Vault Login Error: InvalidClientTokenId

If you encounter the following error while using AWS Vault: Follow these steps to resolve it. Step 1: Remove the Existing Profile Clear the credentials and sessions for the problematic profile. Step 2: Add the Profile Again Re-add the profile and provide valid AWS credentials (Access Key ID and Secret Access Key). Step 3: Validate … Read more

Schematic for a 5V to 1V voltage divider

Explanation: Voltage Divider Formula The voltage divider formula is: $$V_{out} = V_{in} \times \frac{R_2}{R_1 + R_2}$$ Substituting the values: $$V_{out} = 5 \times \frac{1}{4 + 1} = 5 \times 0.2 = 1\,V$$ Therefore, the output voltage (Vout) at the junction is 1V. Voltage dividers are commonly used in electronics to scale down voltages for sensors, … Read more

DIY Air Quality Sensor: Build with ESP8266 and InfluxDB 2

DIY Air Quality Sensor: Build with ESP8266 and InfluxDB If you’re a DIY enthusiast who enjoys tinkering with smart devices, this project will guide you in building a real-time air quality monitoring system. We’ll use an ESP8266 microcontroller (version 3.0.2) along with the DHT22 and MQ135 sensors to measure temperature, humidity, and gas concentration. The … Read more

Upgrading from InfluxDB 1.8 to 2.7 using Docker Compose

Simplified approach to upgrading from InfluxDB 1.8 to 2.7 using Docker Compose: Step 1: Create Docker Compose for InfluxDB 1.8 Step 2: Create Docker Compose for InfluxDB 2.7 Upgrade This will upgrade the data automatically from InfluxDB 1.8 to 2.7. It will create the required structure for InfluxDB 2.x in the ./influxdb2 directory and migrate … Read more

SOP Tanah Campuran

Cara Penyediaan Tanah Campuran untuk Berkebun Berkebun di rumah semakin popular di kalangan masyarakat hari ini, terutamanya bagi mereka yang ingin menikmati sayur-sayuran segar dan bebas bahan kimia. Salah satu elemen penting dalam berkebun adalah penyediaan tanah campuran berkebun dapur yang sesuai. Tanah campuran berkualiti adalah kunci kepada pertumbuhan tanaman yang sihat. Dalam post ini, … Read more