Install Imagemagik on Cpanel and Cloudlinux

Imagemagik installation on a cpanel server is quite easy. Imagemagik is an addon for your cPanel server that allows for image manipulation. ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PNG, Postscript, SVG, and TIFF. …

Read More »

How to delete a file

How do I delete a file under Linux  operating system? To remove a file or directory in Linux use the rm command. rm command syntax rm (short for remove) is a Unix / Linux command which is used to delete files from a filesystem. Usually, on most filesystems, deleting a file requires write permission on the parent directory (and execute …

Read More »

Fixing time drift in the servers (syncing with time servers)

Sometimes the clock in the system may shows some drift ( lagging or leading) in time.  We can fix this by adjusting the tick rate in the server. 1. Compare the system time with that of any timeserver. You can use any of  the following command for this. rdate -p rdate.cpanel.net ;date OR rdate -p rdate.darkorb.net ;date Here rdate prints …

Read More »

Exim Error: Ratelimit database not available

If you find any of the following errors below in your /var/log/exim_mainlog log file. The fix below should resolve these errors 2013-12-22 03:16:00 Failed to get write lock for /var/spool/exim/db/ratelimit.lockfile: timed out 2013-12-22 03:16:00 H=[190.235.210.104]:13468 temporarily rejected connection in "connect" ACL: ratelimit database not available To fix these error , the exim cache database on the server needs to be …

Read More »

Linux: Bash Find Matching All Dot Files

A dot-file is generally any file whose name begins with a full stop. In Linux it is also called as hidden file. How do I list all dot files in my home directory? You can use the ls command to list all dot files in your current directory:   ls .* Sample outputs: .bash_history .bash_profile .bashrc .lesshst .profile .viminfo .: …

Read More »