November 7, 2026 - 02:26

Server Management

Server Management Install PostgreSQL on Ubuntu: Roles, Connections and Backups

This setup takes PostgreSQL from an Ubuntu package installation to a database that an application can connect to. It also includes a restore test, so ...

Server Management Install MySQL on Ubuntu: Users, Backups and Connection Checks

A working MySQL installation needs more than a running service. Your application needs its own account, a database to use and a backup you can restore...

Server Management Install Tomcat 10.1 on Ubuntu 24.04 LTS with APT

Using distribution packages for Tomcat 10.1 on Ubuntu 24.04 LTS keeps service, account and update management together. This guide targets a new, separ...

Server Management Install Nginx and Apache on Ubuntu Without Port Conflicts

Nginx and Apache can each serve a website on their own. They can also work together, but they cannot both own the same listening address and port. Ins...

Server Management Build a Bash Menu for Creating and Deleting Test Files

A menu script is a useful way to practice input, branching and loops in Bash. It is also an easy place to make a destructive mistake if a filename is ...

Databases How to Verify a MySQL Backup After Restoring It

A successful import message does not establish that the backup contains everything the application needs. The wrong database may have been selected, s...

Databases MySQL Duplicate Entry 1062: Conflicts During SQL Import

During an SQL import, ERROR 1062: Duplicate entry means a PRIMARY or UNIQUE key would be violated. It does not necessarily mean the same row appears t...

Databases PHP and MySQL Character Encoding Problems: Diagnosing utf8mb4

If a name such as “Çağrı” appears as garbled symbols, do not immediately run ALTER TABLE across the database. The value may have been stored incorrect...

Databases Fixing Unknown Collation utf8mb4_0900_ai_ci During Import

An SQL dump that stops with Unknown collation: 'utf8mb4_0900_ai_ci' is not necessarily damaged. The destination may not recognize the comparison rule ...

Databases Importing Large SQL Files with phpMyAdmin: Limits and Timeouts

You select an SQL backup, start the import, and receive a blank page or timeout several minutes later. Retrying immediately is tempting. However, the ...