AKZN Notes

Archives for My Lazy and Forgetful Mind

Category: IT Stuff

Setting Fiberhome hg6145d2 Bridge

Setting Up FiberHome HG6145D2 as a Bridge with IndiHome Firmware The FiberHome HG6145D2 modem with IndiHome firmware does not have a manual bridge mode setting. However, it can still be used as a bridge by default. When tested, DHCP did not work through the Ethernet port, but WiFi functioned normally. Default Credentials Location: On the […]

HTTP Basic Authentication to secure phpMyAdmin

HTTP Authentication is a method of securing web resources by requiring users to provide valid credentials before accessing them. It operates at the HTTP protocol level and can be implemented using several authentication schemes. One common method for HTTP Authentication is Basic Authentication, which prompts users to enter their username and password in a dialog […]

Configure Two ISP on Mikrotik using VLAN with Openwrt

Why ? I want to load balance on Openwrt Openclash OPENWRT on STB has only one RJ45 port Mikrotik has multiple port, so we can use vlan to route two ISP into Openwrt Mikrotik Setting Based on my current configuration, I use Ether1 as WAN2 and Ether2 as WAN1 Make sure we already setting ip> […]

Importing MySQL Gzipped Dump File via Terminal

Importing MySQL Gzipped Dump File via Terminal When dealing with MySQL databases, it’s common to export and import data for various reasons, such as backups or transferring data between environments. In this concise guide, we’ll focus on importing a gzipped MySQL dump file using the terminal on a system running Ubuntu. Step 1: Navigate to […]

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 […]