Ansible Architecture

How to install and configure Ansible on Redhat Enterprise Linux 8

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

Read more

PHPMyAdmin

How To Launch Containers With Docker Compose

This article is going to introduce Docker Compose and show how to put it to work for your needs. We will install it, write a simple Compose file and launch the container.

We will then see how to launch multiple containers. Then we will see how to build images and lately how to use multiple Compose files to launch containers in different environments, like development and production, for example.

In this tutorial you will learn:

  • How to install Docker Compose
  • How to write a simple Compose file
  • How to execute docker-compose commands to start and stop containers
  • How to launch multiple containers
  • How to build images with Docker Compose
  • How to override using multiple Docker Compose files

Read more

Examples page served by Apache Tomcat

How to install apache tomcat on Linux RHEL 8 / CentOS 8

In this tutorial we will learn how to install Apache Tomcat 8 application container to RHEL 8 / CentOS 8. We will be using the zip package available to download from the Apache Tomcat website. As this package will not handle setting up the environment, we will create it from the command line.

In this tutorial you will learn:

  • How to install Apache Tomcat from zip file
  • How to create the environment for the Tomcat server from command line
  • How to add basic service file to systemd
  • How to enable autostart, start and stop the Tomcat server
  • How to verify Tomcat is reachable

Read more

HTTPS is enabled

How To Customize Docker Images With Dockerfiles

This article shows how to customize Docker images using a description file named Dockerfile. You’ll see how to extend existing images, customizing them to your needs, and also how to publish the resulting image to Docker Hub.

In this tutorial you will learn:

  • How to customize an image with a Dockerfile.
  • How to publish the resulting image in Docker Hub.

Read more

Zookeeper Architectural Overview

How to install and configure Zookeeper in Ubuntu 18.04

Zookeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
All of these kinds of services are used in some form or another by distributed applications.

In this article, we have explained the necessary steps to install and configure 3 Node Zookeeper Cluster with a definite quorum on Ubuntu 18.04.

In this tutorial you will learn:

  • What is Zookeeper and its Overview.
  • What is the Architecture of Zookeeper.
  • How to Configure the Zookeeper hosts and Add Zookeeper User.
  • How to Install and Configure Oracle JDK.
  • How to Configure and Setup the Zookeeper.
  • How to Configure Worker Nodes to join the Swarm Cluster.
  • How to Verify the Zookeeper Cluster and Ensemble.

Read more

rpm

How to perform python input/output operations on files with python open function

The manipulation of files is an operation which sooner or later we’ll need to perform in our programs. The python built-in open function returns a file object, which lets us interact with files in different modes: we will see them in this article.

In this python tutorial you will learn:

  • How to use the python open function.
  • What are the various modes of operation which can be used with the python open function.
  • How to interact with a file object.
  • Why is important to close a file object, and how to do it.

Read more

PHP installed

How To Interact With Docker Containers

This article extends the previous Docker article and shows how to interact with Docker containers by executing commands inside containers, installing software inside containers, inspecting container status, accessing containers using Bash, persisting changes into images and removing unused containers and images.

In this tutorial you will learn:

  • How to execute commands inside containers
  • How to install software inside containers
  • How to inspect container status
  • How to access containers using Bash
  • How to persist changes into images
  • How to remove unused containers and images

Read more

Docker Swarm Services

How to Configure Docker Swarm with multiple Docker Nodes on Ubuntu 18.04

Docker Swarm is a container orchestration and clustering tool to manage Docker hosts, and is a part of Docker Engine. It’s a native clustering tool provided by Docker which provides high-availability and high-performance for your application.

The primary objective of Docker Swarm is to group multiple Docker hosts into a single logical virtual server—this ensures availability and high performance for your application by distributing it over a number of Docker hosts instead of just one.

In this tutorial you will learn:

  • What is Docker Swarm
  • How to Configure Hosts
  • How to Install and Run Docker Service
  • How to Configure the Manager Node for Swarm Cluster Initialization
  • How to Configure Worker Nodes to join the Swarm Cluster
  • How to Verify the Swarm Cluster
  • How to Deploy new Service on Swarm Cluster

Read more

NVIDIA CUDA Toolkit on Fedora 28 Linux

How to install NVIDIA CUDA Toolkit on Fedora 29 Linux

The Nvidia CUDA toolkit is an extension of GPU parallel computing platform and programming model. The Nvidia CUDA installation consists of inclusion of the official Nvidia CUDA repository followed by the installation of relevant meta package.

In this How to install NVIDIA CUDA Toolkit on Fedora 29 Linux tutorial you will learn:

  • How to download the latest NVIDIA CUDA repository package.
  • How to install the CUDA repository package on Fedora 29.
  • How to select and install a CUDA meta package on Fedora 29.
  • How to export system path to the Nvidia CUDA binary executables.
  • How to confirm and test your CUDA installation.

Read more

NVIDIA CUDA Toolkit on Fedora 28 Linux

How to install NVIDIA CUDA Toolkit on Fedora 28 Linux

The Nvidia CUDA toolkit is an extension of the GPU parallel computing platform and programming model. The Nvidia CUDA installation consists of inclusion of the official Nvidia CUDA repository followed by the installation of relevant meta package.

In this How to install NVIDIA CUDA Toolkit on Fedora 28 Linux tutorial you will learn:

  • How to download the latest NVIDIA CUDA repository package.
  • How to install the CUDA repository package on Fedora 28.
  • How to select and install a CUDA meta package on Fedora 28.
  • How to export system path to the Nvidia CUDA binary executables.
  • How to confirm and test your CUDA installation.

Read more