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
linux

AlmaLinux vs Rocky Linux: Which RHEL-Compatible Distro Should You Run?

Compare AlmaLinux 9/10 and Rocky Linux 9/10 for servers: RHEL compatibility models, support timelines, cPanel support, migration tools, hardware requirements, patching philosophy, and when to pick each Enterprise Linux …

Deepak Prasad10 min read
linux

AlmaLinux vs Ubuntu: Which Should You Run on a Server?

Compare AlmaLinux 9 and 10 with Ubuntu 24.04 LTS for servers: RHEL compatibility, dnf vs apt, SELinux vs AppArmor, support timelines, cPanel hosting, cloud images, migration from CentOS, and practical workload guidance.

Deepak Prasad10 min read
linux

How to Install Yazi on Ubuntu

Install Yazi on Ubuntu from the official GitHub .deb, a zip binary, Snap, or an APT repo; pull in preview dependencies like fd, ripgrep, and fzf; fix the fd-find name on Ubuntu; launch yazi, and uninstall cleanly.

Deepak Prasad13 min read
linux

add-apt-repository: Command Not Found — Fix and How to Add APT Repositories

Fix sudo add-apt-repository command not found on Ubuntu and Debian by installing software-properties-common, verify the binary, add or remove PPAs and third-party repos, and use manual sources.list.d when the helper is …

Deepak Prasad8 min read
linux

Debian 12 vs Ubuntu 24.04 LTS for Servers

Compare Debian 12 Bookworm and Ubuntu 24.04 LTS Noble for servers: release cycles, security support, package freshness, Snap vs pure APT, cloud images, resource use, and when to pick each distro for production workloads.

Deepak Prasad10 min read
linux

Install or Upgrade Python on Ubuntu 24.04 and 22.04 Safely

Install or upgrade Python on Ubuntu 22.04 and 24.04 without replacing system python3: latest stable 3.14, optional 3.15 pre-release, Deadsnakes PPA or source altinstall, virtualenv, safe project migration, and …

Omer Cakmak12 min read
programming

Golang Tutorial for Beginners (Hands-On)

Free, complete Go (Golang) tutorial in learning order: install, modules, syntax through structs, error handling, I/O and JSON, then goroutines, HTTP, databases, testing, security, logging, Docker/Lambda/cgo. 100+ …

Deepak Prasad1 min read
programming

Modern JavaScript Tutorial (ES6+ Hands-On)

Free, hands-on JavaScript tutorial - strings, numbers, arrays, objects, ES6+ features, classes, async/await, the DOM, error handling, and common error fixes. 75+ runnable lessons covering modern JavaScript. Each linked …

Deepak Prasad2 min read
system-administration

OpenLDAP Tutorial for Beginners - Install, Configure, Replicate

Free, hands-on OpenLDAP tutorial - install on RHEL/CentOS/Rocky/Ubuntu, configure TLS, set up master-slave and multi-master replication, integrate Linux clients, and migrate from one server to another. 12 …

Deepak Prasad1 min read
networking

Cannot assign requested address [SOLVED]

The "Cannot Assign Requested Address" error is quiet common in the network community and can be seen in various network-related and application specific

Deepak Prasad6 min read
system-administration

Fixing 'SSH: No Route to Host' Error

The "SSH: No route to host" error to be honest can occur n number of issues. There is no specific one solution which will work for all scenarios. So in this

Deepak Prasad9 min read
security

3 Methods to Perform DNS Reconnaissance

DNS reconnaissance is a technique to gather information about DNS (Domain Name System) data. This process helps in identifying the network infrastructure and

Deepak Prasad5 min read
security

Active and Passive Reconnaissance Explained

Common active reconnaissance methods include the following:

Deepak Prasad4 min read
linux

How to Install Caddy Web Server on Ubuntu

Install Caddy on Ubuntu from the official Cloudsmith APT repo: add the GPG key, apt install caddy 2.11.4, verify systemd, serve a static site with a Caddyfile, open UFW ports 80 and 443, and enable automatic HTTPS for …

