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.
centos
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 IP Address CentOS/RHEL
The purpose of this tutorial is to show how to find the system IP address, public IP address, default gateway, and DNS servers on CentOS Linux and Red Hat Linux. This can be done from both command line and GUI. We will cover the step by step instructions for both methods below.
How to disable SElinux on CentOS 7
SELinux, which stands for Security Enhanced Linux, is an extra layer of security control built for Linux systems. The original version of SELinux was developed by the NSA. Other key contributors include Red Hat, which has enabled it by default in their own RHEL and its derivative Linux distributions, including CentOS 7.
How to auto login on CentOS
The purpose of this tutorial is to enable auto login on GNOME GUI and the KDE Plasma desktop environment on CentOS Linux system. If you are using CentOS and getting tired of needing to provide your password every time your computer boots up, or goes back to the lock screen, then enabling auto login will save you some time and frustration.
Configure logrotate on Redhat Linux
Logrotate is a utility designed for administrators who manage servers that produce a high volume of log files. It helps them save some disk space, as well as to avoid a potential risk of making a system unresponsive due to the lack of disk space.
How to query packages information with the rpm package manager
RPM is the recursive acronym for RPM Package Manager: it is the default low level package manager in some of the most famous and most used Linux distributions, such as Fedora, Red Hat Enterprise Linux, CentOS, OpenSUSE and their derivatives. The software, as you can expect, is free and open source; when invoked with the -q
option it can be used to query packages to retrieve specific information, such as dependencies, recommendations, files etc. In this tutorial we learn how to perform such queries.
In this tutorial you will learn:
- How to run rpm in “query” mode
- How to obtain general information about a package
- How to read a package changelog
- How to list the files provided by a package
- How to list the scripts used by a package
- How to list a package dependencies and recommendations
- How to list packages rendered obsolete by an rpm
How to work with dnf package groups
Dnf is the default high-level package manager in the Red Hat family of distributions, which includes Fedora, Red Hat Enterprise Linux and all its clones. It is the successor of Yum, and indeed using the yum command in recent versions of the distributions mentioned above, is just another way to call dnf. Dnf has a lot of nice features
and plugins which help us install, update and remove software packaged in the “.rpm” format. In this tutorial we explore dnf package groups and learn how to handle them.
In this tutorial you will learn:
- What is a package group
- How to get information about a package group
- How to list all available package groups
- How to install, upgrade and remove a package group
How to configure NTP server and client on AlmaLinux
NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers. An NTP server is responsible for keeping a set of computers in sync with each other. On a local network, the server should be able to keep all client systems to within a single millisecond of each other.
Such a configuration would be necessary if, for example, the systems needed to start or stop a task in unison at a precise time. In this article, we’ll show you how to configure an NTP server on AlmaLinux and how to configure a client system to sync its system time with said server. This can be done from a fresh AlmaLinux installation or on a system that has migrated from CentOS to AlmaLinux.
In this tutorial you will learn:
- How to install and configure chrony NTP server
- How to open firewall to incoming NTP requests
- How to connect to an NTP server from a client machine
How to install MySQL on AlmaLinux
In this guide, we will show you how to install MySQL on AlmaLinux. There are two separate packages for this on AlmaLinux, depending on what you need to do. You can either install the MySQL client package, which is used to connect to MySQL servers, or install the MySQL server software, which can be used to host your own databases. We’ll cover both below.
After installing a MySQL server, we’ll also go over the first steps you’ll need to get started with hosting a database, which includes making a username and password, creating a database, and granting user permissions on that database. AlmaLinux is a good Linux distro for hosting MySQL, whether you’ve freshly installed AlmaLinux or migrated from CentOS to AlmaLinux.
In this tutorial you will learn:
- Install MySQL Client on AlmaLinux
- Install MySQL Server on AlmaLinux
- How to setup a MySQL database
How to install Git on AlmaLinux
Git is a versioning control system, mainly used by programmers to issue changes to applications and keep track of the revisions. However, it’s also commonly used by everyday users, since they’re able to browse and download the source code and binaries of millions of applications from websites like GitHub and GitLab.
On Linux, familiarity with Git and access to the command line utility is borderline essential. That is, if you’re the type of user who likes to install programs to unlock additional features and the like.
In this guide, we’ll show you the step by step instructions to install Git on AlmaLinux. Once it’s installed, you can read our other guide on how to get started using Git. This is a great process to do right after installing AlmaLinux or migrating from CentOS to AlmaLinux.
In this tutorial you will learn:
- How to install Git on AlmaLinux