Fading Coder

One Final Commit for the Last Sprint

Setting Up a Cross-Compiled Qt Development Environment on Linux for ARM64

Prepare Toolchains and Sources Obtain a AArch64 cross-compilation toolchain from Linaro: https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/aarch64-linux-gnu/ Select gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz. Fetch the full Qt source archive: http://download.qt.io/a...

Implementing LVS Cluster with NAT Mode Using LVS, Apache, and NFS

Implementing LVS Cluster with NAT Mode Using LVS, Apache, and NFS
Introduction LVS (Linux Virtual Server) is a high-performance, highly available server clustering system that achieves load balancing for network services through IP load-balancing technology. NAT mode is one of the most commonly used working modes in LVS. In NAT mode, an LVS cluster consists of th...

Shell Command Patterns for System Administration

Automated Service Startup with Password Authentication The following expect script handles services requiring sudo access: #!/usr/bin/expect set timeout 5 spawn mysql.server start echo "MySQL service started successfully" spawn sh /opt/app/tomcat/bin/shutdown.sh spawn sh /opt/app/tomcat/bi...

Configuring External SSH Access to WSL on Windows

Installing OpenSSH in WSL Begin by reinstalling OpenSSH server in your WSL instance: sudo apt-get remove openssh-server sudo apt-get install openssh-server Modify the SSH server configuration: sudo vi /etc/ssh/sshd_config Update these crtiical parameters: Port 22 PermitRootLogin Yes PasswordAuthenti...

Troubleshooting DNS Resolution Issues on Linux Servers

When encountering ping: www.example.com: Name or service not known errors, follow these diagnostic steps: Verify Network Interface Status Check active interfaces and their configurations: ip addr show Example output showing a properly configured interface: 2: eth0: <BROADCAST,MULTICAST,UP> mtu...

Deploying ClamAV for Malware Detection on Linux Systems

Clam AntiVirus is an open-source (GPL licensed) antivirus solution designed for Unix-like systems, particularly effective for email scanning at mail gateways. The toolkit encompasses various utilities including a scalable daemon, command-line scanner, and tools for automated database updates. Its co...

Configuring Package Repositories for CentOS 7 Post-EOL

Standard package mirrors stop syncing updates once CentOS 7 reaches end-of-life. Redirect the package manager to the official CentOS Vault to manitain access to archived RPMs. Backup the existing repository configuration and generate a new one pointing to the archived packages: sudo cp /etc/yum.repo...

How to Set Up and Manage Cron Jobs on Linux

To create a cron job that runs under your current user account, execute the following command: crontab -e To schedule a cron job for another system user, use the sudo command with the -u flag followed by the target username: sudo crontab -u <username> -e This will launch a text editor (Nano is...

Resolving 'bash: nmap: command not found' Error

The error bash: nmap: command not found indicates the nmap (Network Mapper) utility is either not installed on your system or its executable is not accessible through your shell's PATH variable. Install Nmap Using Your Package Manager If nmap is not installed, use your system's package manager to in...

Installing and Configuring Ubuntu 20.04 Live Server

System Installation Process Upon booting the installation media, a logo splash screen appears briefly. Pressing F5 allows language selection for accessibility, while ESC accesses the main boot menu for advanced options (F1-F6). Standard installations can proceed without intervention. Language and ke...