Initializing and accessing PostgreSQL database on Red Hat Enterprise Linux 8

How to install PostgreSQL server on RHEL 8 / CentOS 8

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

Read more

Project creation with Compass.

How to install compass on RHEL 8 / CentOS 8

Compass is an open-source CSS authoring framework that can compile .css stylesheet files from .sass files as they are written, thus making the life of a web designer easier. In this tutorial we will install Compass on RHEL 8 / CentOS 8, with all of it’s dependencies.

In this tutorial you will learn:

  • How to install dependencies required by Compass
  • How to Compass
  • How to create a Compass project

Read more

GNOME desktop graphical environment on RHEL 8 / CentOS 8

Install gnome on RHEL 8 / CentOS 8

RHEL 8 / CentOS 8 comes by default, as it has been for many years already with a GNOME desktop environment. From this reason, in a broader sense when we talk about GNOME desktop installation we normally talk about RHEL 8 / CentOS 8 workstation.

In this tutorial we will be installing GNOME desktop as part of the workstation package group.

In this Install gnome on Redhat 8 tutorial you will learn:

  • How to install Gnome Desktop on RHEL 8 / CentOS 8.
  • How to change runlevel to boot to graphical interface in RHEL 8 / CentOS 8.

Read more

VSFTPD ftp connection on RHEL 8 / CentOS 8 Server/Workstation

How to install vsftpd on RHEL 8 / CentOS 8

This tutorial provides readers with instructions on how to install and configure a VSFTPD ftp server on a RHEL 8 / CentOS 8 server. This guide will first start with a basic default configuration on top of which we will add secure TLS configuration, anonymous access and passive mode configuration.

In this tutorial you will learn:

  • How to install VSFTPD ftp server.
  • How to open firewall for incoming FTP connections.
  • How to secure FTP connection with TLS.
  • How to allow anonymous connections.

Read more

Chef Architecture

How to install Chef Server, Workstation and Chef Client on Ubuntu 18.04

Chef is a Ruby based configuration management tool used to define infrastructure as code. This enables users to automate the management of many nodes and maintain consistency across those nodes. Recipes declare the desired state for managed nodes and are created on a user’s workstation using the Chef Workstation package. Your recipes are distributed across nodes via a Chef server. A Chef client, installed on each node, is in charge of applying the recipe to its corresponding node. This guide will show you how to install and configure a Chef Server and Chef Workstation. We will also bootstrap a node to manage with Chef.

In this tutorial you will learn:

  • Install and Configure the Chef Server
  • Create Chef User and Organization
  • Install and Configure the Chef Workstation
  • Configure Knife and Bootstrapping a Client Node

Read more

php-modules-rhel8

How to install php on RHEL 8 / CentOS 8 Linux

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

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

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

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

Samba on Debian 10

How to Set Up a Samba Server on Debian 10 Buster

Samba allows you to share your files over a local network to computers running any operating system. Samba also makes it simple to control access to these shares using a single configuration file. On Debian, that configuration is mostly set up for you, making configuring a Samba server on Debian a smooth experience.

In this tutorial you will learn:

  • How to Install Samba
  • How to Change Samba’s Global Settings
  • How to Configure a New Share
  • How to Set Up A Samba User
  • How to Connect to a Share

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