Understanding systemctl: Manage Linux Services Like a Pro

🚀 Introduction If you’re managing a Linux server, you’ll quickly come across the systemctl command. It allows you to control services (programs running in the background like Nginx, SSH, MySQL, etc.) and manage their automatic startup. For beginners, this command might seem intimidating at first. Don’t worry — we’ll go over everything step by step, from the basics to more advanced usage. 🔧 What is a service? A service in Linux is a program that runs in the background (called a daemon). Examples of services: ...

July 12, 2025 · 2 min

Deploy Your First Website with Nginx on Linux

🌐 Introduction: What is a Web Server and Why Use Nginx? When you type an address in your browser (like example.com), your browser sends an HTTP request to a server. The web server is the program that receives this request and sends back a response—usually an HTML page. Nginx is a fast and lightweight web server, capable of handling a large number of concurrent connections. It is often used for: ...

July 1, 2025 · 3 min

Monitoring Your Linux Server with htop

🔍 Why use htop? When your server slows down or you want to monitor the system activity in real-time, htop is a simple, effective, and visual tool. It’s a modern alternative to the top command. With htop, you can: View CPU, memory, and swap usage Identify resource-intensive processes Sort, filter, and kill processes easily Use a colorful, interactive, and clear interface 🛠️ Installing htop ➤ On Debian / Ubuntu: sudo apt update sudo apt install htop ➤ On CentOS / RHEL / Fedora: sudo dnf install htop # or 'yum install htop' on CentOS 7 👁️‍🗨️ Understanding the htop interface Simply run: ...

July 1, 2025 · 2 min

Create an SSH Key and Secure Access to Your Server

Why use an SSH key? When connecting to a Linux server, we often use SSH (Secure Shell). By default, SSH allows login with a password — but this is not secure. The best practice is to use an SSH key, a kind of digital password that is much harder to guess or break. 1. Generate an SSH key pair On your local computer, open a terminal and run: ssh-keygen -t rsa -b 4096 -C "your.email@example.com" Explanation: ...

June 30, 2025 · 2 min