Automating MySQL Backups on Ubuntu Systems
Creating Backup Directories
Begin by establishing a dedicated directory for backups:
mkdir -p /home/apps/backup/mysqllive
Securing Database Credentials
For enhanced security, store database credentials in a configuration file instead of embedding them in scripts.
Create and edit the MySQL dump configuration file:
sudo vim /etc/mysql/conf.d/mys ...
Posted on Thu, 03 Sep 2026 16:54:06 +0000 by FireDrake
Node.js Installation Guide for Major Linux Distributions
Using Package Managers to Install Node.js
For CentOS/RHEL Systems
EPEL Repository Method (For Older Versions)
# Install EPEL repository
sudo yum install epel-release -y
# Install Node.js
sudo yum install nodejs -y
# Verify installation
node -v
# Complete uninstallation
sudo yum remove nodejs npm -y
sudo yum clean all
NodeSource Repositor ...
Posted on Thu, 03 Sep 2026 16:52:24 +0000 by flhtc
Setting Up Redis, MySQL, and Nginx on Ubuntu 20.04
Installing Redis from Source
To deploy Redis, download the source code from the official Redis website. Extract the archive and prepare the build enviroment:
tar -xvf redis-x.x.x.tar.gz
cd redis-x.x.x
sudo apt update
sudo apt install build-essential pkg-config
Compile the source code using the provided makefile:
make MALLOC=libc
sudo make inst ...
Posted on Thu, 03 Sep 2026 16:49:47 +0000 by mforan
Setting Up OpenCV with Python Development Environment on Ubuntu and Building Recognition Demos
Installling Python
Begin with installing Python version 2.7 as the development environment.
sudo apt-get install python2.7
sudo apt-get install python2.7-dev
Installing OpenCV
Multiple installation methods exist, starting with the most straightforward apporach.
sudo apt-get install python-opencv
Camera Access Demo
Basic Test Example
import cv ...
Posted on Thu, 03 Sep 2026 16:20:31 +0000 by witold
Installing JDK on Ubuntu: A Comprehensive Guide
Methods for Installing JDK on Ubuntu
There are two primary approaches to installing JDK on Ubuntu:
Using the apt package manager
Manual installation from downloaded packages
The apt method is recommended as it simplifies future updates through apt-get upgrade.
Method 1: Installing via apt
This section covers both OpenJDK and Oracle JDK instal ...
Posted on Tue, 01 Sep 2026 16:46:29 +0000 by scott532
Setting Up PySpark and Building a Word Count Application on Ubuntu
Getting PySpark running on Ubuntu involves installing several dependencies and configuring your environment properly. This guide walks through the complete setup process and demonstrates how to build a word counting application.
Prerequisites Installation
Before installing PySpark, you need to set up the Java runtime environment since Spark run ...
Posted on Tue, 11 Aug 2026 16:37:35 +0000 by iamchris
Ubuntu 24.04 LTS Setup and Hardware Optimization for ThinkPad X1 Carbon Gen 6
Hardware Specification
ThinkPad X1 Carbon (6th Gen, 2018)
Intel Core i5-8350U, 16 GB RAM, 512 GB SSD
Ubuntu 24.04.4 LTS
Base Installation
Multi-boot USB creation tools such as Ventoy simplify installing Ubuntu alongside existing operating systems. Once installed, most hardware functions out of the box, though several components benefit from m ...
Posted on Mon, 03 Aug 2026 16:24:45 +0000 by MBenefactor
Configuring WiFi on ELF2 Development Board Running Ubuntu System with Intel AX200
Configuring WiFi on ELF2 Development Board Running Ubuntu System with Intel AX200
Before proceeding with WiFi configuration, you need to flash the Ubuntu system onto the development board. There are two approaches available:
Method 1: Copy kernel modules from an existing buildroot system's /usr/lib/modules directory to the corresponding locatio ...
Posted on Sun, 02 Aug 2026 16:17:56 +0000 by darkjedig
Building OpenCV 4.8 from Source on Ubuntu Systems
Downloading OpenCV 4.8 Source
Execute the following commands in a terminal to download and extract the source code:
wget -O opencv-4.8.zip https://github.com/opencv/opencv/archive/4.8.0.zip
unzip opencv-4.8.zip -d opencv-4.8
Installing Build Dependencies
Install required compliers and libraries using apt:
sudo apt update
sudo apt install -y bu ...
Posted on Fri, 31 Jul 2026 16:01:36 +0000 by Rithiur
Ubuntu Server Performance Monitoring with Prometheus and Grafana
Setting Up Server Performance Monitoring
For effective server performance monitoring, implementing specialized tools becomes essential. Two primary approaches were evaluated:
InfluxDB + Telegraf + Grafana
Prometheus + Node Exporter + Grafana
The InfluxDB documentation appeared inconsistent across versions, making Prometheus the preferred choi ...
Posted on Mon, 27 Jul 2026 16:45:31 +0000 by liquidchild