Skip to main content
LHB Community

LHB Community

82 posts published

LHB Community is made of readers like you who share their expertise by writing helpful tutorials. <a href="https://linuxhandbook.com/write-for-us/">Contact us</a> if you would like to contribute.

Ansible Lineinfile Module
Ansible Modules

Ansible Lineinfile Module: Manage Lines in Text Files

Learn to use the lineinfile module of Ansible with these real world examples.

· LHB Community

firewalld-cmd command examples
Network Monitoring Commands

firewalld-cmd Command Examples

The firewall-cmd command line tool lets you interact and manage the firewalld firewall in Linux. Here's how to use this command.

· LHB Community

handle long running tasks with Ansible
Ansible Tutorials

How to Handle Long Running Tasks in Ansible

Facing timeouts? Here is how you can handle tasks that take a long time to complete in Ansible.

· LHB Community

ddrescue
Tips

How I Use ddrescue Command to Recover Data from Failing Hard Disk in Linux

The ddrescue utility is a Linux command-line tool for recovering data from (almost) broken hard drives. Here's how I use it.

· LHB Community

Ansible Dry Run
Ansible Tutorials

Ansible Dry Run: Running Playbook in Check Mode

Not sure of things with your playbook? Here's how you can test your Ansible playbook by using the dry run feature.

· LHB Community

ansible shell module
Ansible Modules

Ansible Shell Module: Execute Shell Commands on Target Systems

Shell module in Ansible is a powerful tool for executing shell commands on remote hosts, but it comes with maintenance risks.

· LHB Community

Ansible Ping Module
Ansible Modules

Ansible Ping Module: Check if Host is Reachable

Quickly test if a node is available with Ansible ping command.

· LHB Community

Ansible service module
Ansible Modules

Ansible Service Module: Manage Services

The service module in Ansible comes in handy for managing services across a variety of platforms.

· LHB Community

Convert String to Bytes in Go
Go

Convert String to Bytes in Go

This simple tutorial shows you two ways of converting a string into bytes in golang with practical but simple examples.

· LHB Community

go init functions
Go

Understanding Init Function in Go With Examples

This tutorial provides an overview of the init functions in Go language.

· LHB Community

Using when Function in Ansible
Ansible Tutorials

Using when Function in Ansible

Here are several practical examples of using the when functionality in Ansible to only run the tasks when certain conditions are matched.

· LHB Community

Managing Cron Jobs Across Multiple Servers Using Dkron
Tools

Managing Cron Jobs Across Multiple Servers Using Dkron

A modern, advanced tool to manage cron jobs across a range of servers in your deployment.

· LHB Community

Ansible delegate_to
Ansible Tutorials

Running Tasks on Different Remote Systems Using delegate_to in Ansible

Using delegate_to, you can execute a particular task on a different specific host or group. Learn more about it with these practical examples.

· LHB Community

Kubernetes Node Affinity
Kubernetes

Understanding Kubernetes Node Affinity With Example

Efficiently schedule your pods with the node affinity feature in Kubernetes.

· LHB Community

Vagrant Triggers
Tutorial

Vagrant Triggers: Automating Virtual Machine Lifecycle Events

Vagrant Triggers allow automating specific actions before or after certain stages of a virtual machine's lifecycle, providing increased control over the management of your development environments.

· LHB Community

Git Hook Management with Pre-commit
Using Git

Git Hook Management with Pre-commit

Git provides a powerful tool for automation under the hood: hooks. In this tutorial, you will learn about the pre-commit framework that can bring order and structure to your script collection.

· LHB Community

Ansible Copy Module
Ansible Modules

Ansible Copy Module: Copy Files to Remote Targets

The Copy module in Ansible comes in handy in your setup. Learn some practical examples.

· LHB Community

Block Device Management with LVM
Tutorial

Efficient Block Device Management with LVM

Learn to manage block devices with LVM in this practical, hands-on approach guide.

· LHB Community

Using assh
SSH Advanced

ASSH: An Advance Way to Interact with SSH

Enhance your SSH experience with assh when you have numerous hosts to connect to.

· LHB Community

Submit a Pull Request on GitHub
GitHub Fundamentals

How to Submit a Pull Request on GitHub

In this GitHub primer series, learn about submitting a pull request and contributing to open source projects.

· LHB Community

Install Minikube on Ubuntu
Kubernetes

Install and Setup MiniKube on Ubuntu

Deploy Kubernetes cluster on your local Ubuntu system with minikube and start exploring Kubernetes.

· LHB Community

Jenkins on EC2: Automating Deployment with Terraform
DevOps

Jenkins on EC2: Automating Deployment with Terraform

Configuring Jenkins on AWS can be a tedious and error-prone process. Automate the installation of Jenkins on an AWS EC2 instance using Terraform.

· LHB Community

GitLab server with PostgreSQL
Tutorial

Installing a Private GitLab CE Server with PostgreSQL

Here's a tutorial for setting up a private GitLab server with PostgreSQL database and a replica server for database failover.

· LHB Community

Automatically Update AWS ECR Token in Kubernetes with CronJobs
DevOps

How to Automatically Update AWS ECR Token in Kubernetes with CronJobs

The ECR token expires every 12 hours. Learn to automatically use Kubernetes CronJobs to update the ECR token in your clusters or namespaces.

· LHB Community

Install LAMP stack in Ubuntu
Tutorial

Installing LAMP Server on Localhost on Ubuntu

Learn all about installing the popular LAMP tech stack on an Ubuntu server in your localhost in this step-by-step beginner's tutorial.

· LHB Community

LOMP stack with Ubuntu
Tutorial

How to Install LOMP Stack on Ubuntu

Learn all about installing the LOMP tech stack on an Ubuntu server in this step-by-step beginner's tutorial.

· LHB Community

dir command in Linux
Commands

The Lesser Known Dir Command in Linux

Learn about the dir command, the less known but identical cousin of the popular ls command.

· LHB Community

ONLYOFFICE on RedHat and CentOS systems
Tutorial

How to Deploy ONLYOFFICE Docs Server on RHEL/CentOS

ONLYOFFICE is an excellent open source alternative to Microsoft Office. You can self host it for online office and collaboration. Here's how to deploy on RedHat/CentOS distros.

· LHB Community

Integrate Nextcloud with ONLYOFFICE
Tutorial

Integrate Nextcloud with ONLYOFFICE Docs on Your Linux Server

Take the collaboration abilities of Nextcloud to the next level by integrating ONLYOFFICE and get a full-featured online office suite.

· LHB Community

Understanding man pages in Linux
Explain

Making the Most of man pages in Linux

Though extremely useful, man pages in Linux can be daunting and intimidating at first. This article aims to make it a bit easier to peruse manuals and quickly get the help one needs.

· LHB Community