AKZN Notes

Archives for My Lazy and Forgetful Mind

Author: akozan

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

Show php error log

sudo tail -f /var/log/apache2/error.log

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

Install Server Stack to Armbian for CVCMA

This article is my notes for step by step to install and configure set top box Armbian into kiosk device. List of Bugs browser failed to launch immediately solution : add sleep 60 before launching the browser display need to restart or reattach the hdmi cable if system rebooted. solution: use xrandr to relaunch the […]

General folder for react native (expo)

When you initialize an Expo React Native app, it follows a specific folder structure to help you organize your code and assets efficiently. Here’s the usual folder structure you’ll find in an Expo React Native project: your-project/ ├── App.tsx // Entry point of the app ├── app.json // Configuration file for Expo ├── assets/ // […]

Configuring DNS in Linux with resolv.conf

In Linux, you can configure DNS settings using the resolv.conf file. Here’s a quick guide to get you started: Open a terminal. Edit the resolv.conf file using a text editor: sudo nano /etc/resolv.conf Add your preferred DNS servers: nameserver 8.8.8.8 nameserver 8.8.4.4 Save the changes and close the text editor. To prevent overwriting, create a […]

Adding a Subdomain for a Page on Your WordPress Website

https://bizzybizzycreative.com/adding-a-subdomain-for-a-page-on-your-wordpress-website/ https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/#manual