Apache Spark is a distributed computing system. It consists of a master and one or more slaves, where the master distributes the work among the slaves, thus giving the ability to use our many computers to work on one task. One could guess that this is indeed a powerful tool where tasks need large computations to complete, but can be split into smaller chunks of steps that can be pushed to the slaves to work on. Once our cluster is up and running, we can write programs to run on it in Python, Java, and Scala.

In this tutorial we will work on a single machine running Red Hat Enterprise Linux 8, and will install the Spark master and slave to the same machine, but keep in mind that the steps describing the slave setup can be applied to any number of computers, thus creating a real cluster that can process heavy workloads. We'll also add the necessary unit files for management, and run a simple example against the cluster shipped with the distributed package to ensure our system is operational.

In this tutorial you will learn:
  • How to install Spark master and slave
  • How to add systemd unit files
  • How to verify successful master-slave connection
  • How to run a simple example job on the cluster

OTRS is an open source service management solution used by many companies around the world. It's extensibility and ability to integrate with other systems no doubt add to it's popularity. Written in perl, this software will run on mostly anything, and it's low requirement on resources makes it ideal even for a small business to start ticketing, or standardize their internal processes.

In this tutorial we will install OTRS on a Red Hat Enterprise Linux 8. Keep in mind that the steps described below are only apply to version 6.0.14, Community Edition. For example, version 6.0.15 will not work when the below steps are performed on the same environment.

In this tutorial you will learn:
  • How to install OTRS from tarball
  • How to solve dependencies
  • How to configure the environment
  • How to run the web installer
  • How to login to the service

Composer is a dependency management tool for php, much like cpan for perl. If you have read the tutorial about installing cpan, the architecture will be somewhat familiar. Composer, as a command line tool is the client that can fetch and update the php libraries we mark as needed, as well as the libraries these depend on, etc.

The source of these libraries is packagist.org, a large public php package repository. We can browse the repository with a browser to find the packages we'd like to use, then include them in our projects with the help of Composer. And by solving the dependencies itself, Composer can make our lives much easier if we depend on external packages. In turn we can also share our libraries, so the community can access them trough Composer as well.

In this tutorial we will install Composer on Red Hat Enterprise Linux 8, and mark a package as needed dependency for our project, to see the tool working.

In this tutorial you will learn:
  • How to install Composer
  • How to define package as dependency
  • How to install dependencies with Composer

Apache Bench is a useful little tool for testing the response time of a webservice, and thus the performance of the webserver. We can specify the number of requests to send, the target URL, set up concurrency, just to name a few of this tool's settings.

While such simulated workloads will not result exactly the same data that real world traffic will do, it is always a good idea to test before going to production. Maybe before deploying a new version of the application, we could run the tests on the new version, and compare the results with the previous test data to see if our application will serve slower, or faster than the last version. With well-planned testing, this tool can show the possible bottlenecks of the application, and may provide points of interest where we should look into our code for possible optimization.

In this tutorial we will install Apache Bench on Red Hat Enterprise Linux 8, as well as an Apache Webserver to run some tests against.

In this tutorial you will learn:
  • How to install Apache Bench
  • How to install httpd webserver, and add some basic content
  • How to run simple tests against the webserver

Apache Cassandra is an open-source NoSQL database. One of it's main features is it's decentralized nature that gives unique fault tolerance. Having our data replicated across datacenters means our production will not suffer from the loss of one of our sites, something all sysadmins dream of (or really happy to have such setup).

In this tutorial we will install Cassandra on Red Hat Enterprise Linux 8 by adding the Cassandra repository, install the software, and set up all else needed to have our service up and running and easy to manage.

In this tutorial you will learn:
  • How to add Cassandra repository
  • How to install needed packages
  • How to repair systemd unit file
  • How to test Cassandra with cqlsh

Apache Kafka is a distributed streaming platform. With it's rich API (Application Programming Interface) set, we can connect mostly anything to Kafka as source of data, and on the other end, we can set up a large number of consumers that will receive the steam of records for processing. Kafka is highly scaleable, and stores the streams of data in a reliable and fault-tolerant way. From the connectivity perspective, Kafka can serve as a bridge between many heterogeneous systems, which in turn can rely on it's capabilities to transfer and persist the data provided.

In this tutorial we will install Apache Kafka on a Red Hat Enterprise Linux 8, create the systemd unit files for ease of management, and test the functionality with the shipped command line tools.

In this tutorial you will learn:
  • How to install Apache Kafka
  • How to create systemd services for Kafka and Zookeeper
  • How to test Kafka with command line clients

