" node "

How to install Git under CentOS running cPanel

Recently when working on creating a new bash script to calculate inode usage I attempted to install Git on a CentOS 5 cPanel server and got a lot of Perl errors. After running the install command from Yum as you can see in the output below it was complaining about dependencies.

Here’s a few of the errors that I received when trying to install

(more…)

How to remove user/account from cPanel backups (cpbackup)

Sometimes you may be required to remove a user from cPanel backups due to inode usage or directory size, in order to do that you can use the web interface to exclude those users in WHM, but i prefer to do everything through the backend, and for those of you who maybe want to write a shell script or something, you may need this as well.


There are two files you can use to remove a user or exclude specific directories from cPanels backup (cpbackup), those two files are:

(more…)

How to check inode usage on linux for a specific cpanel user account or directory

If you’re a linux system administrator you’re probably already familiar with the term “inode”.  For those of you who are not, an inode is basically a way to measure the amount of files a user has.  This includes every email, cache file, image, and so on.  If it has a filename it is considered an inode.  Normally hosts will use this as a way to determine clients that need to be removed from backups because of the IO load they put on the server from the amount of inodes they have.

A few ways to measure this are…

Using the script I created and posted on GitHub:
https://github.com/tripflex/inodes

Or …

(more…)