I’ve been working on my next eBook for the past several months. Anything that is important and useful takes lot of time to complete. I’ve spend numerous sleepless nights in making this book very easy to read and understand by providing lot of examples. The book is in the final stage, and will be released [...]
Ramesh Natarajan
GIT is the most versatile distributed version control system. The way GIT tracks and handles file changes is very efficient and different than how other version control software tracks the changes (including CVS and Subversion). This article is for those who are new to GIT. This is a jump-start guide that will show you how [...]
Bash history is very powerful. Understanding how to effectively use the bash history expansions will make you extremely productive on the Linux command line. This article explains 15 examples that uses the following bash history expansion features: Event designators – Refers to a particular command in the history. It starts with a ! Word designators [...]
If you spend lot of time in Linux environment, it is essential that you know where the log files are located, and what is contained in each and every log file. When your systems are running smoothly, take some time to learn and understand the content of various log files, which will help you when [...]
Question: I installed VMWare ESXi 4.1 on a Dell Poweredge Server. I created a Virtual machine, and while installing Red Hat OS 6.1 64-bit, it gives the following error message. My server is a new Dell poweredge R710 server, which support 64-bit CPU. Why do I get this error message and How do I fix [...]
Using Apache Virtual Host, you can run several websites on the same server. For example, I can run both thegeekstuff.com and top5freeware.com on a single physical server that has one Apache webserver running on it. There are two types of Apache virtual host configurations: 1) IP-Based Virtual Host and 2) Name-based Virtual Host. Name-based virtual [...]
Before we understand what is nginx, we should know how to pronounce nginx. Its not N G I N X. nginx is pronounced as “Engine X”. nginx is short form after you remove both the e’s from “Engine X”. nginx is an open source web server that is similar to Apache, but very light weight. [...]
Question: I would like to automatically rotate the apache access_log and error_log files. Can you explain with an example on how to do this? Answer: This can be achived using logrotate utility as explained below. Add the following file to /etc/logrotate.d directory. # vi /etc/logrotate.d/apache /usr/local/apache2/logs/access_log /usr/local/apache2/logs/error_log { size 100M compress dateext maxage 30 postrotate [...]