Author : Aftab Ali

How to update ubuntu repository

Introduction A repository in Ubuntu is a collection of software packages that are designed to work with the Ubuntu operating system. These packages can be easily installed, updated, and removed using the Advanced Package Tool (APT), which is the default package manager for Ubuntu. Ubuntu repositories are organized into different components, such as main, restricted, […]

Installing Node Exporter on ubuntu 22.04 LTS

Node-exporter is an open source agent tool that exposes the system metrics, and later on we can configure the node exporter endpoint with Prometheus to make queries and create dashboards as per our requirements. We will have to make automation for node export installation using bash sell script while working in DevOps and SRE environments, […]

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. 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 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 Step 2: Paste the follwing command  […]

Scroll to top