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

This executable .bin file launched a GUI installer for a Linux game

How to install bin file in RHEL 8 / CentOS 8 Linux

Some software packages for RHEL 8 / CentOS 8 come from commercial vendors such as game companies that provide closed-source binary packages or installers that you can run and enjoy in Linux. These installers often come either in .sh form or .bin form. Both are executable installers that you can launch in RHEL 8. If you have downloaded a .bin file and don’t know how to run it follow these steps.

In this tutorial you will learn:

  • How to make .bin files executable using the command line
  • How to install .bin files in RHEL 8

Read more

Connection to remote Redis server installed on RHEL 8 / CentOS 8

How to install Redis server on RHEL 8 / CentOS 8 Linux

In this tutorial we will discuss an installation of Redis server and client on RHEL 8 / CentOS 8. This tutorial also includes optional steps on how to allow remote connections to Redis sever running on RHEL 8.

In this tutorial you will learn:

  • How to install Redis server
  • How to install Redis client
  • How to enable Redis server to start after system boot
  • How to allow remote connections to Redis server
  • How to open firewall ports to allow incoming connections to Redis server
  • How to check Redis versionr

Read more

File conversion with alien doesn't take long

How to install deb file in RHEL 8 / CentOS 8 Linux

There may come a time when that package you want to install in RHEL 8 / CentOS 8 is simply not available as a RPM file. The alternative is to download the source and compile it yourself, or – alternatively – generate a RPM file from that source code later on.

But there is another way. Given the fact that Debian-based distributions have way more users than RPM-based ones, the number of available packages in their repositories is greater. Chances are you will be able to find a DEB file for that package you want. Here is how to install that DEB file in RedHat Linux with the help of a small utility called alien.

In this tutorial you will learn:

  • How to install alien in RHEL 8 / CentOS 8
  • How to convert a DEB package to a RPM one

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

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

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