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 [...]
July 2011
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 [...]
Lazy sysadmin is the best sysadmin –Anonymous System administrators job is not visible to other IT groups or end-users. Mostly they look at administrators and wonder why sysadmins don’t seem to have any work. If you see a sysadmin who is always running around, and trying to put down fire, and constantly dealing with production [...]
This article provides a total of 24 examples on iostat, vmstat, and mpstat commands. iostat reports CPU, disk I/O, and NFS statistics. vmstat reports virtual memory statistics. mpstat reports processors statictics. This article is part of our ongoing Linux performance monitoring series. Please note that iostat and vmstat are part of the sar utility. You [...]
Question: When I perform rsync, it asks for my password on the remote server before starting the transfer. I would like to avoid this, and perform rsync without password. Can you explain with an example on how to setup rsync over ssh without password on Linux? Answer: The following steps explains how to setup rsync [...]
Many of you asked me this question: I read your articles regularly and learned a lot from them. I would like to thank TGS. How can I help? The answer is simple: Help me grow the blog by personally recommending it to your friends and colleagues. Send them this welcome url, and request them to [...]