PHP-mbstring is used by a ton of popular applications, including WordPress. Installing it on RHEL 8 / CentOS 8 isn't as straightforward is it probably should be, but it's definitely not difficult.

The easiest and recommended way to install PHP-mbstring on RHEL 8 / CentoOS 8 is to dnf command and perform the php-mbstring package installation from a standard RHEL 8 / CentoOS repository. You can also install it directly from the Remi repository, which provides tons of other great PHP packages.

In this tutorial you will learn:
  • How to Install PHP-mbstring from the RHEL 8 / CentOS 8 Repository
  • How to Install PHP-mbstring from the Remi Repository

There are many cases in which we may want to set a static IP for a network interface. In RHEL 8 / CentOS 8, the network connections are managed by the NetworkManager daemon, so in this tutorial we see how we can perform such task by editing an interface file directly, by using a command line utility, nmcli, or via a text user interface, nmtui.

In this tutorial you will learn:
  • How to set a static IP address by directly editing an interface file
  • How to set a static IP address using the nmcli utility
  • How to set a static IP address using nmtui
interface-file-edited
The edited network interface file

PhpMyAdmin is a php web application which let us manage a MariaDB/MySQL database from an intuitive graphical interface. The application is not provided in the RHEL 8 / CentOS 8 official repositories, and is usually installed from third party sources like EPEL. Epel-8 is, however, not yet available, so in this tutorial we will see how to fetch the upstream phpMyAdmin code and install it on our system "manually".

In this tutorial you will learn:
  • How to download and install phpMyAdmin from source
  • How to verify the downloaded archive
  • How to access the phpMyAdmin configuration wizard
phpmyadmin-login-page
The phpMyAdmin login page

HAProxy or High Availability Proxy is an open source TCP and HTTP load balancer and proxy server software. HAProxy has been written by Willy Tarreau in C, it supports SSL, compressions, keep-alive, custom log formats and header rewriting. HAProxy is a fast and lightweight proxy server and load balancer with a small memory footprint and low CPU usage. It is used by large sites like Github, StackOverflow, Reddit, Tumblr, Twitter and others. It has become the most popular software load balancer and proxy server in the past years.

In this tutorial, you will get through the HAProxy installation and configuration on RHEL 8 / CentOS 8. We will install HAProxy on a single server and then install Nginx web server on the other servers. HAProxy will act as a load balancer for the Nginx web servers.

In this tutorial you will learn:

  • HAProxy Architecture and Concepts
  • Configure hosts file for name resolution
  • Install and Configure HAProxy
  • Install and Configure Nginx
  • Testing the Load Balancing feature
  • Access the HAProxy Stats URL

P7Zip is required to extract certain archive files, especially the .7z kind. It isn't available in the RHEL 8 repositories, so you're going to need to get it elsewhere. For that, there are two options, the EPEL and building it from source. Both work well.

In this tutorial you will learn:
  • How to Install P7Zip From the EPEL
  • How to Download the P7Zip Source
  • How to Install the Build Tools
  • How to Build and Install P7Zip
  • Basic examples on how to extract and compress 7z files

In the RHEL 8 / CentOS 8 Linux systems, the way software is organized has changed: critical packages are now contained in the BaseOs repository, while the AppStream one contains multiple versions of some of the most common used applications and programming languages which are organized in modules, and updated independently of the distribution release cycle. This strategy has been adopted in order to avoid the problem of being stuck with a certain, too outdated or too recent release of a certain software.

In this tutorial you will learn:
  • How to install PHP on RHEL 8 / CentOS 8
  • What are software modules in RHEL 8 / CentOS 8
  • How to install and switch between different versions of the PHP module
php-modules-rhel8
Available php modules on RHEL 8

KVM is a powerful hypervisor that's tightly integrated into Linux systems. It requires minimal resources, and it's free to use. As an added bonus, Red Hat is one of the primary developers behind KVM, so you can expect it to work well on RHEL 8 / CentOS 8.

