system-administration

How to create custom tuned profile in Linux ( RHEL / CentOS 7 )

Get an overview of tuned profile tuned-adm and steps to create custom tuned profile in Red Hat or CentOS 7. List tuned profiles configure own tuned profile

Deepak Prasad4 min read
system-administration

Create KVM Virtual Machine using Cockpit UI RHEL CentOS 8

Step-by-Step Tutorial to create KVM Virtual Machine using Cockpit Web Console on RHEL/CentOS 8 Linux. virtual machine creation and management with Cockpit

Deepak Prasad6 min read
system-administration

Steps to Install and configure Controller Node in OpenStack - Part 1

Step by step guide to install and configure controller node in openstack, configure openstack services like keystone, mariadb, rabbitmq, environment files

Deepak Prasad16 min read
system-administration

10 easy steps to move directory to another partition RHEL/CentOS 7/8

How to move directory to another partition move opt to new partition. move home to another partition. move var to new partition in RHEL/CentOS 7/8 Linux.

Deepak Prasad11 min read
system-administration

Configure xfs quota (user, group and project quota) CentOS/RHEL 7/8

Configure xfs quota for user, group, projects (disk). Check and Modify XFS quota grace period. Enable and Disable XFS Quota in RHEL/CentOS 7/8 with examples

Deepak Prasad14 min read
system-administration

RHEL/CentOS 8 Kickstart example | Kickstart Generator

In this article I will share most used Kickstart commands to automate installation in sample RHEL/CentOS 8 Kickstart example file and link to kickstart generator

Deepak Prasad13 min read
system-administration

Create Custom RHEL ISO using Cockpit Image Builder (CentOS/RHEL 8)

Steps to create custom RHEL ISO using Cockpit Image Builder Web Console and CLI in RHEL 8 Linux. Create Live ISO, QCOW2, Amazon Machine Image, Azure Disk Img

Deepak Prasad10 min read
system-administration

How to properly update kernel in RHEL/CentOS 7/8 Linux

Steps to update kernel properly in production environment with examples. Precautions to be considered before and after you update kernel in RHEL/CentOS 7 and 8

Deepak Prasad7 min read
system-administration

Join Linux to Windows domain using adcli (RHEL/CentOS 7/8)

The adcli will be using System Security Services Daemon (SSSD) to connect a CentOS/RHEL 7/8 system to Microsoft Active Directory Windows Domain

Deepak Prasad12 min read
system-administration

5 simple methods to test ssh connection in Linux & Unix

Multiple commands to test ssh connection in Linux and Unix. How to test and check SSH connections with and without shell script examples. Check 22 port status.

Deepak Prasad7 min read
system-administration

List All Active SSH connections in Linux [8 Methods]

List active SSH connections in Linux. Show SSH connection history. Show active SSH sessions in Linux using multiple commands. How to check active ssh sessions.

Deepak Prasad12 min read
system-administration

Upload file to Linux server from Windows

3 different methods to upload file to Linux server from Windows. Using SCP or PSCP CLI tool, or Using WinSCP and/or FileZilla which are GUI based tool

Omer Cakmak5 min read
system-administration

4 useful methods to automate ssh login with password in Linux

How to automate SSH login with password? How to pass password to scp command used in bash script ? How to perform SSH login with password instead of using private key?

Deepak Prasad15 min read
system-administration

2 ways to update and rebuild initrd image in CentOS/RHEL 7 and 8

Steps to extract, modify, update and rebuild initrd image in CentOS RHEL 7 and 8 ISO DVD with examples using XZ / LZMA format Update initrd with modules drivers

Deepak Prasad10 min read
system-administration

Configure secure logging with rsyslog TLS to remote log server (CentOS/RHEL

Configure secure logging to remote log server with rsyslog TLS certificates in CentOS/RHEL 7 Forward syslog to remote log server securely using TLS certificates

Deepak Prasad16 min read
system-administration

How to transfer files over SSH with SSHFS in Linux & Windows

Step-by-Step Tutorial to transfer files over SSH using SSHFS between two Linux servers or Linux and WIndows server. Copy files between linux and windows using sshfs

Deepak Prasad6 min read
system-administration

Linux copy directory and contents from remote to local & vice versa

Rsync and SCP recursive examples to copy directory and contents. scp from local to remote server and scp from remote to local. copy file from ssh to local or local to ssh server

Deepak Prasad13 min read
system-administration

Capture ssh & sshd strace logs

Step by Step instructions to capture SSH and SSHD strace logs with DEBUG and VERBOSE. Add timestamps to SSH and SSHD debug and strace logs

Deepak Prasad13 min read
system-administration

Add timestamp to SSH verbose logs [STDOUT & Log File]

Execute SSH and add timestamp to SSH verbose logs. Store the verbose logs into a log file and add timestamp prefix to each entry of log file with while loop

Deepak Prasad4 min read
system-administration

SOLVED: SSH fails with postponed publickey error

[Solved} Steps to debug and fix postponed publickey error leading to SSH connection failure. You may also get ROOT LOGIN REFUSED, Failed pubkey, permission issues with SSH

Deepak Prasad7 min read
system-administration

Beginners guide to mount NFS share in Linux with examples

Step by step instructions to mount and unmount NFS share in Linux with examples. How to fix umount.nfs4:: device is busy

Deepak Prasad7 min read
system-administration

SOLVED: Run SSHD as non-root user (without sudo) in Linux

In this tutorial I will share the step by step instructions to run SSHD as non- root user in Linux platform. The same steps can be used for non privileged docker container pods and kubernetes

Deepak Prasad12 min read
system-administration

Configure Thin Provision LVM using kickstart with example in CentOS/RHEL 7/8

Configure thin provision lvm using kickstart and PXE server in CentOS/RHEL 7 and 8 Linux with examples. Define custom chunksize and metadata to create thinpool

Deepak Prasad5 min read
system-administration

[SOLVED] Restrict FTP user to a directory in Linux

Use chroot_local_user to restrict FTP user to a directory in vsftpd.conf in Linux. You can specify the directory name and path which acts as home directory for chroot

Omer Cakmak6 min read
system-administration

NFS mount options | NFS exports options | Beginners Guide

Linux NFS mount options example, Linux NFS exports options, root_squash vs no_root_squash, hard mount vs soft mount, Unix NFS performance. NFS mount options fstab

Deepak Prasad15 min read
system-administration

What are GRUB Files in Linux? [In-Depth Tutorial]

Grub files, also known as GRand Unified Bootloader, are essential components in the Linux operating system that facilitate the booting process. Grub files are

Deepak Prasad14 min read
system-administration

Integrate Samba with Active Directory (Linux & Windows)

To integrate Samba share with Active Directory we can use winbind to join Linux client with domain controller and use smbclient to access the windows share

Deepak Prasad8 min read
system-administration

3 easy steps to configure gmail smtp relay with postfix

Step by step tutorial to configure postfix using third party gmail smtp relay to send mails to external network. Use SASL with Google 2-Step Authentication

Deepak Prasad7 min read
system-administration

Install & configure FreeIPA Server & Client (RHEL/CentOS 7)

Step by Step guide tutorial on how to install and configure FreeIPA, ipa server LDAP, kerberos, DNS and IPA client on RHEL/CentOS 7 Linux with GUI and CLI

Deepak Prasad12 min read
system-administration

Create KVM virtual machine | virt-manager | RHEL CentOS 8

Step-by-Step Guide to create KVM Virtual Machine using Virtual Manager in RHEL and CentOS 8 Linux. Create VM, Take Snapshot, Assign Networks using Virtual manager GUI

Deepak Prasad6 min read