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

2342 articles

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

How to manage Pentest Projects with Cervantes?

Cervantes is an open source, a collaborative platform designed for pen-testers and red teams looking to save time and manage their projects, clients,

Kennedy Muthii5 min read
system-administration

How to run script with systemd at shutdown only (not at reboot)

Steps to run script with systemd at shutdown only with examples in CentOS/RHEL 7/8 in Linux. Run script or command before shutdown but not at reboot

Deepak Prasad4 min read
system-administration

How to run script after N minutes of boot with systemd CentOS/RHEL 7/8

How to execute command or run script after N minutes of boot using systemd timer in CentOS/RHEL 7/8 Linux fix systemctl failing with unknown section 'Timer'

Deepak Prasad6 min read
system-administration

How to read user input during boot stage with systemd in Linux

Shell script to read user input during boot stage in Linux with a systemd service in CentOS/RHEL 7/8 Linux. Take input at the startup script in Linux.

Deepak Prasad4 min read
system-administration

How to run script on startup using systemd in Linux

How to execute and run script at startup after N minutes with delay using systemd and without cronjob in CentOS/RHEL 7/8 Linux before login prompt appears

Deepak Prasad6 min read
system-administration

How to run script with systemd right before shutdown in Linux

Steps to execute and run script with systemd right before shutdown in CentOS/RHEL 7/8 Linux. Use Before=shutdown.target to execute command before shutdown

Deepak Prasad3 min read
system-administration

How to run script with systemd right before login prompt in CentOS/RHEL 7/8

How to execute or run script with systemd right before login prompt in CentOS/RHEL 7/8 Linux between rc-local.service and getty.target in service unit file

Deepak Prasad5 min read
system-administration

How to run systemd service as specific user and group in Linux

run service as user linux. systemd allow user to start service. systemd start service as user on boot run systemd service as specific user group CentOS/RHEl 7/8

Deepak Prasad5 min read
linux

10+ commands to list all systemctl services with status

In systemd all the services are part of unit files so to list services we must define --type= argument and to get the state of individual services we need --state=

Deepak Prasad6 min read
system-administration

Understanding systemd-journald and how logging works with Journal in RHEL 7

An overview on systemd-journald service, how logging happens in RHEL 7 Linux with Journals and systemd-journald logrotate. Compare systemd-journald vs rsyslogd

Deepak Prasad7 min read
system-administration

How to enable persistent logging in systemd-journald without reboot

Enable persistent logging in systemd-journald by changing storage type to persistent in journald.conf to store logs in /var/log/journal without reboot

Deepak Prasad3 min read
system-administration

How to mount filesystem without fstab using systemd (CentOS/RHEL 7/8)

We mount filesystem using /etc/fstab to make the changes persistent across reboot. Now there is another way to mount filesystem without fstab using systemd.

Deepak Prasad9 min read
system-administration

How to mount partition using systemd unit file?

Steps to automount file system using systemd automount unit file without /etc/fstab to automatically mount and unmount file system in rhel/centos 7 and 8

Deepak Prasad9 min read
system-administration

How to force file system check on boot: systemd-fsck RHEL/CentOS 7/8

Creating /forcefsck and /fsckoptions doesn't work on CentOS/RHEL 7/8 Linux How to perform force file system check on boot (next reboot) using systemd-fsck?

Deepak Prasad4 min read
system-administration

How to start systemd service after NFS mount in Linux

How to execute a script after a network file system is mounted? How to start a systemd service only after NFS share is mounted and available in Linux

Deepak Prasad8 min read
system-administration

How to access VirtualBox shared folder at startup with systemd in Linux

How to mount Oracle VirtualBox shared folder using systemd unit file at system startup? How to execute a script during reboot on the shared folder from Vbox using systemd?

Deepak Prasad9 min read
system-administration

Create systemd service in Linux [Explained with Example]

Step by Step instructions to create systemd service in Linux. Detailed explanation of all the field in systemd service unit file

Deepak Prasad8 min read
security

OpenSSL create Certificate Chain [Root & Intermediate CA]

Steps to create root and intermediate CA certificate and combine them to openssl create certificate chain. Openssl verify certificate chain (CA bundle)

Deepak Prasad20 min read
security

Steps to generate CSR for SAN certificate with OpenSSL

Step by step instruction to generate Certificate Signing Request (CSR) for Subject Alternative Name (SAN) certificates using openssl with examples in Linux

Deepak Prasad6 min read
storage

2 easy methods to extend/shrink resize primary partition in Linux

Resize primary partition shrink and extend non lvm root, boot and other primary partition, change size of partition using unallocated free space fdisk & parted

Deepak Prasad17 min read
system-administration

Configure LDAP Client to Authenticate with LDAP server [Step-by-Step]

In our last article we configured LDAP server with TLS sertificates. Now we will configure LDAP client Linux) to authenticate with our LDAP server with ldapadd

Deepak Prasad7 min read
system-administration

Configure multi-master replication OpenLDAP

Multi-master replication in OpenLDAP is a replication technique using Syncrepl to replicate data to multiple provider ("Provider") Directory servers. Under the Multi-master OpenLDAP configuration, all the nodes are …

Deepak Prasad9 min read
system-administration

OpenLDAP Migration Tutorial

Perform openldap migration from one machine to another. Migrate system users to ldap user database using migrationtools rpm

Deepak Prasad6 min read
system-administration

sshd: ssh-rsa algorithm is disabled

We recently upgraded our Base OS and there we starting facing this issue where all SSH connection via RSA Key started to fail with error "sshd: ssh-rsa

Deepak Prasad3 min read
networking

Decrypt HTTPS & LDAPS Traffic using WireShark [100% Working]

In this tutorial I am going to share step by step instructions to decrypt both HTTPS and LDAPS Traffic using WireShark. This tutorial is demonstrated using

Deepak Prasad8 min read
linux

HackerRank Solution: Map Reduce Advanced - Count number of friends

The task is to count the number of friends each person has using a MapReduce framework. The input consists of multiple lines, each containing a pair of friend

Deepak Prasad3 min read
linux

Step-By-Step Tutorial: Use rootkit malware scanner (rkhunter) to detect malware

Perform rootkit malware scanner centos rhel linux using rkhunter. detect rootkit malware using rkhunter with examples. Analyse rkhunter logs

Deepak Prasad7 min read
devops

Top 4 Security Risks for Cloud Computing

Since its inception, cloud computing has significantly developed, offering unmatched IT security among many niches and industries. Unlike on-premise

Deepak Prasad3 min read
programming

HackerRank Solution: Python Default Arguments [Debugging]

There are 2 proposed methods to solve default arguments for hackerrank solution in python

Bashir Alam5 min read
programming

HackerRank Solution: Python Diwali Lights

On the eve of Diwali, Hari is decorating his house with a serial light bulb set. The serial light bulb set has N bulbs placed sequentially on a string which

Bashir Alam4 min read