Deepak Prasad8 min read
devops

Error: can only create exec sessions on running containers

Explore solutions to the Docker error 'can only create exec sessions on running containers: container state improper.

Deepak Prasad4 min read
linux

How to install Epson et-2720 on Ubuntu? [SOLVED]

Ubuntu is a free and open-source operating system that is widely used in desktops and servers. It is known for its stability, security, and ease of use. One

Omer Cakmak4 min read
linux

How to install EPEL Repository Rocky Linux?

In this tutorial we will share steps and different methods to install EPE repo in Rocky Linux

Omer Cakmak5 min read
programming

Compare Structs, Slices, and Maps in Go (Equality and Deep Equality)

Learn how to compare two structs, slices, and maps in Go: struct equality with ==, slice and map checks with slices.Equal and maps.Equal (Go 1.21+), reflect.DeepEqual, test-focused go-cmp, and when to write your own …

Tuan Nguyen6 min read
linux

How to Install NordVPN on Ubuntu

Install NordVPN on Ubuntu with the official install.sh script or Snap, add your user to the nordvpn group, log in with nordvpn login, connect with nordvpn connect, and fix Permission denied nordvpnd.sock and LAN …

Omer Cakmak6 min read
devops

Keep Docker Container Running (5 Easy Methods + Examples & Best Practices)

Learn how to keep a Docker container running using multiple methods like TTY mode, entrypoint, sleep infinity, and process management. Fix containers exiting immediately with practical examples and best practices.

Deepak Prasad4 min read
tools

How to use Discord Server Boost? [SOLVED]

With Discord Server Boost, when you boost a Discord server, it will appear at the top of the list of servers when people search for servers to join

Mark Arvin Tychingco6 min read
devops

Override Docker Entrypoint (How to Change CMD & ENTRYPOINT with Examples)

Learn how to override Docker ENTRYPOINT and CMD using docker run options. Understand the difference between ENTRYPOINT and CMD with practical examples and best practices.

Deepak Prasad4 min read
programming

Copy Structs in Go: Value Assignment, Pointers, Shallow vs Deep

Copy structs in Go: assignment copies the struct value; fields that are slices, maps, or pointers still alias shared backing data unless you duplicate them; primitives and arrays inside the struct copy by value.

Tuan Nguyen3 min read
devops

Docker ps -a Explained (List All Containers with Examples & Filters)

Learn how to use docker ps -a to list all containers including stopped ones. Explore examples, filters, and output details to manage Docker containers effectively.

Deepak Prasad3 min read
programming

Golang UDP server and client: ListenPacket, DialUDP, and sending packets

Golang udp server and udp server golang with net.ListenPacket, golang udp client and go udp server patterns with DialUDP, golang send udp packet via WriteTo and Write, plus a minimal udp example for go udp and golang udp …

Tuan Nguyen4 min read
programming

Golang TCP server and client: step-by-step from basic to advanced

Step-by-step golang tcp server and golang tcp client: net.Listen and net.Dial, tcp server golang and tcp client golang patterns, deadlines and concurrent accepts with the net package.

Tuan Nguyen6 min read
devops

SSH into Docker Container [3 Simple Methods]

There are 3 different possible methods to perform docker container SSH. Using docker exec, docker attach and by running a SSHD service inside a container and using SSH client to connect to container

Deepak Prasad6 min read
devops

Docker Restart Container [Control With Flags]

Docker restart container using various flags to control the restart behavior of the container

Deepak Prasad5 min read
devops

Add different condition in Dockerfile [5 Methods]

handle different condition in dockerfile such as docker file if else condition, arg conditions, ARG vs ENV comparison with examples

Deepak Prasad7 min read
cheatsheet

How to Extend an LVM Logical Volume with lvextend

Use lvextend to grow a Linux logical volume: pre-checks, size syntax (-L and -l), grow ext4 with resize2fs or XFS with xfs_growfs, post-checks, and what to do when the volume group is full.

Rohan Timalsina9 min read