Create Virtual Interface on RHEL 8 / CentOS 8

How To Configure a Virtual Network Interface on RHEL 8 / CentOS 8

There are plenty of reasons why you’d need to set up virtual network interfaces on a RHEL 8 / CentOS 8 server or workstation. The process has changed a bit since RHEL 7, but it’s still fairly straightforward.

In this tutorial you will learn:

  • How to Locate Your Network Interfaces
  • How to Edit Your Main Network Configuration
  • How to Duplicate Your Network Configuration
  • How to Create The Virtual Interface Confg

Read more

PHP Xdebug on RHEL 8

How to Install Xdebug on RHEL 8 / CentOS 8 Linux

Xdebug is great for debugging your PHP code in real time. There are a few ways to install it on RHEL 8 / CentOS 8, but the simplest and most straightforward one utilizes packages found right in RHEL’s repos.

In this tutorial you will learn:

  • How to Install the Dependencies
  • How to Install Xdebug with PECL
  • How to Configure PHP to Use Xdebug
  • How to Make Sure Xdebug is Loaded

Read more

node-logo

How to install node.js on RHEL 8 / CentOS 8 Linux

Node.js is a Javascript runtime environment based on the V8 open source engine made by Google and originally used in Chrome. Thanks to Node.js we can run Javascript outside of the browser context, and use it also like a server-side scripting language, thus creating an entire web application around it. In this tutorial we will see how to install Node.js in the RHEL 8 / CentOS 8 distribution.

In this tutorial you will learn:

  • How to list the available Node.js versions on RHEL 8 / CentOS 8
  • How to install a specific version of Node.js
  • How to switch between Node.js versions on RHEL 8 / CentOS 8

node-logo

The Node.js – RHEL 8

Read more

ntfs-3g-manpage

How to install ntfs-3g on RHEL 8 / CentOS 8

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

Read more

Install PHP mbstring on RHEL 8 / CentOS 8

How to Install PHP-mbstring on RHEL 8 / CentOS 8

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

Read more

Successful installation of VMware Tools.

How to install VMware Tools on RHEL 8 / CentOS 8

When speaking of virtualization, VMware is a solution that can’t be ignored. While the true power of virtualization lives in the datacenters, we live in the age where anyone can run a virtual machine or two on a desktop or a laptop, given it is equipped with enough resources. These virtual machines are computers running inside a computer, and this setup has countless benefits and use cases. For instance, if you have a new software you’d like to test, you can do so in a virtual machine before installing it directly on a device you use for everyday work.

To work with these virtual machines with ease, we can integrate them with our Hypervisor – in this case, VMware – to enable the operating system running as guest to use the capabilities of the virtualization software. In this tutorial we will install the integration software, called VMware Tools on a virtual machine running RHEL 8 / CentOS 8, that is hosted in VMware Player. The same in-guest steps apply on the datacenter version of VMware regarding the tools installation. Note however, that Red Hat ships the open-vm-tools with the distribution, which is what VMware also recommends to use instead of the tools we’ll now install. Why are the tools shipped with the distribution recommended? They can be updated along with the distribution within the regular update process, while VMware’s tools need to be updated by hand (or automation, but unneeded effort anyway).

While the following steps will result in a working integration, please consider the above when you setting up your virtual systems. Outdated virtualization integration tools are a bad thing, which you will experience when you upgrade your hosts, and hundreds of alerts will appear on the vCenter consoles.

In this tutorial you will learn:

  • How to download VMware tools using VMware Player
  • How to present installation source to the virtual machine
  • How to remove open-vm-tools
  • How to install and configure VMware Tools

Read more

Asterisk systemd service startup output

How to install asterisk on RHEL 8 / CentOS 8 Linux

This article will describe how to install the open source communication software Asterisk on RHEL 8 / CentOS 8; due to the fact that Asterisk and other important dependencies are not available as RPM packages from the repositories, it is needed to compile them from sources.

In this tutorial you will learn:

  • Which are the pre-requisites to install Asterisk
  • How to compile Asterisk from sources
  • How to start Asterisk
  • How to reconfigure or remove Asterisk
  • How to access Asterisk command line interface

Read more

Configuration page of Redmine.

How to install redmine on RHEL 8 / CentOS 8 Linux

Redmine is a popular open source project management web application. It supports mayor databases like MySQL and PostgreSQL as backend, and you can also change the frontend to Apache from the WEBrick (recommended for production use) webserver shipped with the installation. In this article we will install the latest Redmine on RHEL 8 / CentOS 8, using PostgreSQL as backend, but we will leave the default WEBrick as frontend, which will serve our tests perfectly.

Do not expect this process to be an easy one, nor error-free. Even following these steps to the letter, some errors will surely happen, the setup seem to handle sudo steps somewhat inconsistently – but the solutions are also included which will guide trough these errors.

In this tutorial you will learn:

  • How to install required operating system packages
  • How to setup the database
  • How to install the Redmine application
  • How to start and login to the application

Read more

HDFS Architecture

How to install Hadoop on RHEL 8 / CentOS 8 Linux

Apache Hadoop is an open source framework used for distributed storage as well as distributed processing of big data on clusters of computers which runs on commodity hardwares. Hadoop stores data in Hadoop Distributed File System (HDFS) and the processing of these data is done using MapReduce. YARN provides API for requesting and allocating resource in the Hadoop cluster.

The Apache Hadoop framework is composed of the following modules:

  • Hadoop Common
  • Hadoop Distributed File System (HDFS)
  • YARN
  • MapReduce

This article explains how to install Hadoop Version 2 on RHEL 8 or CentOS 8. We will install HDFS (Namenode and Datanode), YARN, MapReduce on the single node cluster in Pseudo Distributed Mode which is distributed simulation on a single machine. Each Hadoop daemon such as hdfs, yarn, mapreduce etc. will run as a separate/individual java process.

In this tutorial you will learn:

  • How to add users for Hadoop Environment
  • How to install and configure the Oracle JDK
  • How to configure passwordless SSH
  • How to install Hadoop and configure necessary related xml files
  • How to start the Hadoop Cluster
  • How to access NameNode and ResourceManager Web UI

Read more

Allowing access from a certain network segment to sshd.

How to install and setup an example service with xinetd on RHEL 8 / CentOS 8 Linux

Xinetd, or the Extended Internet Services Daemon, is a so-called super-server. You can configure it to listen in the place of many services, and start the service that should handle an incoming request only when there it actually arrives to the system – thus saving resources. While this may not seem to be a big deal on a system where traffic is relatively permanent, this service in the front of another approach does have some neat advantages, like logging or access control.

In this article we will install xinetd on a RHEL 8 / CentOS 8, and we’ll put the sshd daemon under it’s care. After verifying the setup, we’ll tweak the configuration a bit to see the access control in action.

In this tutorial you will learn:

  • How to install xinetd
  • How to setup sshd on RHEL 8 / CentOS 8 as an xinetd service
  • How to allow access only from a specific network to the sshd service from xinetd
  • How to audit traffic from xinetd log entries

Read more

HAProxy Architecture

Install and Configure HAProxy on RHEL 8 / CentOS 8 Linux

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

Read more