Docker has become a crucial tool for developers, enabling them to package applications into containers, which are standalone executable packages containing everything needed to run a piece of software, including the code, runtime, libraries, environment variables, and config files. This article will walk you through the process of installing Docker on CentOS 9 Stream, breaking down each step to ensure a smooth and successful installation.
Redhat / CentOS / AlmaLinux
CentOS Package Management: Top 20 Command Examples for System Administrators
Managing packages is a crucial aspect of system administration and development in Linux environments, such as CentOS. This guide is designed to introduce you to the top 20 most common examples of package manager usage on CentOS. Whether you are a new system administrator or a seasoned developer, understanding these examples will help you effectively manage your CentOS system’s packages, ensuring it runs smoothly and securely.
Redhat Disable Firewall – start, stop, enable, disable
firewalld is the default firewall on Red Hat Enterprise Linux, and it’s enabled by default, but it’s possible to disable the firewall on Redhat, and you’ll also see how to check firewall status in Linux. Normally, there should not be a need to disable the firewall, but it may be quite handy for testing purposes or other scenarios. In this tutorial, you’ll see how to check the status of firewalld, enable or disable the service from starting automatically upon system boot, and how to stop or start the firewalld service in RHEL.
How to check CentOS version
The purpose of this tutorial is to show how to check the CentOS version of your Linux system. It’s possible to do this from either command line or GUI, so you can use whichever method is more convenient for you. Classic CentOS is nearing its end of life and will be replaced by CentOS Stream. Knowing your CentOS version will give you some insight into how long your system will continue to be supported.
How to Install Kubernetes on Rocky Linux
Kubernetes has quickly risen in popularity as the go to solution for deploying containerized applications inside of a cluster. It gives administrators many options for scaling applications, and offers advanced features like rolling updates and self healing. To get started learning about Kubernetes or to test your containerized applications in a deployment scenario, installing minikube will help immensely.
How to fix: user not in sudoers file error
The purpose of this tutorial is to show how to fix the RHEL7 User Not In Sudoers File
Error on all major Linux distributions. When trying to execute Linux commands with root privileges via the sudo
command, you will receive an error message if the current user is not in the sudoers file. This is a security feature on Linux systems to stop ordinary users from esclating their commands to administrator privileges.
How to install Flatpak on CentOS
Flatpak is a package manager that is available for installation on CentOS Linux and all other major Linux distros. Flatpak offers CentOS users an alternative to the official repos and default dnf
package manager as a source of software installation. Many applications available in Flatpak currently do not reside in official CentOS repos, making this a big benefit of installing Flatpak.
Check RPM package dependencies on Rhel/Centos/Rocky
Files with the .RPM
extension are software packages intended for installation on Red Hat Enterprise Linux or one of its derivative Linux distributions, such as CentOS, AlmaLinux, Rocky Linux, or Fedora. When you install software by using an RPM file, your system may need to install dependencies for it to run correctly. This is common behavior for the dnf
package manager as well, so you may already be familiar with package dependencies. In this tutorial, we will show you how to check the package dependencies for an RPM file on RHEL and similar distros.
How to open SSH port 22 on Rehdat 7 Linux server
The SSH protocol operates on port 22 by default. In order to accept incoming connections on your Red Hat 7 Linux SSH server, you will need to ensure that port 22 is allowed through the firewall. This will involve opening the port in firewalld, the default firewall interface for Red Hat.
KDE Desktop installation on RHEL 7 Linux
By default, the Red Hat Enterprise Linux distribution sports the GNOME desktop environment, or no GUI at all. If you would like to change things up and install KDE Plasma instead, the GUI can be downloaded and installed directly from Red Hat’s package repositories.
How to change runlevel on RHEL 7 Linux
The conventional way used to change the runlevel with /etc/inittab
has become obsolete with Red Hat Enterprise Linux version 7. As a result, any Linux system using systemd system management daemon now relies on the systemctl
command to change runlevel – or, to be more precise, to change the target. Therefore any edits to the /etc/inittab
file will not take effect on RHEL 7.
How to change a hostname on Redhat 7 Linux
The hostname of your Red Hat Enterprise Linux system is important because it’s used to identify the device on a network. The hostname is also shown in other prominent places, such as in the terminal prompt. If you have not bothered to change the hostname yet, your system probably bears the default localhost.localdomain
name, which is not very helpful.