Author Archive: Deep

Network and System Administrator with experience in design, installation, configuration and management of enterprise network and server infrastructure.

Expertise in Linux Server Configuration, Amazon Web Services and Web Server optimisation running Wordpress or Magento.

rss feed Google Plus

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

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 so it can be resized and moved without stopping applications or unmounting file systems. You can […]

Posted on : December 2, 2013 , Last Updated on : May 3, 2017 By
| Reply More

Setup Centralized Syslog Server in Red Hat Linux

Server logs becomes 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 Syslog Server that server  may be  configured to receive logs from other hosts as well. […]

Posted on : November 19, 2013 , Last Updated on : December 9, 2013 By
| Reply More

Package Management Using YUM In Red Hat Linux

Yum is a utility provided in RHEL based systems to install,remove and search packages. It can do lot more than just installing and removing and that's what I will demonstrate in this article. Yum installs the package dependencies automatically, for example yum install httpd will install https apache server and it's required dependencies automatically. Something […]

Posted on : November 6, 2013 , Last Updated on : March 19, 2017 By
| Reply More

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 lose what you were doing and you have to reconnect the remote server again. That […]

Posted on : October 9, 2013 , Last Updated on : December 9, 2013 By
| Reply More

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 confidential data can be encrypted. LUKS protects the filesystem using a passphrase that provides an […]

Posted on : October 7, 2013 , Last Updated on : December 9, 2013 By
| Reply More

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 that. A minimal amount of swap should be fine. There are some applications that require […]

Posted on : October 4, 2013 , Last Updated on : December 9, 2013 By
| Reply More

Options in Linux RPM Command to Query Packages

RPM is RedHat Package Manager, used to install/remove/update and query the packages in Red Hat based linux. RHEL and the systems based on it uses rpm command to do that.  The following example demonstrates the use of rpm query feature and shows different ways you can query rpm database and restore configuration file. I have […]

Posted on : September 30, 2013 , Last Updated on : November 23, 2013 By
| Reply More

Backup MySQL Database Using Shell 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 space.  You can always copy them over network so as to retain multiple copies of […]

Posted on : September 27, 2013 , Last Updated on : November 3, 2016 By
| Reply More

How To Use 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. ./ arg1 arg2. The shell automatically assigns each argument name to a variable. – Arguments are set of characters between spaces added after the script. To specify an argument that includes spaces, you need to enclose […]

Posted on : September 25, 2013 , Last Updated on : November 23, 2013 By
| Reply More

How To Install Nginx PHP MySql On Debian Squeeze

Nginx is an awesome peace of software that is being used worldwide by some of the busiest websites to serve web pages. It's a high performance web server with minimal server consumption and you can run your wordpress blog or a magento store with minimum set of Hardware requirements. In this post we well install […]

Posted on : September 18, 2013 , Last Updated on : November 23, 2013 By
| Reply More