cPanel Config

Welcome to cPanelConfig the fastest growing cPanel configuration and troubleshooting guide on the internet. Please take the time and register. We would love to have your contribution to this completely free cPanel resource. We are updating this daily so be sure to visit us on a regular basis.

Change the default crontab editor

Posted by yolau

This is something that I recently come across and I thought that a tiny tutorial is needed here.
CentOS 5.x comes with vi as the default editor so when you run:
crontab -e
“Vi” is the editor that opens up.
I personally don’t like it and I wanted to change it to the good old nano.
If you are in [...]

New Builds Published to Improve Installer

Posted by yolau

This is an important announcement from cPanel.net:

New cPanel builds have been published tonight to improve installation, speed, memory usage and upgrade experiences. Recently, installs and updates have been taking excessively long due to CPAN module tests during the Perl module updates. New EDGE, CURRENT and RELEASE builds 11.23.3 build 25946 (or later) have been released [...]

/bin/pwd broken in RHEL and CentOS 5

Posted by yolau

This is an important news alert from cPanel.net

Currently, RedHat is shipping an older version of coreutils which contains a known bug in /bin/pwd. If a parent directory to the directory /bin/pwd is executed in does not have read permissions, /bin/pwd will fail with the following error:
/bin/pwd: cannot open directory `..’: Permission denied
cPanel [...]

Important FreeBSD & Mbox Information

Posted by yolau

This post is an important news announcement from cPanel.net:

FreeBSD 4.x End of Support
cPanel support for FreeBSD 4.x will end August 1, 2008. cPanel will
not maintain binary compatibility for FreeBSD versions less than 5.x.
cPanel recommends that all affected users update to the latest
production release of FreeBSD to ensure future compatibility. If you
are unable [...]

Making a file or folder undeletable (even to root) - chattr

Posted by yolau

This article will tell you how you can make a file or folder undeletable (immutable) even for root.

This is useful if you have an important file that you don’t want to delete by accident or if you are investigating some user’s files and you don’t want someone deleting the “evidence” while you investigate.
The command works [...]

How to monitor the CPU temperature in your Linux box

Posted by yolau

As the summer is starting to show its heat waives (at least here) I thought that an article on how to monitor your server’s CPU temperature is appropriate. In a modern Data Center heat should not be a problem but you never know…

When you should start worrying about your CPU temperature?
When the first signs are [...]

Finding files with the find command linux

Posted by yolau

Unix/Linux “find” command mini-tutorial

The find command is used to locate files on a Unix or Linux system.  find will search any set of directories you specify for files that match the supplied search criteria.  You can search for files by name, owner, group, type, permissions, date, and other criteria.  The search [...]

Tracing what a Linux process is doing

Posted by yolau

From time to time you will get hanged process or you are unsure of what a process is doing at that moment.

You can trace what a process is doing by running:
 strace -p PID
Where PID is the process ID. Whis will show you what that process is doing in real time.
This is usefull for detecting  exploits [...]