Ansible is an open source configuration management, application deployment as well software provisioning tool that is used to deploy, configure & manage servers. Due to ease in using Ansible is one of the easiest & most popular automation tools. It uses YAML, which is easy to learn & does not require you to learn a complicated programming language like Ruby (used in puppet & chef).

Also, it does not require any special agent to be installed on client machines & only requires client machines to have python and ssh installed, both of these are usually available on systems.

Recommended Read…

VPN is now becoming a must-have for using the internet. Whether you want to secure your internet traffic or want to access some content on a streaming service that is currently not available in your country. Whatever the reason, VPN is now becoming a necessity, especially since there are privacy concerns looming around & also people do want to know which is the best VPN for PC or best VPN for Torrenting or Streaming Netflix, as there might be some restrictions in the country where you belong to.

But first for the uninitiated, a brief on VPN.

Recommended Read: Hostgator…

Like any other application or server, Redis installations might also be susceptible to unauthorized access or intrusions, if we have not secured it properly. In this tutorial, we will focus on securing Redis server to avoid any unauthorized access or intrusions.

Redis is an open source, in-memory data structure store or a key-value store that can be used as a cache for application, as a database server or even as a message broker. In our previous tutorials, we have already discussed the installation & also setting up a master-slave like architecture for the Redis server.

Recommended Read: SysAdmin’s guide to…


Having a comprehensive data protection policy in place is now a fundamental practice to help ensure your data manages to weather all the storms that can be thrown at it. Saying that it should be done is the easy part, actually doing it gets more complex, and laborious, depending on the policy in place and what standards and laws the organization needs to adhere to. Fortunately, for Linux users there a tool exists that makes backing up data a breeze, and it can all be done from the command line.

Recommended Read: Backup Linux data to Amazon S3 with CloudBerry…

Glances is an open source real time Linux server monitoring system that aims at providing as much as information possible in as minimum as space possible. Glances is like top command but more refined with many more features & much more real time information of your Linux system.

Glances provide information regarding memory, CPU, Disk IO , file system, Uptime, processes, interfaces, alerts & many other system information.

One of the best features of Glances is that it can work in server/client mode. …

Earlier we have discussed how we can configure network connections using three different methods i.e. by editing network interface file, by using GUI & by using nmtui command (READ ARTICLE HERE). In this tutorial, we are going to use two other methods to configure network connections on our RHEL/CentOS machines. We are going to discuss ‘nmcli’ command & ‘ifconfig’ command in Linux.

First utility that we will be using is ‘nmcli’ command & we can configure network on almost any Linux distribution using this method.

(Recommended read :- Assigning multiple IP addresses to a single NIC)

Also Read: How to…

SS command in Linux is used to get various network/socket connection-related information from a Linux system. Previously we had used the Netstat command to perform the same operations but it has been long deprecated & was replaced with the ss command in Linux.

SS command is much faster than netstat & capable of showing much more information than netstat. Those familiar with the Netstat command need not worry as the options used with the ss command are similar to netstat.

In this tutorial, we will learn the usage of the SS command with the help of SS command examples.


We have seen a tremendous increase in demand for automation in the IT industry & IaaC, Infrastructure as a Code is a must-needed skill to possess. There are a number of tools available for Automation/IaaC & Terraform is one such tool.

Terraform is a great tool for automating our infrastructure by converting all our infrastructure as code. We can deploy resources using only the terraform scripts. The great thing about terraform is that it supports almost all cloud providers like AWS, GCP, Azure, IBM Cloud, etc & also supports in-house solutions.

So why do we need to use Terraform?


Dockerfile is a text file that contains a list of commands that are used to build a docker image automatically. Basically, a docker file acts as a set of instructions that are needed to build a docker image.

We have earlier discussed how to create a docker container & also learned some important commands for managing the containers. In this tutorial, we will learn about how to create a dockerfile, all its parameters/commands with the dockerfile example.

Recommended Read: Complete guide for creating Vagrant boxes with VirtualBox

Also Read: Reference guide for Docker Commands — NEW v/s OLD

Dockerfile Example (Centos )

Mentioned below…

We have, in our earlier tutorial discussed the Dockerfile i.e. what are Dockerfiles & how to create one. We also mentioned three different examples, one each for CentOS, Fedora & Ubuntu to create docker images with Webserver (apache).

We will now use one of those Dockerfiles (CentOS one) to create a Docker image & will then upload the created image to Docker Hub. To simply explain Docker Hub, it’s a public registry that has over 15000 images that can be directly used or can be used to create a custom Docker image. Docker Hub is directly maintained by Docker.


LinuxTechLab is a beginner friendly website where you can learn Linux Tips & tricks,Scripting, also has lots of tutorials aimed at making Linux easy.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store