Deleting user on RHEL 8 / CentOS 8 Linux system can be accomplished using the userdel command.

In this tutorial you will learn:
  • How to delete user on RHEL 8 / CentOS 8.
  • How to force user deletion.
  • How to delete user as well as its home directory.

Gdb or GNU Project Debugger is a great tool when you need to debug a program. You can set breakpoints, watch for value change of a variable, or even change a value for the program while it is halted at a point of it's state, then continue, just to pick some of the features of gdb.

In this tutorial we will install gdb on RHEL 8, and test how it is working with a simple C application.

In this tutorial you will learn:
  • How to install gdb
  • How to compile a simple C application with debug symbols
  • How to set breakpoints in the running application with gdb
  • How to print actual values of given variables within the application

This article covers an installation of Matomo (Piwik), an all-in-one premium web analytics platform, on RHEL 8 Linux Server. In this instance the installation is based on the well-know LAMP stack comprising the RHEL 8, MariaDB, PHP and Apache webserver.

In this tutorial you will learn:
  • How to Install LAMP Stack on RHEL 8.
  • How to configure MariaDB database.
  • How to install Matomo (Piwik) on RHEL 8.
  • How to open HTTP and HTTPS firewall ports.

The RHEL 8 ISO can be transferred to the USB flash drive using the ddrescue command hence creating a bootable RHEL 8 USB flashdrive.

In this tutorial you will learn:
  • How to create bootable RHEL 8 USB flash drive.
  • How to access boot menu.
  • How to access BIOS/UEFI.

The NVIDIA Driver is a program needed for your NVIDIA Graphics GPU to function with better performance. It communicates between your Linux operating system, in this case Red Hat Enterprise Linux 8, and your hardware, the NVIDIA Graphics GPU. The NVIDIA drivers can be installed by using the bash command after stopping the GUI and disabling the nouveau driver by modifying the GRUB boot menu.

To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.

This tutorial covers step by step installation and configuration of Ansible on Redhat Enterprise Linux 8. Ansible is the leading Open Source configuration management system. It makes it easy for administrators and operations teams to control thousands of servers from central machine without installing agents on them.

In this tutorial you will learn:

  • Ansible Overview
  • Install and Configure Python
  • Set Password-less SSH
  • Install Ansible
  • Testing and Managing the Ansible

There are a ton of ways that you can install RHEL 8 on a virtual machine. This guide will cover using KVM with and without virt-manager as well as VirtualBox.

In this tutorial you will learn:

  • How to Install RHEL 8 on KVM With Virt-Manager
  • How to Set Up Your VM in Virt-Manager
  • How to Install RHEL 8
  • How to Install RHEL 8 on KVM Via the CLI
  • How to Create Your VM
  • How to Connect to Your VM Over VNC
  • How to Install RHEL 8 on VirtualBox
  • How to Set Up Your VM on VirtualBox
  • How to Install RHEL 8

Red Hat Enterprise Linux version 8.0 has been out for some time and is available for testing purposes on RedHat's website. All you need to do to get it is create an account if you don't already have one, download the ISO and install it using your credentials. If you have previously worked with the 7.x branch of Red Hat Enterprise Linux or CentOS the installation process will be familiar to you since not much has changed.

But what you have to keep in mind is that this is a commercial Linux distribution and thus you will get access not only to technical support but also commercial software, unavailable otherwise in fully open-source Linux distributions based on Red Hat Linux.

In this tutorial you will learn:
  • How to subscribe to software channels in Red Hat Enterprise Linux 8
  • How to install software in Red Hat Enterprise Linux 8 with the help of Red Hat repositories
  • How to install standalone RPM packages
  • How to compile software for RHEL yourself
  • How to convert between DEB packages to RPM

As part of the RHCSA exam preparation, we already learned how to manage partitions on disk. Partitions are useful to separate disk space (for example, separating database-related files from webserver-related files), but we have a much more flexible solution that can separate or aggregate storage space.

This solution is called LVM, the Logical Volume Manager. LVM allows us to see multiple disks as one filesystem, thus overcoming the limitations of a physical disk's site. We can also create software mirroring on disks to protect or data written to the filesystem. In this tutorial we'll cover the basics: we'll manage the three layers of LVM, physical volumes, volume groups and logical volumes.

In this tutorial you will learn:
  • How to create and remove physical volumes
  • How to assign physical volumes to volume groups
  • How to create and delete logical volumes

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: