Sometimes we need to use the command line to build and push Docker images. I was recently working on an Ubuntu machine where I was performing the Docker build and Docker push commands. In this short post, We will see how to take docker hub login using command line on ubuntu desktop. Step 1: Login […]
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 […]
Enable Rewrite module on Apache2
Rewrite module is so important for modern web application, Basicly recently i was setup an wordpress website and i created a virtualhost for the same, I did not enable the rewrite the module due to this misconfiguration whenever the try new post i was getting invalid json error, So in this post i will show […]
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 […]
Send custom metric using Prometheus Push Gateway
You can use the below CURL request to send custom metric in Prometheus using Push Gateway. Conclusion We have successfully Send custom metric using Prometheus Push Gateway Kindly report in case you are facing difficulties with following details.
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 […]