Adding a new user account on AlmaLinux

How to add user on AlmaLinux

After installing AlmaLinux or migrating from CentOS to AlmaLinux, most users will eventually run into the need to do some user account management. This is especially true if you only have a root account on your system and need to setup one or more normal users.

In this guide, we’ll show you the step by step instructions to add a new user on an AlmaLinux system. This can be done through both GUI and command line. We’ll be covering both methods in this guide, so you can pick whichever option is most convenient for you.

In this tutorial you will learn:

  • How to add a new user on AlmaLinux from command line
  • How to add a new user on AlmaLinux from GNOME GUI
Adding a new user account on AlmaLinux

Adding a new user account on AlmaLinux

Read more

CentOS Linux

CentOS vs CentOS Stream

Up until a late 2020 announcement from Red Hat, CentOS Linux had a longstanding reputation as a dependable and enterprise-class Linux distribution. And now, the main purpose of CentOS is shifting. Along with that comes a name change to CentOS Stream.

In this article, we’ll talk about this change of direction for CentOS, and what it means for the huge community of users and businesses that have relied on the distro for years. We’ll also see what’s next, as many users are left scrambling for a replacement so they can avoid switching to CentOS Stream.

Read more

Docker running a container image on AlmaLinux

Install Docker on AlmaLinux

Docker is a tool that is used to run software in a container. It’s a great way for developers and users to worry less about compatibility with an operating system and dependencies because the contained software should run identically on any system.

If you’ve recently installed AlmaLinux or migrated from CentOS to AlmaLinux, you may be wondering how to get Docker up and running on the system. Unfortunately, Red Hat Enterprise Linux doesn’t offer native support for Docker, and neither does AlmaLinux, since it is a fork of RHEL. Instead, Red Hat pushes support for Podman, an alternative to Docker. This makes Docker a bit harder to install, but it’s still possible on AlmaLinux.

In this guide, we’ll show you how to install Docker on AlmaLinux and get started with installing containerized software. After Docker is installed, you can use it to install software packages much the same way you would use your distro’s package manager to download an app. The difference of using Docker is that everything is more automated, with compatibility and dependencies no longer being potential issues.

In this tutorial you will learn:

  • How to install Docker
  • How to run Docker without root
  • How to search for a Docker image
  • How to install a Docker image
  • How to run a Docker image
  • How to monitor Docker with various commands
Docker running a container image on AlmaLinux

Docker running a container image on AlmaLinux

Read more

Changing the time zone via command line and GUI on AlmaLinux

How to set/change time zone on AlmaLinux

The objective of this guide is to show how to set the system time zone on AlmaLinux. This can be done from both GUI and command line, so we’ll be covering both methods in the following instructions.

Setting your system time and time zone is usually done when initially installing AlmaLinux or migrating from CentOS to AlmaLinux. If you skipped that step during installation, have switched time zones, or your system clock has drifted out of sync, we’ll help you get it fixed.

In this tutorial you will learn:

  • How to set time zone on AlmaLinux from GNOME GUI
  • How to set time zone on AlmaLinux from command line
Changing the time zone via command line and GUI on AlmaLinux

Changing the time zone via command line and GUI on AlmaLinux

Read more

How to disable or enable the firewall on AlmaLinux

How to disable/enable firewall on AlmaLinux

firewalld is the firewall manager that comes pre-installed on AlmaLinux, whether you’ve freshly installed AlmaLinux or migrated from CentOS to AlmaLinux. By default, the firewall is turned on, meaning that a very limited number of services are able to receive incoming traffic.

This is a nice security feature, but it means that the user must be knowledgeable enough to configure the firewall whenever they install a new service on the system, like HTTPD or SSH for example. Otherwise, connections from the internet can’t reach these services.

In this guide, we’ll see how to disable or enable the firewall in AlmaLinux, along with checking the status of the firewall. These are good troubleshooting options when trying to determine if a firewall rule is blocking traffic to or from a particular service.

DID YOU KNOW?
firewalld is simply a front end for the system’s nftables (formerly iptables) firewall. This makes the firewall easier to interact with, but essentially firewalld just translates all our commands into corresponding nft commands.

In this tutorial you will learn:

  • How to check the firewall status on AlmaLinux
  • How to stop firewall on AlmaLinux
  • How to start firewall on AlmaLinux
  • How to permanently disable firewall on AlmaLinux
  • How to enable firewall to start after reboot
How to disable or enable the firewall on AlmaLinux

How to disable or enable the firewall on AlmaLinux

Read more

AlmaLinux download

AlmaLinux Download

AlmaLinux is a Linux distribution based on Red Hat Enterprise Linux and maintained by CloudLinux, a company that provides server hosting and Linux software. For other most popular Linux distributions, please visit our dedicated Linux download page.

MIGRATE YOUR CENTOS TO ALMALINUX
Follow our guide to learn how to migrate CentOS to AlmaLinux, if you prefer convert your existing operating system instead of starting with a new AlmaLinux installation.

