Blog

Latest Articles - Page 28

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

3098 articles

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

How to Update the Kernel on RHEL with DNF

Update the kernel safely on RHEL with DNF. Check available versions, install the latest kernel, verify the default boot entry, reboot, and confirm the new kernel.

Omer Cakmak8 min read
linux

RHEL Patch Management: Security Updates, CVEs and DNF Patching

Learn RHEL patch management with DNF: identify security advisories and CVEs, apply security-only updates, patch specific RHSA or CVEs, and verify remediation.

Omer Cakmak13 min read
linux

How to Fix "There Are No Enabled Repositories" on RHEL

Fix "There are no enabled repositories" on RHEL by checking DNF repositories, system registration, BaseOS/AppStream, Subscription Manager, and offline repository configuration.

Omer Cakmak9 min read
linux

How to Safely Remove Old Kernels Using DNF or YUM

Remove old Linux kernels safely on RHEL, Rocky Linux and AlmaLinux with dnf remove --oldinstallonly, protecting the running kernel and a bootable fallback.

Omer Cakmak7 min read
linux

How to Downgrade RPM Packages in Linux with DNF and YUM

Downgrade an installed RPM package on RHEL-family systems with dnf downgrade, install an exact older build, handle common errors, and lock the version with versionlock.

Omer Cakmak8 min read
linux

How to Exit Full Screen Mode in virt-manager

To exit full screen in virt-manager, move the pointer to the top-center edge and click the hidden restore button. Learn why Ctrl+Alt+F may not work.

Omer Cakmak8 min read
system-administration

How to Rebuild initramfs on RHEL with dracut

Rebuild the initramfs image with dracut for one kernel or every installed kernel, add storage and network drivers, and inspect the result with lsinitrd.

Omer Cakmak17 min read
linux

How to Check Open Ports in Linux

Learn how to check open and listening ports in Linux with ss, lsof, nmap, and nc. Find the process using a port and test remote port access.

Omer Cakmak10 min read
linux

How to List Running Processes in Linux

Learn how to list running processes in Linux with ps, top, pgrep, and pstree. Filter processes by user, PID, name, CPU, memory, and state.

Omer Cakmak9 min read
cheatsheet

Terraform Cheat Sheet: Commands, HCL Syntax and Examples

Scan-first Terraform cheat sheet for CLI commands, configuration files, HCL syntax, variables, expressions, count and for_each, state and import, modules, workspaces, and debugging — with links to full tutorials.

Deepak Prasad9 min read
devops

Terraform State Explained with Examples

Learn what Terraform state is on Ubuntu — terraform.tfstate purpose, configuration vs real infrastructure, terraform show and state list, drift, sensitive data, Git rules, local vs remote state, and a full local_file …

Deepak Prasad12 min read
devops

Terraform Providers: Configuration and Aliases

Learn Terraform providers on Ubuntu — required_providers, provider blocks, aliases, terraform init installation, terraform providers, local and Docker examples, and common provider errors without cloud credentials.

Deepak Prasad14 min read
devops

terraform destroy Command with Examples

Learn terraform destroy on Ubuntu with the Docker provider — provision disposable resources, preview with plan -destroy, confirm or auto-approve teardown, use -target safely, and understand state and configuration after …

Deepak Prasad12 min read
devops

terraform validate Command with Examples

Learn terraform validate on Ubuntu — what it checks, syntax and schema errors with real output, validate -json for automation, init -backend=false for CI, and how validate differs from plan and fmt.

Deepak Prasad12 min read
devops

terraform fmt Command with Examples

Learn terraform fmt on Ubuntu — rewrite .tf files to canonical style, use -check and -diff, format recursively, enforce formatting in CI, and see how fmt differs from terraform validate.

Deepak Prasad12 min read
devops

terraform apply Command with Examples

Learn terraform apply on Ubuntu with the Docker provider — interactive approval, saved plans, -auto-approve, -var and -var-file, in-place updates, -replace, partial failure behavior, and independent resource …

