Go Web Application featured image

Deploying a Go Web Application using Nginx on Ubuntu 22.04

Go is an open-source general-purpose programming language. It was inspired by the productivity of Python while offering the ability of C. It was originally developed by Google to tackle issues they were facing with their codebase (code complexity and long compilation time). Like any other modern-day programming language, Go is suitable for all sorts of purposes. For example, it could …

Root Password reset featured image

How to Reset MariaDB or MySQL Root Password

MySQL is one of the most popular database systems out there. It’s an open-source relational database management system that follows a client-server model. MySQL is at the core of many of the online services we enjoy on a regular basis. MariaDB is a community-developed fork of MySQL that enjoys commercial support. In the MySQL ecosystem, root is the default user …

service crash part 2 featured image

How to Configure a Linux Service to Auto-Start After a Reboot or System Crash: Part 2 (Theoretical Explanations)

In this second installment of the two-part tutorial on configuring Linux services to start automatically after a reboot or system crash, we will discuss the init system in detail. You can refer to Part 1 of the series: How to Configure a Linux Service to Auto-Start After a Reboot or System Crash: Practical Examples here. The current tutorial will be …

System Crash featured image

How to Configure a Linux Service to Auto-Start After a Reboot or System Crash: Part 1 (Practical Examples)

Introduction In computing, things don’t always go as planned. Oftentimes unexpected system crashes prompt system admins to initiate reboots and restart of individual services. Figuring out and restarting every service your application needs to run after a system crash or reboot can be tedious. In this first installment of the two-part tutorial, we will show you how to configure services …

Journalctl featured image

View and Manipulate Systemd Logs with Journalctl

System and process logging are just two of the most pivotal advantages of systemd. When logs are dispersed throughout the system, span multiple applications, and are handled by different processes and daemons, they can be challenging to interpret. Systemd provides a centralized solution for managing all of the kernel and userland process logs in a compilation medium known as a …

Manage systemd services featured image

Manage Systemd Services and Units with Systemctl

Introduction Sуѕtеmd is an init ѕуѕtеm аnd system mаnаgеr thаt has gained a lot of popularity recently. More than that, it is bесоming thе new ѕtаndаrd for Linux mасhinеѕ. Although thеrе are legitimate dоubtѕ аѕ tо whеthеr systemd iѕ аn imрrоvеmеnt оvеr traditional SуѕV initialization systems, most diѕtributiоnѕ have аlrеаdу switched tо ѕуѕtеmd, оr plan tо do so. In ѕhоrt, …

How to Cgroups

HowTo: CGroups

Well, as you know, GNU & Linux are awesome. Why? Because we have Control Groups (CGroups)! In this post you’ll learn how to: Protect critical system processes for both memory and CPU. A walkthrough video implementing cgroups on a live running server Set up an example implementation of CGroups or SystemD slices. Keeping Everything under Control You can use CGroups …