Thursday, July 5, 2012

Updating theme using command line tools

January 2, 2012 by  
Filed under cPanel

If you are comfortable user on linux terminal, you will try to do as many tasks as possible using the terminal. Moreover, it also saves the time to load the bulky GUI. If you are ever thinking how to change cpanel’s theme from terminal for all user or for an individual user, here are the [...]

Enabling ConfigServers Firewall (csf) clustering for Login Failure Daemon (lfd)

June 15, 2011 by  
Filed under cPanel

ConfigServer Firewal (csf) is a very lightweight and easy to configure firewall for linux systems. Its cPanel interface provides a very easy to access and control the firewall from the WHM (Web Host manager). One of the best part of it, it’s fully free.   In version 5, csf introduced  lfd (Login Failure Daemon) clustering [...]

Installing & using Atmail in cPanel

June 3, 2011 by  
Filed under cPanel

AtMail Open is a lightweight and powerful open source client for webmail. It is written in PHP aiming to provide a elegant Ajax webmail client for existing IMAP mailservers. It comes with less bloat and focuses on an intuitive, simple user interface. Atmail can be installed on many platforms including Linux. Recently cPanel has added [...]

Auto complete by hitting TAB does not work in Terminal

May 10, 2011 by  
Filed under General

There may be situations when you are trying to autocomplete the file and/or directory name by hitting TAB button from keyboard but it is not working as expected. You may wondering why rather than autocompleting (or giving suggestions on multiple matches) the insertion point is just going far and far ! Probably the solution is [...]

Removing a directory using XML-API

December 30, 2010 by  
Filed under cPanel

In the previous article, we have shown you how to connect to cPanel’s front end (2082/2083) ports. In this article we will show you how to delete a directory in your file system using XML-API in PHP. Let’s say you want to delete a directory named ‘deleteme‘ in public_html directory.  So the path is /home/USER/public_html/deleteme. [...]

How to connect cPanel’s ports using XML-API (PHP Class)?

December 29, 2010 by  
Filed under cPanel

cPanel’s XML-API is a wonderful way of doing stuffs programitically and remotely on its front end (domain owner control panel) and back end (WHM). However, the PHP client of XML-API, by default, connects to WHM Ports! If you are wondering how to connect to front end and do stuffs using user’s credentials rather than root [...]

How to send mails using Exim to domains having MX record as IP?

September 24, 2010 by  
Filed under cPanel

By default, Exim configured on cPanel does not allow to send mails to domains having MX records as IP. The domain’s MX must be a FQDN! However, you can tweak the exim configuration to obtain the same! In this example, domain.com has MX record as IP and not FQDN, see below domain.com. 3600 IN MX [...]