AKZN Notes

Archives for My Lazy and Forgetful Mind

Category: Uncategorized

Setting Bridge Network With WDS on BL-201

Server (AP – Access Point) Wireless Mode: Access Point (AP) Enable WDS: Yes SSID: Set your preferred SSID Encryption: WPA2-PSK (recommended) Key: Set your Wi-Fi password Assign to network: LAN Network → Interfaces br-lan: Interface for LAN Static IP: e.g., 192.168.1.1/24 Firewall zone: LAN Firewall Ensure LAN zone allows input, output, and forwarding Masquerading and […]

Tutorial Installasi dan Koneksi Printer POS58 serta Drawer

Cara Install POS58 Install Driver POS58 Unduh driver dari Google Drive. Instal driver sesuai petunjuk instalasi bawaan file. Koneksikan Printer Thermal ke PC (Bluetooth – Windows 10) Nyalakan Bluetooth pada printer dan PC. Pasangkan perangkat dengan memilih RPP02N. Pilih opsi Bluetooth (bukan "Wireless Display"). Gunakan password pairing: 0000. Cek Port Koneksi di Device Manager Buka […]

Import Database into XAMPP MYSQL via Windows Shell / Command Prompt

Import Database into XAMPP MySQL via Windows Shell / Command Prompt When working with MySQL in XAMPP, importing a database via the command prompt is a quick and efficient option. This tutorial explains how to use the Windows Shell to import a database into XAMPP MySQL. Prerequisites XAMPP Installed: Ensure XAMPP is installed on your […]

VNC Armbian Server Setup

https://forum.armbian.com/topic/10330-remote-desktop-with-x11vnc/ With this you can control your Linux desktop from any other PC/SBC. I use lightdm as display manager. If you use another display manager, change the line After=lightdm.service with your display manager. To Install sudo apt install x11vnc To create a password file x11vnc -storepasswd The service script : /lib/systemd/system/x11vnc.service [Unit] Description="x11vnc" Requires=display-manager.service After=lightdm.service […]

Migrate vps to a new vps

Tutorial: Clone a Disk Over SSH with Compression This guide explains how to clone a disk (/dev/sda) from a source machine to a destination machine over SSH using dd and gzip for compression. Prerequisites Source Machine: Ensure dd, gzip, and ssh are installed. Destination Machine: Ensure gzip and ssh are installed. Network Setup: Both machines […]

SQL Injection Cheat Sheet

good reading to test our apps https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet/

Securing Your Website with Cloudflare SSL

Cloudflare offers powerful features to enhance the security and performance of your website. One crucial aspect is securing the communication between your visitors and Cloudflare, as well as between Cloudflare and your origin server. In this article, we’ll explore the SSL options provided by Cloudflare and how to choose the right configuration for your needs. […]

The Most Secure Way to Encrypt and Decrypt Your Data on PHP

The Most Secure Way to Encrypt and Decrypt Your Data Data security is a critical aspect of modern applications, and choosing a robust encryption method is paramount to protect sensitive information. In this guide, we’ll explore a secure approach to encrypt and decrypt data using PHP and OpenSSL. Generate Two Random Keys Before we delve […]

Change or Set autologin User on Armbian

This worked for me: added the following two lines to /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf autologin-user=<YOUR USER> autologin-user-timeout=0 the complete file: [Seat:*] autologin-user=pi autologin-user-timeout=0 user-session=xfce

Show php error log

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