Deepak Prasad13 min read
devops

terraform plan Command with Examples

Learn terraform plan on Ubuntu with the Docker provider — read execution plan output, preview create/update/replace/destroy, save plans with -out, and use -var, -destroy, -refresh-only, -detailed-exitcode, -target, and …

Deepak Prasad15 min read
devops

Terraform init Command with Examples

Learn what terraform init does on Ubuntu — backend and provider setup, module downloads, .terraform directory, .terraform.lock.hcl, common flags, and when to reinitialize a working directory.

Deepak Prasad13 min read
devops

Terraform HCL Syntax and Configuration Files

Learn Terraform HCL syntax on Ubuntu — blocks, labels, arguments, expressions, comments, .tf and .tf.json files, multi-file layouts, terraform fmt, validate, and common syntax errors with real fixes.

Deepak Prasad11 min read
devops

Set Up a Terraform Lab on Ubuntu with Docker

Prepare a single Ubuntu VM with Docker, helper tools, isolated Terraform working directories, and optional plugin cache so you can practice init, plan, apply, and destroy without cloud credentials.

Deepak Prasad14 min read
devops

Install Terraform on Ubuntu

Install Terraform on Ubuntu 26.04 from the official HashiCorp apt repository, verify with terraform version, install a specific package version or upgrade, install the release binary with checksum verification, and …

Deepak Prasad12 min read
devops

What Is Terraform? Infrastructure as Code Explained

Learn what Terraform is and how infrastructure as code works — declarative configuration, providers, resources, state, the init plan apply workflow, realistic use cases, and a local example on Ubuntu without a cloud …

Deepak Prasad10 min read
devops

Terraform Architecture: How Terraform Works

Learn how Terraform works architecturally on Ubuntu — configuration, Terraform Core, provider plugins, dependency graphs, how state differs from desired configuration, what init plan and apply do internally, resource …

Deepak Prasad12 min read
devops

HCP Terraform Workspaces and Projects

Organize Terraform in HCP Terraform on Ubuntu — how a workspace holds one collection of infrastructure with its own state and runs, how projects group and scope those workspaces, how HCP workspaces differ from Terraform …

Deepak Prasad21 min read
devops

HCP Terraform Variables and Variable Sets

Supply values to HCP Terraform runs from an Ubuntu host — how Terraform variables differ from environment variables, how workspace variables and variable sets at workspace, project, and organization scope combine, the …

Deepak Prasad25 min read
devops

HCP Terraform Tutorial: CLI and Remote Runs

Connect the Terraform CLI to HCP Terraform on Ubuntu — authenticate with terraform login, add a cloud block, initialize a CLI-driven workspace, trigger remote plan and apply runs that stream to your terminal, confirm …

Deepak Prasad24 min read
devops

HCP Terraform Collaboration and Governance

Understand HCP Terraform governance on Ubuntu — how teams and permissions scope access across organization, project, and workspace levels, how Sentinel and OPA policy sets evaluate plans, why teams use the private …

Deepak Prasad13 min read
devops

Git Reflog Explained: Recover Lost Commits, Reset, Amend & Branches

Learn what git reflog is and how to use it with practical examples. Recover commits after git reset --hard, restore amended commits, recover deleted branches, inspect stash reflog, and understand reflog expiration …

Steve Alila14 min read
devops

Git Show Command Explained (View Commit Details, Diff and Files)

Use git show to inspect a commit, read a file at a past revision, view tag metadata, and print low-level Git objects — with tested examples on Ubuntu and a side-by-side comparison with git log and git diff.

Steve Alila9 min read
devops

Terraform Provider Aliases with Modules

Pass default and aliased provider configurations into Terraform child modules on Ubuntu — provider requirements versus configurations, automatic inheritance, providers meta-argument mapping, configuration_aliases, count …

Deepak Prasad17 min read