LAMP Stack

Linux Server Administration

Take control! This is your central resource for Linux server administration. Whether you are logging in for the first time or performing advanced troubleshooting, these guides are designed to help you. You’ll find step-by-step instructions to perform essential tasks, from adding new users and granting sudo permissions to installing and configuring software like Apache, NGINX, or PHP. If you are solving a problem, you will learn how to check your server’s load, manage system services, or find common error logs. From automating tasks with cron to securing your server with SSH keys, these articles will empower you to manage your environment confidently.


Linux Server Administration Articles

143 results

This section provides articles and resources for Linux server administration. The topics cover server management, security, and optimization.

Articles

Add Users and Grant Root Privileges in Linux
This guide walks you through adding a new user on a Linux server, setting their password, and granting `sudo` privileges from the…
A Guide to Server CPU Performance: Cores, Threads, and Benchmarking with Linux
Is your server slow? Learn how CPU cores, threads, and clock speed affect performance. Find out how to check, benchmark, and upgrade…
Automating Server Scripts with Cron
Learn to automate tasks on your Linux server with cron. This time-based job scheduler can run scripts at fixed times, dates, or…
Change Time Zones on CentOS
Learn to set the correct time zone on CentOS 4/5/6 & 7. Use `ln -s` or `timedatectl`, restart services, & address PHP/NTP…
Change Your Linux Server Hostname
Easily change your Linux server hostname via SSH — then update it in your Liquid Web account and DNS records.
Changing your SSH port with the command line
Change default ports like SSH (port 22) to enhance server security. This reduces vulnerability to common attacks and deters scanning by malicious…
Checking Server Load in Linux
A review of four ways to check server load on Linux servers and what the numbers mean.
Checking Your Linux Kernel Version
Different Linux versions often require updates, and some programs only run on newer ones. To check your kernel version, log into your…
chkconfig Command Examples for Red Hat and CentOS
Working from a CentOS 7 server as root, these instructions are intended specifically for checking and updating chkconfig.
Common Linux Error Logs
Troubleshoot server issues. This guide lists common Linux error log locations for syslog, Apache, Nginx, MySQL, and more to help debug problems.
Configuring an NTP server on Linux (AlmaLinux)
With simple steps, you can learn how to configure a Chrony NTP server on Linux (AlmaLinux), allowing for synchronized system clocks vital…
Configuring Cloud VPN on Debian
Using a VPN to connect to your server? Liquid Web offers a cloud vpn solution for connecting to your server securely. Get…
Configuring Cloud VPN on Fedora
Using a VPN to connect to your server? Liquid Web offers a cloud vpn solution for connecting to your server securely. Get…
Configuring Cloud VPN on MacOS
Using a VPN to connect to your server? Liquid Web offers a cloud vpn solution for connecting to your server securely. Get…
Creating a Linux User
Learn how to create a Linux user outside cPanel via SSH for specific needs. *Use caution, as this bypasses cPanel's security &…
Deleting Users in Linux
If you've added multiple users to your Linux server, you might eventually need to delete users, too. You can delete users in…
Dstat
Dstat: Real-time system monitor for CPU, mem, disk, net. Extends vmstat/iostat. Customizable stats, plugins, CSV output. Install & use.
Exploring your Fully Managed Linux Server
Our Web Panel servers are designed to provide you with a simple, effective Linux hosting experience. Learning about the panel and the…
Generating a CSR in Linux CentOS 7
Follow our step-by-step guide to generate a CSR in Linux CentOS 7 and secure your web traffic with SSL certificates.
Getting Started with AlmaLinux
CentOS is transitioning to CentOS Stream, prompting the emergence of AlmaLinux, a supported alternative.
Getting Started with Cloud Linux
CloudLinux is a control manager for your Linux server that allows you to partition, allocate, and limit server resources like memory, CPU,…
Getting Started with Linux Bash
Bash is a command-line interpreter for Linux. Use it to interact with your system via text commands. Learn the basics here!
Getting Started with Your Linux Server
New to Linux? Get started with your Linux server. Learn basic commands for AlmaLinux/Ubuntu, how to run updates, and how to troubleshoot…
GNU Find
Master GNU `find` to locate files on your server. Search by name, type, owner, perms, & mod time. Essential for WordPress/cPanel site…
Granting sudo Permissions
Linux offers a robust permissions system for controlling file and server access. Users can elevate permissions using the sudo command.
How to Add a User and Grant Root Privileges on CentOS 6.5
Working from a CentOS 6.5 server as root, these instructions are intended specifically for adding a user on this operating system.
How to Change SSH Passwords From the CLI
Read this article to learn how to change SSH passwords for your server from the CLI, provided you have SSH access.
How to Install and Use IPython
In this tutorial, we will cover how to install the robust Python shell, IPython, and walk through how to make use of…
How to install Azure CLI on Linux (AlmaLinux)
Install Azure CLI on Linux (AlmaLinux) to manage and interact with Microsoft Azure services via a command line interface. You can integrate…
How to install Elasticsearch on Linux (AlmaLinux)
Install Elasticsearch on AlmaLinux to enable powerful real-time search, data indexing, and analytics with easy setup and full management tools.
How to install GitLab with GUI on Linux (AlmaLinux)
Installing the GitLab GUI on Linux — AlmaLinux specifically — lets you efficiently manage code repositories, collaborate with engineers, and organize development…
How to install Google Cloud SDK on Linux (AlmaLinux)
Install Google Cloud SDK on Linux — specifically AlmaLinux. By smoothly integrating these platforms, you can employ the power of Google Cloud…
How to Install INXI on Ubuntu 18.04
In this tutorial, we will cover the installation of INXI on an Ubuntu 18.04 server. It will also include some basic command-line…
How to Install Java on CentOS 7 (Java 8)
Learn how to install Java on CentOS 7 (Java 8). These instructions include updating the server, verifying the Java install, setting Java's…
How to install Kibana on Linux (AlmaLinux)
An install of Kibana on AlmaLinux brings to fruition your data visualization needs — along with Elasticsearch integration. Then, master the Kibana…
How to install Kubernetes on Linux (AlmaLinux)
You can install Kubernetes on Linux (AlmaLinux) for simple but effective container orchestration. Together with Kubernetes cluster setup, the details are explained…
How to Install KVM on AlmaLinux — Step-by-Step Guide
Install KVM on AlmaLinux 8. A step-by-step tutorial on libvirt setup, network bridging, and using virt-install to create your first virtual machine.
How to Install KVM on Ubuntu — Step-by-Step Guide
Install KVM on Ubuntu 22.04. A step-by-step tutorial on KVM installation, network bridging, and using virt-install to create your first virtual machine.
How to install LibreOffice on Linux (AlmaLinux)
An install of LibreOffice on Linux (AlmaLinux) significantly enhances your document, presentation, and spreadsheet management features for day-to-day tasks at home or…
How to Install mlocate on CentOS 7
One of the best tools for quickly finding files by filename is the locate command. The locate command reads one or more…
How to Install NVM for Node.js on Ubuntu 14.04 LTS
Node Version Manager allows admins to easily manage node.js versions. In our article, we will be instructing on how to install NVM…
How to install OpenSSH to manage Linux servers
Install OpenSSH on Linux and streamline SSH connections while increasing system security. Manage related components, configuration files, and SSH keys with our…
How to Install Pip on Ubuntu 14.04 LTS
In this quick tutorial, we teach you what is Pip and provide an easy two-step process to install this helpful Python manager.
How to install PyTorch on Linux (AlmaLinux)
This detailed walkthrough on how to install PyTorch on Linux ensures that users, regardless of expertise, can navigate the setup effortlessly.
How to install Redis on Linux (AlmaLinux)
Review how to install Redis on Linux (AlmaLinux) via two popular methods, secure Redis, and configure the data storage solution for the…
How to Install TensorFlow on CentOS
In this tutorial, we are going to take a look at how to get started with TensorFlow on CentOS, covering multiple methods…
How to install TypeScript on Linux (AlmaLinux)
Along with its advantages and disadvantages, learn how to install TypeScript on AlmaLinux. Create a basic TypeScript file and compile it into…
How to install VSCode on Linux, Mac, and Windows
The benefits of installing VSCode are many. Continue reading to learn all this code editor has to offer. It supports a wide…
How to Remove (Delete) a User on CentOS 6
Working from CentOS 6 server as root, these instructions are intended specifically for removing a user on the operating system.
How to Update Bash on CentOS 6 and CentOS 7
Working from a CentOS 6 server and a CentOS 7 server as root, these instructions are intended specifically for updating Bash on…
How to use Cloudlinux CageFS
Learn to manage CageFS with cagefsctl on your CloudLinux cPanel server. This guide covers enabling users, updating mounts, and troubleshooting.
How to Use Grep
Learn grep to quickly search files on your server. Find text in logs, configs, or code easily, saving time managing your hosting…
How to use NextCloud — setup and features
Nextcloud is a hub platform for file management and communication via Nextcloud Office, Calendar, Talk, and more apps. Let's examine the Nextcloud…
Identifying which processes are using swap memory
Learn to pinpoint processes consuming swap memory. This guide explains how to use top and a custom script to identify culprits for…
Installing and configuring HAProxy on Linux (AlmaLinux)
Let's review installing and configuring HAProxy on Linux (AlmaLinux). High Availability (HA) Proxy divides incoming web traffic among servers to optimize speed…
Installing and Verifying OpenJDK 11
Streamline your Java development workflow by installing OpenJDK. Follow our step-by-step guide to get up and running in no time starting today.
Installing memcached on CentOS 7 and Fedora
Install Memcached on CentOS or Fedora to boost dynamic web app speed by caching database content and reducing DB load. Root access…
Installing Memcached on Ubuntu
Install Memcached on Ubuntu 12.04+ to speed up dynamic sites by caching database content. Root access is required for setup.
Installing Memcached PHP Extension for CentOS and Fedora
Installing the PHP Extension for Memcached is a simple process, this tutorial will show installation for CentOS and Fedora operating systems. The…
Installing mlocate
The locate command is one of the best tools for finding files quickly by filename. This command reads one or more databases…
Installing Python 3
Python 3 on Linux: Install via apt/dnf. *Crucial: Don't break system Python!* Use pip with virtual environments for safe package mgmt.
Install Memcached PHP Extension on Ubuntu
Installing the PHP Extension for Memcached is a simple process, this tutorial will show installation for Ubuntu operating systems. The installation is…
Install Oracle Java 8 on Ubuntu 18.04
Installing Oracle's Java 8 on an Ubuntu 18.04 server has never been easy. Our tutorial teaches you how to install this program…
Install the OpenStack client on Linux (AlmaLinux)
Installing and configuring the OpenStack client on AlmaLinux along with Python and PIP is crucial for reliable and efficient cloud infrastructure management.
Introduction to Vim
Discover Vim, a powerful text editor. Learn about its modes (Normal, Insert, Visual, Command), installation, and tips for efficient editing.
Keeping your server time accurate with Chrony on AlmaLinux 8
Learn how to install, configure, and sync server time with Chrony using Liquid Web’s time servers on AlmaLinux 8.
Linux Backups and Restorations
Master Linux backups via the command line. Learn to secure data using tools like rsync, SCP, tar compression, and file permissions.
LiteSpeed
LiteSpeed Web Server guide: Learn benefits, features, licensing, installation (cPanel/InterWorx), PHP config & management for faster sites.
Logging into Your Server via Secure Shell (SSH)
The command line, dating back to the 1960s, lets you control your computer via text-based commands. Securely access servers via SSH for…
Managing Processes with the kill command
The kill command helps manage server processes by sending signals. It's crucial for stopping unresponsive programs, but use caution to avoid disrupting…
Managing snap packages on Ubuntu
Learn to manage Snap packages on Ubuntu. Discover how to find, install, update, list, and remove these self-contained applications via `snap`.
Managing software with Yum and DNF
Learn to manage software on Red Hat systems with Yum & DNF. Covers repos, config, & essential commands like install, update, remove,…
Managing Virtual Machines with Virsh
Learn to manage Linux VMs with virsh. A guide to essential commands to start, stop, clone, and monitor virtual machines from the…
NTP Server Configuration on Linux — CentOS and Ubuntu
Achieve accurate time synchronization on CentOS and Ubuntu servers with our detailed guide on NTP server installation and configuration for Linux.
Package management on Ubuntu
Learn Ubuntu/Debian package management. This guide covers `dpkg`, `apt`, & `aptitude` for installing, updating, & removing software. Use with care!
Performing a Webmin setup on Linux (AlmaLinux)
Webmin setup on AlmaLinux can be done easily. This free, open-source system administration tool enables users to manage Linux systems through a…
Puppeteer tutorial — installing Puppeteer on AlmaLinux
Use this Puppeteer tutorial to install Puppeteer on AlmaLinux for automating web development, quality assurance, and web scraping tasks by leveraging the…
Restarting Services from the Command Line in Linux
To address issues or apply configuration changes, it's often necessary to restart specific server services, like Apache, Exim, FTP, or DNS. This…
RPM
RPM is a type of software package for Redhat-based Linux distributions with a command-line utility to manage them.
Scheduling PHP scripts with cron jobs
Learn to automate PHP scripts with cron jobs. Use direct execution or HTTP clients (wget/lynx) & manage output. For cPanel, Plesk &…
Setting Up Alternate SSH Users
Enhance server security by disabling root SSH access and granting users 'superuser (su)' access for an additional layer of authentication.
Setting Up and Using SSH Keys
Boost SSH security with SSH Keys, a pair of keys that, when used together, enable secure connections, allowing only authorized users to…
Setup phpMyAdmin on Linux (Ubuntu)
This tutorial shows you how to install and configure phpMyAdmin on Ubuntu to easily manage MariaDB or MySQL databases from a web…
Troubleshooting Guide: PHP-FPM and max_children
Fix slow sites by troubleshooting PHP-FPM max_children on cPanel, Plesk, & InterWorx. Learn to find logs, adjust settings safely, & check server…
Troubleshooting — Memory Limit Error
The PHP memory_limit sets a cap on memory use per script, preventing server crashes from scripts consuming excessive RAM.
Understanding and Using systemd
Modern Linux service management with `systemd`. Learn `systemctl` to start, stop, enable & check services. Intro to `journalctl` logs.
Understanding Ioncube loader
Learn what Ioncube Loader is, how applications like WHMCS use it, and why matching the correct Loader version with your server's PHP…
Understanding lsof
lsof lists open files, network connections, and processes. Essential for troubleshooting ports, finding resource hogs, and monitoring activity.
Updating Your Linux Kernel
The kernel is the core of the Linux OS. You may need to update it for software compatibility or to patch security…
Upgrading or Installing PHP on Ubuntu 22.04
Upgrade PHP on Ubuntu 22.04 for better security & performance. This guide covers installation, Apache configuration, and managing PHP modules.
Using journald and journalctl for log management on CentOS 7
Use `journalctl` for `journald` logs on CentOS 7. Guide covers viewing, filtering, persistent storage, disk cleanup & rsyslog fixes.
Using SFTP to login as Root
This tutorial guides users on logging into their Cloud VPS as root and downloading backups using an FTP client. FTP clients facilitate…
Using the GNU Screen Terminal Multiplexer
GNU Screen: A terminal multiplexer for multiple sessions. Detach, reattach, share & manage windows with commands & `ctrl+a` key bindings.
Using the Netstat command
Learn to use the netstat command to view network connections, troubleshoot services, and check listening ports on your server.
View Cron Jobs
This tutorial will take you through the commands to list, or display your configured Cron Jobs, both for root and for your…
Web server configuration — NGINX install on AlmaLinux
This NGINX install guide takes the reader through the web server installation process on AlmaLinux. Then, the optimal NGINX web server configuration…
What is a Cron?
Cron is a time-based job scheduling tool on Linux systems that can run periodically at fixed times, dates, and intervals. It is…
What is a File System Check (fsck)?
Support may inform you of the need to fsck your server to perform a file system consistency check.
What Is an inode?
In Linux, an inode describes a filesystem object like a file or directory, storing attributes and data location. It's akin to a…
What is CloudLinux?
If you have multiple cPanel accounts and domains on your server, you may want to look into CloudLinux as a way to…
What is cURL?
cURL is a useful command-line tool that can load a webpage's content.
What Is Jailed Shell and How Can You Use It?
Jailed Shell restricts users to their directories for secure CLI access. Enable via cPanel, Plesk, InterWorx, or Linux command line.
What is Kali Linux?
What is Kali Linux? It is a Debian distribution with a plethora of capabilities for cybersecurity checks such as penetration testing, ethical…
What Is Secure Shell (SSH)?
Secure Shell (SSH) enables secure computer connections through public-key cryptography, facilitating safe file transfers and remote computer access.
What is Server Load?
Server Load refers to the average amount of processes waiting to be processed by your server's CPU. The higher the average, the…
What Is the LAMP Stack?
New to web hosting? 'LAMP stack' combines Linux, Apache, MySQL, and PHP for hosting. Learn about each component here.
Zstd
Discover Zstandard (zstd): a fast gzip replacement for better compression & speed. Learn to install on CentOS (EPEL) & use equivalent commands.