Author : Aftab Ali

Execute a MySQL command from a shell script

I was having trouble creating databases and their users with permission when automating with bash shell script. In this post, I will show you how to execute the mysql or mariadb command using bash shell script, as well as an alternate method.  Method 1: Using Bash shell You need to use the following command in […]

Enabling process monitoring with node-exporter

Due to OS version different node-exporter not processing OS process in our scenario, We need to modifythe prometheus-node-exporter service, To do that we need to open the given systemD file using the given prometheus-node-exporter.service Step 1: Get SystemD Path Execute the command to know the systemD path and file name. Step 2: Open SystemD Service […]

How To Install MariaDB on CentOS 8

MariaDB is a free and open-source database management system that is frequently used in place of MySQL in the well-known LAMP (Linux, Apache, MySQL, PHP, Python, and Perl) stack.It is intended to be an easy-to-use alternative to MySQL. On a CentOS 8 server, we will demonstrate how to install MariaDB’s most recent version in this […]

Installation of Node-exporter on Window Machine

Step 1: Download the msi package from given link. https://github.com/prometheus-community/windows_exporter/releases/download/v0.20.0/windows_exporter-0.20.0-amd64.msi Step 2: Its show you warning to avoid the download and avoid the installation, Please ignore and select the Keep option. Step 3: Install the windows_exporter Note: Again, its show you don’t run the application, but we need to info button to get install button […]

How to install Grafana Loki using Bash Shell Script on uhbuntu 22.04 LTS

  In this post, We will install Grafana Loki using Bash Shell Script on ubuntu 22.04 LTS  Step 1: Create bash script named grafana-loki.sh You need to use the any text editor to create a black grafana-loki bash shell script, Use the following command for the same. vim grafana-loki.sh Step 2: Paste the follwing command  […]

How to build Python3 docker image using linux

In this post, We will build the python3 docker image, Use the following command for the same. Step 1: Create a Dockerfile You need to create a Dockerfile using any text editor like vim. Step 2: Paste the following command. Step 3: Execute the docker build command In order to execute the docker build command […]

How to Install Kubernetes with Minikube on Ubuntu 22.04 LTS

  Minikube is a free and open source apparatus that empowers you to set up single hub Kubernetes bunch inside your Linux framework. Minikube can be introduced on Linux, MacOS and Windows Operating framework. Minikube likewise underpins different Kubernetes highlights, for example, NodePorts, DNS, Container Network Interface, Ingress, ConfigMaps, Secrets and considerably more.In this post, We […]

Scroll to top