Checking the SELinux operational mode

How to Check SELinux Status (Operational Mode)

SELinux, which stands for Security Enhanced Linux, is an extra layer of security control built for Linux systems. SELinux has three possible modes in which it can be running. Depending on which mode it’s in will determine the behavior of SELinux. In this tutorial, we’ll show you how to check the SELinux status aka. operational mode. The most common and easiest way to check SELinux status is by executing the getenforce command.

Read more

How to install Gnome and start gui in Redhat Linux

How to install Gnome and start GUI in Redhat Linux

This article will answer the following questions: How to start GUI in Redhat Linux. GNOME is the default desktop environment on Red Hat Enterprise Linux, but only if you opt for the full installation of the operating system. Other installations don’t include any GUI by default. If you’ve chosen a minimal install but don’t want to be limited to just the command line, you can install the GNOME desktop environment in a few simple commands.

Read more

How to open http port 80 in Redhat Linux using firewall-cmd

How to open http port 80 in Redhat Linux using firewall-cmd

This article will provide you with an information on how to open port in Redhat Linux, and more specifically we will be talking about the HTTP port 80.  firewalld is the default firewall program that comes pre-installed on Red Hat Enterprise Linux 7 and 8. By default, the firewall is turned on, meaning that a very limited number of services are able to receive incoming traffic.

Read more

main-image

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
main-image

How to query packages information with the rpm package manager

Read more

How to work with dnf package groups

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 work with dnf package groups

How to work with dnf package groups

Read more