Blog

Latest Articles

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Cloud: AWS, Azure, OpenStack, and hybrid cloud administration
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • Tools: Useful tools and utilities for productivity

2298 articles

Blog illustration with latest articles, tutorials, guides, and how-to content across Linux and DevOps topics
programming

Java Variables Examples [Different Variable Types]

The most popular types of Java variables are Instance, Local and Static variables. We learned about the declaration, initialization, and syntax of variables.

Bashir Alam10 min read
programming

Java Multiline Comments [Methods & Examples]

In this tutorial, we learned about Java multiline comments, single line and inline comments. We covered different types of comments that we supported by java programs like a single line, multiline and Javadoc.

Bashir Alam10 min read
security

Defensive Programming Techniques Explained with Examples

Defensive programming can be tough to write source code, but it results in high- quality foolproof code

Deepak Prasad6 min read
linux

Install MariaDB on Rocky Linux 8.4

In this tutorial, we will learn how to install MariaDB on Rocky Linux 8.4. You may also check the mariadb page link for the official instructions to install

Deepak Prasad5 min read
devops

Git rebase explained in detail with examples

git rebase is used to integrate changes from one branch into another. rebase takes a series of commits (normally a branch) and replays them on top of another commit (normally the last commit in another branch). The …

Deepak Prasad12 min read
linux

How to Get Started with Game Development?

Game development might sound as simple as creating a video game. But have you ever thought about what it looks like

Deepak Prasad7 min read
security

How to stop ICMP ping flood attack (DOS) on Linux

Prevent ping flood attack in Linux using iptables and firewalld for both IPv4 and IPv6. Apply hash limit to ICMP Echo request to control ping flood in Linux and Unix servers.

Deepak Prasad7 min read
devops

How to add or remove label from node in Kubernetes

Add a label to node. Remove a label from node. Use kubectl label node to add or remove a label from worker or controller nodes in Kubernetes Cluster

Deepak Prasad5 min read
linux

How to implement password policy in RHEL Linux with examples

Learn to implement password policy with complexity, old password reuse and more using pwquality.conf explained with examples in RHEL/CentOS 7 Linux

Deepak Prasad5 min read
devops

How to configure Ansible on controller and managed node

Step by step instructions to configure ansible on RHEL/CentOS 8. Since ansible is agentless we don't need any configuration on managed nodes.

Deepak Prasad3 min read
devops

How to use Ansible managed nodes without Python

How to use ansible without installing python3 on managed nodes. Can we use ansible without python? How to use raw module in Ansible?

Deepak Prasad2 min read
devops

Working with managed nodes with password (not passphrase)

We can also use password instead of passphrase to connect with controller to managed nodes using --ask-pass. By default ansible will not prompt for any password.

Deepak Prasad2 min read
devops

Working with Ansible facts | Create custom facts with examples

Ansible facts is a term used for system information of the managed nodes. By default ansible playbook will gather facts from the managed nodes using setup module

Deepak Prasad3 min read
devops

Beginners guide to YAML Syntax in Ansible Playbooks

YAML uses indentation (like Python), which builds the relationship of items with one another and In Ansible, nearly every YAML file starts with a list.

Deepak Prasad4 min read
devops

How to repeat tasks using ansible loop with examples

Ansible loop is used to iterate over multiple tasks in playbook. It supersedes with_items in Ansible with later version as with_* are deprecated

Deepak Prasad7 min read
devops

Working with include and import module in Ansible

We can use Ansible import module to add playbook, tasks from another file into a different playbook. This can help use the same set of tasks across multiple playbook and save space

Deepak Prasad6 min read
devops

Steps to properly remove node from cluster in Kubernetes

Related Searches: drain kubernetes node, kubectl drain command, remove node from cluster kubernetes, kubernetes evict pods from node, kubernetes drain and

Deepak Prasad6 min read
devops

Helm hook-weight examples to order Jobs in Kubernetes

You can use the helm.sh/hook-weight annotation to hook resources that need to be created in a specific order. This weight can be any positive or negative integer number.

Deepak Prasad7 min read
system-administration

Show NFS shares | List NFS mount points | List NFS clients Linux

Examples and commands to show NFS shares on NFS server, List NFS mount points on NFS Clients, List NFS clients connected to the NFS server, List NFS shares in Linux

Deepak Prasad4 min read
system-administration

10 practical examples to export NFS shares in Linux

This tutorial contains a list of nfs exports options in Linux with examples to create NFS share using /etc/exports. You can share with multiple hosts, single or world

Deepak Prasad8 min read
devops

#3-ELK Stack: Configure kibana 7.x with SSL/TLS encryption

Kibana Tutorial to setup, install and configure Kibana dashboard with SSL/TLS encryption over HTTPS for elasticsearch cluster with examples in Linux.

Deepak Prasad8 min read
devops

#5-ELK Stack: Configure logstash 7.x with data pipeline

Steps to install and configure logstash 7.x and send data from logstash to elasticsearch. Monitor the logs on Kibana dashboard using index pattern

Deepak Prasad10 min read
devops

#4-ELK Stack: Configure metricbeat 7.x to monitor elasticsearch cluster

Tutorial to install and configure metricbeat to monitor elasticsearch cluster in ELK Stack on RHEL/CentOS 7/8 Linux with examples over SSL/TLS (HTTPS)

Deepak Prasad9 min read
devops

Simple examples to learn Kubernetes DaemonSets

A Kubernetes DaemonSet ensures a copy of a Pod is running across a set of nodes in a Kubernetes cluster.

Deepak Prasad9 min read
devops

How to use Kubernetes init containers with examples

A Kubernetes init container is an additional container in a Pod that completes a task before the "regular" container is started. The regular container will only be started once the init container has been started

Deepak Prasad4 min read
devops

Beginners guide on Kubernetes Namespace with examples

Kubernetes namespace implements strict resource separation. Resource limitation through quota can be implemented at a Namespace level also

Deepak Prasad9 min read
devops

Detailed tutorial on Kubernetes cron job scheduler

Kubernetes cron job scheduler can be used to control the a Job resource according to the Job template configured in the CronJob object. When the Job resource is created, one or more pod replicas will be created and …

Deepak Prasad6 min read
devops

How to assign Kubernetes resource quota with examples

The Kubernetes resource quota is applied on the namespace using CPU, memory, storage and object count such as number of pods in the namespace

Deepak Prasad13 min read
devops

Kubernetes labels, selectors & annotations with examples

Kubernetes provides labels, selectors and annotations to organize the cluster nodes. These are mostly used with replication controllers and replica sets in a deployment

Deepak Prasad10 min read
devops

Kubernetes ReplicaSet & ReplicationController Beginners Guide

Kubernetes ReplicaSet and ReplicationController (deprecated) are used to scale the number of Pods and make sure the minimum number of Pods are always running.

Deepak Prasad14 min read