In this tutorial you will learn:
  • How to Set Up a Network Bridge
  • How to Install KVM
  • How to Start KVM
  • How to Create a VM
  • How to Configure VNC

Although it's been a while since the release of Red Hat Enterprise Linux 8, the corresponding version of the EPEL repository (Extra Packages for Enterprise Linux) was only released few days ago. The repository contains packages that are not provided by the official software sources, as for example extundelete, an utility to recover deleted files from ext3/4 filesystems. Until now the solution to install those software was to build it from source or to use the previous version of EPEL (less than ideal). In this tutorial we will see how to add EPEL8 to RHEL 8 / CentOS 8.

In this tutorial you will learn:
  • How to add the EPEL8 repository to RHEL 8 / CentOS 8
  • How to check all the packages contained in the EPEL8 repository

In the context of a discretionary access control (DAC) mechanism, the access to system resources, files and directories, is based on the identity of the users and on the groups they are member of. This type of access control is called "discretionary" because a user can perform its own policy decisions (limited by its own permissions, of course). In this tutorial we will see how to add a user to a group and what is the difference between a primary and a secondary group on a RHEL 8 / CentOS 8 Linux system.

In this tutorial you will learn:
  • What is the difference between a primary and a secondary group
  • How to add a user to a group by using the usermod command
  • How to add a user to a group directly with vigr
add-user-to-group-rhel8
How to add a user to a group on Rhel8

NTFS is not supported by default on RHEL 8 / CentOS 8. To make our system able to read and write block devices formatted with this proprietary filesystem, we need to install the ntfs-3g software, which usually in provided by third party repositories like Epel. At the time of writing, however, a version of this software source for Rhel8 doesn't already exist, therefore we will see how to install it from source in few easy steps.

In this tutorial you will learn:
  • How to build ntfs-3g from source
  • How to install ntfs-3g
  • How to mount a block device formatted with ntfs-3g
  • How to format a block device with the ntfs filesystem
  • How to check the ntfs filesystem integrity using ntfsfix
ntfs-3g-manpage
The manpage of ntfs-3g on Rhel 8

In this article we will be performing an installation of OwnCloud directly from the official OwnCloud package. OwnCloud is a suite of client-server software to provide easy file sharing. The operating system to be used will be RHEL 8 / CentOS 8 server with MySQL, PHP and Apache web-server.

In this tutorial you will learn:
  • How to install Owncloud prerequisites
  • How to download and upzip OwnCloud source package
  • How to setup MariaDB database
  • How to setup OwnCloud

In this article we will be performing an installation of Nextcloud. Nextcloud is a suite of client-server software to provide easy file sharing. The operating system to be used will be RHEL 8 / CentOS 8 server with MariaDB, PHP and Apache web-server.

In this tutorial you will learn:
  • How to install Nextcloud prerequisites
  • How to download and upzip Nextcloud source package
  • How to setup MariaDB database
  • How to setup Nextcloud

The Firefox comes pre-installed on RHEL 8 / CentOS 8. In this tutorial you will learn how to install a latest Firefox browser directly from Mozilla repository.

In this tutorial you will learn:
  • How to install latest Firefox on RHEL 8 / CentOS 8 workstation
  • How to backup existing Firefox installation and exclude form updating
  • How to start Firefox browser

PostgreSQL is an free-opensource object-relational database management system. The objective of this tutorial is to perform an installation and basic configuration of PostgreSQL server on RHEL 8 / CentOS 8 Linux server.

In this tutorial you will learn:
  • How to install PostgreSQL database server on RHEL 8 / CentOS 8
  • How to start and enable PostgreSQL database server
  • How to access PostgreSQL database from localhost and remote location
  • How to set password for the default postgres user
  • How to enable PostgreSQL to listen on all networks
  • How to secure PostgreSQL remote connection with MD5 password authentication
  • How to open PostgreSQL firewall port
  • How to establish remote connection to PostgreSQL server using psql client

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: