How to Configure LVM in Linux (pvcreate, lvcreate, vgcreate)

configure lvm linux

Logical Volume Management (LVM) creates a layer of abstraction over physical storage, allowing you to create logical storage volumes. With LVM in place, you are not bothered with physical disk sizes because the hardware storage is hidden from the software [...]

Deep 1:30 pm

How to Setup a Centralized Syslog Server in Red Hat Linux

linux syslog server

Server logs become essential troubleshooting key points for system administrators when an issue occurs. By default, all the logs on RHEL based servers are stored in /var/log directory.  The syslog daemon can be configured to send logs to a remote [...]

Deep 6:27 pm

Best YUM Command in Linux for Package Management

yum package install

Yum (Yellowdog Updater Modified) is a utility provided in RHEL based systems to install, remove and search packages. It can do a lot more than just installing and removing and that's what I will demonstrate in this article. Understand how [...]

Deep 4:06 am

How to Use Linux Screen Command for Remote SSH

When you are using ssh command, it provides you only one screen(terminal). If you lose that screen, you lose all you were doing on the remote computer. Sometimes it happens when a network glitch breaks the ssh connection and you [...]

Deep 3:16 am

Data Protection in Linux By Encrypt Filesystem Using LUKS

The Linux Unified Key Setup (LUKS) is a disk encryption specification that can help protect the data on devices it is configured on. Major companies have now started adopting it on workstations / laptops given to employees so that the [...]

Deep 4:06 am

Create And Enable Swap Partition in Linux

Swap space in a useful memory that allows your server to continue offer it's services even if the server is completely out of main memory (RAM). Linux OS should have swap space even if it is never going to use [...]

Deep 5:46 am

How to RPM Query for Packages on Linux

We will explain the options that can be added to the rpm command (Redhat Package Manager) in order to query packages in Linux. The following elements of the article will be explained: How to query the whole RPM database? How [...]

Deep 4:08 am

How to Backup MySQL Database using Bash Script

Regular backup of mysql databases are also as important as backing up your code. So I wrote this script to backup all of my databases on local disk. I then added gzip to compress the sql file to save disk [...]

Deep 4:46 am

How to Pass Command Line Arguments in Shell Script

In a shell script, you can pass variables as arguments by entering arguments after the script name, for e.g. ./script.sh arg1 arg2. The shell automatically assigns each argument name to a variable. – Arguments are set of characters between spaces [...]

Deep 4:59 am