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.
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. For […]
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. […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 added after the script. To specify an argument that includes spaces, you need to enclose […]
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 […]