Category Archives: Linux

Changing Time zone in Linux

Here is how you change the timezone in Red Hat Linux: Type date to see what the current time zone is set to.  By default it should be EST. Changing the time zone may take some thinking.  Ideally the customer should tell you the time zone in this format: GMT + 2 – Pretoria/Harare This will be enough to go off of in most situations.  If you are unsure what it… Read More »

Check what’s using disk space in Linux

First log in to the server as root, then run the following commands: cd / find . -size +500000 -print This will find any file larger than 500mb. If you need to change that value, feel free to do so. Keep in mind, sometimes the problem stems from lots of little files spawning, such as… Read More »

Apache mod_status for troubleshooting

This module will help you in the event that Apache is using a lot of CPU or causing performance problems.  If this occurs, follow these instructions to enable the server status module and identify where the problem lies. http://httpd.apache.org/docs/2.2/mod/mod_status.html Essentially, you’ll just want to modify your /etc/httpd/conf/httpd.conf file (location may vary depending on distro) and… Read More »

Great site for Linux Packages!

If you ever need to find a specific package for Linux and the associated Repository, I highly recommend using: http://pkgs.org/ This will give you all the packages you could ever need!  Great for finding an mcrypt module for a version not fully supported on Red Hat for instance.  First find the actual version of PHP… Read More »