The motivation behind Alma’s release is to serve as a viable replacement for CentOS at the time of its shift from an enterprise-stable operating system to an upstream development branch of RHEL. Users can even switch from CentOS to AlmaLinux with just one command that will swap repositories and keys.

AlmaLinux functions very similarly to RHEL, but it’s completely free. It’s marketed to users and companies that need enterprise-level stability in a Fedora-like operating system. In other words, companies that want to use Red Hat but don’t want to pay the subscription fee and/or don’t need tech support can use AlmaLinux to fill the gap.

Being based on RHEL naturally makes AlmaLinux more geared towards servers and workstations, though it can still work well as a desktop operating system for some people. The full installation comes with the GNOME desktop environment and proves easy enough to use, but Linux newcomers will find a more welcoming experience in a user friendly distro like Ubuntu.

Read more

Completing the merge from CentOS to AlmaLinux

How to migrate from CentOS to AlmaLinux

The main motivation behind the creation of AlmaLinux was to be a viable replacement for CentOS Linux at the time of its shift from an enterprise-stable operating system to an upstream development branch of RHEL.

Now that AlmaLinux is released, it still leaves CentOS users wondering how to switch operating systems. Ideally, this should be done as seamlessly as possible, to prevent downtime, loss of data, etc. In this guide, we’ll show you the step by step instructions to migrate from CentOS to AlmaLinux with just a few commands.

In this tutorial you will learn:

  • How to migrate from CentOS to AlmaLinux
Completing the merge from CentOS to AlmaLinux

Completing the merge from CentOS to AlmaLinux

Read more

AlmaLinux

AlmaLinux vs CentOS

The release of AlmaLinux in 2021 was spurred by the change of CentOS Linux from an enterprise-stable operating system to an upstream development branch of RHEL.

With AlmaLinux being branded as a replacement for CentOS, and giving users the option to migrate to AlmaLinux from CentOS, you may be wondering what the differences are between these operating systems.

In this guide, we’ll look at what makes AlmaLinux and CentOS so similar, and why new differences between the distributions are causing many to distro hop.

Read more

ERROR: Unable to find the kernel source tree for the currently running kernel error message on CentOS / RHEL

ERROR: Unable to find the kernel source tree for the currently running kernel – CentOS / RHEL / AlmaLinux

This article will provide you with an information on how to install kernel source on CentOS/RHEL Linux system. Alternatively it will guide you through a simple troubleshootng process in case you have already installed kernel sources/headers and yest still receiving the bellow error message:

  ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel     
         source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have 
         the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may    
         specify the kernel source path with the '--kernel-source-path' command line option.

In this tutorial you will learn:

  • How to install kernel-headers
  • How to install kernel-devel
  • How to check kernel version
  • How to check for installed kernel-devel version

Read more

Lets Encrypt on CentOS 8

Install Let’s Encrypt on Centos 8

SSL encryption for your website is extremely important. It prevents man in the middle attacks, helps your page’s SEO, and browsers like Firefox won’t warn users that your site is insecure.

Best of all, you can get all these advantages for just a few minutes of your time. In this guide, we’ll show you how to install Let’s Encrypt on Centos 8, and how to use it to configure SSL encryption for your website. In a few steps, your site will become accessible via HTTPS, with HTTP links (optionally) redirecting to the secure protocol as well.

In this tutorial you will learn:

  • How to install Let’s Encrypt
  • How to configure Let’s Encrypt SSL

Read more

CentOS Linux

CentOS vs Fedora

CentOS and Fedora are two of the most well known and widespread Linux distributions. They’re both based on Red Hat Enterprise Linux (RHEL), which means Fedora and CentOS bear a lot of similarities to their ancestor, but also to each other.

In this guide, we’ll be comparing the two distributions across a few key areas and giving a brief review of both distros. Read on to learn more about CentOS and Fedora and how they compare. By the end of this article, you’ll be armed with enough information to choose the best distro for your needs.

In this tutorial you will learn:

  • CentOS and Fedora background information
  • CentOS and Fedora similarities and differences
  • Which distro should I use, CentOS or Fedora?

Read more

Red Hat Enterprise Linux

Oracle Linux vs Red Hat (RHEL)

Oracle Linux and Red Hat Enterprise Linux (RHEL) are well-known Linux distributions, often used in the business world. Each distro has their own pros and cons, differences, and similarities to the other.

In this guide, we’ll be comparing the two distributions across a few key areas and giving a brief review of both distros. Read on to learn more about Oracle Linux and RHEL and how they compare. By the end of this article, you’ll be armed with enough information to choose the best distro for your needs.

In this tutorial you will learn:

  • Oracle Linux and RHEL background information
  • Oracle Linux and RHEL similarities and differences
  • Which distro should I use, Oracle Linux or RHEL?

Read more