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
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
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
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
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
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
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
[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
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
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
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
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
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
3 simple and useful tools to grep multiple strings in Linux
How to grep multiple strings and patterns in single line from a file in Linux or Unix? Is it possible to grep multiple strings using single command from a file?
How to install Oracle Virtual Box on Linux (CentOS / RHEL 7)
Step by step Guide to install Oracle Virtual Box on RHEL / CentOS 7 Linux. To install Oracle Virtual Box you need EPEL repo. Oracle Virtual 5.2 is out now
How to enable SSH access & configure network in rescue mode (CentOS/RHEL
Steps to enable SSH access in linux rescue mode and configure network in rescue mode in RHEL/CentOS 7/8 with example transfer sosreport file inst.sshd=1
How to Disconnect and Kill a Hung SSH Session
Steps to disconnect hung ssh session. Kill ssh session. Terminate stuck ssh session. Kill unresponsive ssh session. Disconnect pssh session in Linux
How to use C++ WriteFile?
C++ provides several file I/O functions that enable programmers to write and read data from files. One of these functions is WriteFile, which is part of the
How to get complete dependencies list of rpm ?
To find or get complete dependencies list of rpm you can use rpm, yum and repoquery command for both installed and non installed package
Step-by-Step Tutorial: Guide to install systemtap in Linux
Tutorial guide to install systemtap (stap) to extract, filter and summarize data to enable diagnosis of complex performance. Systemtap Tutorial Linux
How to set default boot kernel on Linux ( CentOS / RHEL 7 )
How to set default boot kernel in linux? Change the default boot entry for kernel ? Boot with old kernel version ? Revert to previous kernel version ?
How to delete iscsi target from initiator ( CentOS / RHEL 7 ) Linux
How to delete iscsi target? Remove inactive iscsi target? Remove iscsi storage target from initiator? Remove iscsi virtual disk on CentOS / RHEL 7 Linux.
8 ways to prevent brute force SSH attacks in Linux (CentOS/RHEL 7)
Prevent brute force SSH attacks in RHEL CentOS 7 with examples using Fail2ban, account lockout, SSH rate limit using iptables, sshd_config, SHA512 hashing
How to use cin for an array in C++
In c++ cin array is not performed in one cin statement. In this article we will learn about array input in c++. To understand array input, we first need to
2 ways to boot with old kernel version in RHEL 8 using grubby
Steps to set default boot kernel in RHEL 8 using grubby and boot with old kernel version. Check the kernel version which will get activated after reboot
How to restrict or allow ssh only from certain users, groups or hosts in Linux
How to allow SSH for root login only from specific host or IP address? How to configure and restrict SSH to permit login only for certain users and/or groups?
How to PROPERLY boot into single user mode in RHEL/CentOS 7/8
linux single user mode, centos 7 single user mode, rhel 7 single user mode, single user mode linux, how to boot into single user mode linux, centos single user mode, single user mode
Install iRedMail on Rocky Linux 8 [Step-by-Step]
Step by Step instructions to install iredmail on rocky linux 8 with screenshots. Install and Configure iredmail server GUI
Add timestamp to SSHD DEBUG logs
Add timestamp to SSHD DEBUG logs using while loop. Prepend timestamp to STDOUT and log file for DEBUG logs
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






