AKZN Notes

Archives for My Lazy and Forgetful Mind

Category: IT Stuff

How to Set Timezone Permanently on Ubuntu to UTC+7 (Indochina Time, ICT)

Introduction: Setting the correct timezone on your Ubuntu system is crucial for accurate timekeeping and proper synchronization. In this article, we will guide you through the process of permanently setting the timezone to UTC+7 (Indochina Time, ICT) using the timedatectl command. Step 1: Open a Terminal Open a terminal on your Ubuntu system. You can […]

Install OpenWRT on Bolt BL-100/BL-201 Using Script

This tutorial guides you through the installation of OpenWRT using a bash script, executed via a web browser interface of the BL-100/BL-201 router. This installation method is beginner-friendly as it can be done solely through the router’s web interface without the need for command line access. Installation Steps 💡 IMPORTANT: Ensure the router is connected […]

Run two PHP version on same server

Below is a simple Markdown tutorial for configuring Apache to run two PHP versions (PHP 7.4 and PHP 8.0) concurrently using PHP-FPM. This assumes you’re using a Linux system with Apache. Running Multiple PHP Versions with Apache and PHP-FPM before starting, check if we already has two php version sudo update-alternatives –display php Prerequisites Linux […]

Deploy NodeJs Application to VPS

Deploying a Node.js application to a Virtual Private Server (VPS) is a crucial step in bringing your web applications to life. In this guide, we’ll walk you through the process of setting up your VPS, transferring your Node.js code, and configuring the server to host your application efficiently. Deploy to VPS Set Up Your VPS: […]

Change OpenWRT Logo / Title Text on Luci Header Bolt BL 201

Some of Custom Openwrt Firmware has modified Openwrt Logo on luci header. And its getting value from OpenWRT Hostname such as OpenWRT shipped on custom BOLT BL201. If you want to modify its name here steps. To change the hostname in OpenWRT, you can follow these steps: SSH into your OpenWRT router: Use an SSH […]

How to deploy golang API backend

Step-by-Step Guide: Deploying a Golang API Backend on a Linux Server Prerequisites: You have a Golang API project ready. You have access to a Linux server. Apache is installed and properly configured on the server. Deployment Steps: 1. Check the .env File: Ensure your Golang project has a properly configured .env file containing all the […]

How to Set Permanent MAC on Bolt BL 201

If you need to set a permanent MAC address for your Botl BL 201, you can follow these straightforward steps: Configure Your PC’s Ethernet Settings: Set your PC’s Ethernet interface to use an IP address in the range of 192.168.1.2 or higher. Avoid using 192.168.1.1 to prevent conflicts. Access the BreedEnter Utility: BreedEnter Download : […]

Configuring VLAN Routing: Passing Ethernet VLAN to Main Wi-Fi on OpenWRT

you can pass internet connection from an Ethernet VLAN to the main Wi-Fi connection on OpenWRT. To achieve this, you’ll need to configure VLANs and firewall rules correctly. Here’s a general outline of the steps involved: Configure VLAN on the Switch: Log in to your OpenWRT router’s web interface or connect via SSH. Navigate to […]

Deploy from GitHub to cPanel Using Webhook and Deployment Hook (No SSH Key)

Step 1: Set Up Git Version Control in cPanel: Log in to your cPanel account. Navigate to the "Git Version Control" section (or similar) and create a new repository or choose an existing one. Note down the repository URL provided by cPanel. This URL is used to push changes. Step 2: Configure GitHub Webhook: In […]

Effective Backup Strategies for Websites and Apps

Introduction Ensuring data security and business continuity requires a well-structured backup strategy. This article provides concise guidance on creating and maintaining backups for websites and applications. Backup Frequency Dynamic Sites: Daily or hourly backups for frequently updated websites. Static Sites: Weekly or bi-weekly backups for less dynamic sites. Database-Driven Sites: Daily or hourly backups for […]