Categories
SysOps

How to create custom bash prompt

Today, I will show you my personal shell prompt, so you could define your own custom bash prompt.

Categories
DevOps

How to rebalance Docker service

Docker services are not automatically rebalanced after events that affect Docker Swarm nodes, so you have to initiate this process yourself.

Categories
SysOps

How to execute rc.local shell script during boot using systemd

Execute rc.local shell script during boot using systemd compatibility generator.

Categories
DevOps

How to create Elasticsearch cluster using docker

Create an Elasticsearch cluster using docker to learn how it behaves during specific operations.

Categories
SysOps

How to perform shell script analysis

Perform shell script analysis using shellcheck, a shell script static analysis tool.

Categories
WebOps

How to enforce specific referer header using nginx

Enforce specific referer header using nginx directives.

Categories
DevOps

How to deploy Portainer stack inside Docker Swarm cluster

Deploy Portainer stack inside the Docker Swarm cluster.

Categories
SysOps

How to display packages that are no longer required

Display packages that were installed automatically to satisfy various dependencies and are no longer required.

Categories
SysOps

How to calculate Elasticsearch average documents number in recent days

Calculate Elasticsearch’s average documents number in recent days using a shell script.

Categories
SysOps

How extend existing ext4 filesystem using systemd service

Use systemd service to automatically extend existing ext4 filesystem on boot or on-demand to optimize virtual machine configuration.