MariaDB on Red Hat Enterprise Linux 8 database creation example

How to install Mariadb/MySQL server on RHEL 8 / CentOS 8 Linux

The default relational SQL database on RHEL 8 / CentOS 8 Linux has been chnaged from MySQL to MariaDB. MariaDB is a community-developed fork of the MySQL relational database and in-place substitute for MySQL.

In this tutorial you will learn:

  • How to install MariaDB/MySQL server
  • How to start and enable MariaDB to start automatically after reboot
  • How to secure MariaDB database and set root password
  • How to create database for a remote access
  • How to open MySQL/MariaDB firewall ports for incoming traffic
  • How to login to MySQL/MariaDB from a remote host

Read more

Hello World example with Ruby.

How to install ruby on RHEL 8 / CentOS 8

Ruby is a very flexible scripting language, it’s popularity well-earned by it’s power. In this tutorial we will install Ruby on a RHEL 8 / CentOS 8, and write the famous “Hello World” program to test that our installation is working as intended. Note however, that with all languages, Ruby’s capabilities are far more than simple text printing on the command line.

In this tutorial you will learn:

  • How to install Ruby with dnf
  • How to get Ruby version information
  • How to write and run the “Hello World” example program in Ruby

Read more

LAMP stack server installation on RHEL 8 / CentOS 8

How to install LAMP Server on RHEL 8 / CentOS 8 Linux

The LAMP server is the foundation of Linux web hosting. If you’re looking to set up a LAMP stack to host your website, this guide will provide you with the necessary information on how to get start with LAMP on RHEL 8 / CentOS 8 Linux server.

In this tutorial you will learn:

  • How to install all LAMP prerequisite packages on RHEL 8 / CentOS 8.
  • How to secure MariaDB database.
  • How to start httpd and MariaDB services.
  • How to open HTTP and HTTPS firewall ports.

Read more

GCC the C compiler on RHEL 8 and Hello world C program example.

How to install GCC the C compiler on RHEL 8 / CentOS 8

The objective of this guide is to install GCC the C compiler on RHEL 8 / CentOS 8 and perform compilation of a basic C “Hello World” program. The GCC compiler can be installed in RHEL 8 by simply using the dnf install command.

In this tutorial you will learn:

  • How to install GCC compiler on RHEL 8 / CentOS 8.
  • How to install Development Tools installation group.
  • How to write C program.
  • How to compile and execute C program.

Read more

Installing NPM on Redhat 8.

How to install npm on RHEL 8 / CentOS 8

NPM is a javascript package manager for the Node JavaScript platform. The objective of this article is to install NPM on RHEL 8 / CentOS 8. To install NPM on RHEL 8 / CentOS 8 we will use the dnf install command.

In this tutorial you will learn:

  • How to install NPM on Rhel 8.
  • How to search for modules using NPM.
  • How to install modules using NPM.
  • How to install modules form a Git repository.

Read more

Version-control system Git on Red Hat Enterprise Linux 8

How to Install git on RHEL 8 / CentOS 8 Linux server/workstation

Git is a version-control system, which is used for tracking updates in computer files. Additionally, it may be used for collaborating work on files among a group of people. This article will provide the reader with a step by step information on how to install Git on RHEL 8 / CentOS 8.

In this tutorial you will learn:

  • How to install Git from a standard RHEL 8 / CentOS 8 repository.
  • How to compile and install Git from source code.
  • How to check Git version.

Read more

Snmpd answer to remote query with snmpwalk.

How to install snmp on RHEL 8 / CentOS 8

SNMP (Simple Network Management Protocol) is widely used for monitoring and central management purposes. In this tutorial we will install the snmpd service to a RHEL 8 / CentOS 8 machine, enable autostart, and after starting the service, we will test the functioning service with snmpwalk running the default settings.

In this tutorial you will learn:

  • How to install snmp service
  • How to start and enable the service with systemd
  • How to open udp port 161 for remote access
  • How to test the service with snmpwalk from localhost and remove machine

Read more

Example query in mongodb.

How to install mongodb on RHEL 8 / CentOS 8

MongoDB is a document database, storing data in JSON-like form, which is revolutionary approach in the contrast of traditional relational databases. This does not mean that SQL databases will die out anytime soon; they will be here for a long time when you need to store structured data.

That being said, MongoDB gets more and more use cases; the ability to store data in a form that can change on the fly are things that must be counted with.

In this tutorial we will install the latest community release of this NoSQL database to a RHEL 8 / CentOS 8, using the tarball package. For this to work smoothly we’ll set up the minimal environment, and test our configuration and running service.

In this tutorial you will learn:

  • How to download & extract MongoDB tarball
  • How to set up environment for the service
  • How to manage mongod service
  • How to login to mongo shell, insert and query sample data

Read more

Successful build with Maven.

How to install maven on RHEL 8 / CentOS 8

Maven is a handy project management tool for Java projects. It helps handling multiple projects, can integrate with various IDE (Integrated Development Environment) software, and above all, simplifies build processes. In this tutorial we will install maven on a RHEL 8 / CentOS 8 Linux system, and to test the tool, we’ll build and run a simple example application.

In this tutorial you will learn:

  • How to install Maven
  • How to create a basic project
  • How to build the project with Maven
  • How to test the built application

Read more

Successful cpan perl module install with cpan on RHEL 8

How to install cpan on RHEL 8 / CentOS 8

Perl is a well-known programming language with long development history. The same long history provides the countless modules written in it, and distributed in various channels throughout the World Wide Web. As with most programming languages, if you implement something that you find useful, and maybe write it in a generic way, there are high chances others would find it useful too.

If you share your work with others, they don’t need to re-implement the wheel, they can spend time on other tools, thus making the community as a whole richer, and we have found the spirit of open source with a short walk. But as many people write perl modules, and perl runs on just about anything, it can be hard to find the module you are looking for, let alone build it in your environment. And that’s where cpan comes into play. CPAN itself is a large perl module repository, the cpan tool is a client that is able to fetch and compile needed modules to the local system.

In this tutorial we’ll install cpan on a RHEL 8 / CentOS 8, run the initial configuration, and install a module with this tool’s help.

In this tutorial you will learn:

  • How to install cpan
  • How to run initial configuration
  • How to install a perl module with cpan

Read more

The unlock page of Jenkins on first startup installation on RHEL 8 / CentOS 8

How to install Jenkins on RHEL 8 / CentOS 8

Jenkins is a widely-used open-source automation server that can be used to automate tasks from building to deploying software. It’s pipelines are easy to understand, and you can simply add tasks the same way you would execute them on the command line.

In this tutorial we will install Jenkins on RHEL 8 / CentOS 8, we’ll run the server by hand from the command line, install it as a standard service, and deploy it into an Apache Tomcat container.

In this tutorial you will learn:

  • How to run Jenkins by hand
  • How to install Jenkins as a service
  • How to deploy Jenkins into an Apache Tomcat container
  • How to unlock Jenkins
  • How to open the port on the firewall Jenkins is serving on

Read more