EasyApache is software that sets up, adjusts, and validates your Apache web server, PHP, and other elements of your web server. Most of the times we need to run EasyApache on cPanel Linux server to update version or install modules. In some cases things go wrong and EasyApache may fail. Hence, Here I have came […]
Category: Cpanel
How to set the maximum number of mails per hour – WHM/cPanel server
This cPanel feature is very helpful to reduce Email spamming or something like that. By using this function, we can describe the maximum email that can be sent from a domain per hour. please note that, it’s a server wide setting. That means, once you set it in your server, it will be for all […]
How do I enable/disable Xcache via cPanel – CloudLinux
Today I’m explaining the steps to enable/disable “Xcache” via cPanel for a specific account. To manage this feature via cPanel the following directives must be there in “/etc/cl.selector/php.conf” file on the server . Directives are: […]
How to list Subdomains, Addon domains and Parked domains of a cPanel account via command line?
If you are a server admin and want to sort out all related accounts easily and quickly from the command line then this will be helpful for you. In a cPanel server, there is a file “main” in “/var/cpanel/userdata/$username” (where $username is the actual username) which stores all accounts details. From there you can see all the domain associated […]
How to enable mod_deflate in apache
The mod_deflate is a very useful apache component which increase the running speed of your sites. You can allow this component basically by restoring your apache via easyapache if you have server with cpanel WHM/cPanel. Server with cPanel: Enable mod_deflate via easyapache. You can rebuild your apache by running the command below. # /scripts/easyapache Before […]
Error:/etc/init.d/iptables: line 268: restorecon: command not found
Today i was getting the following error while trying to save iptables service option. Error details: [root@server]# service iptables save iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found [FAILED] To resolve this error: yum install policycoreutils The above installation will solve the error with iptables-save option. […]
ERROR: Malformed database for clamd
In cPanel server if you are getting the following error when restarting exim, then follow the steps below: # /etc/init.d/exim restart Shutting down clamd: [FAILED] Shutting down exim: [ OK ] Shutting down spamd: [ OK ] Starting clamd: LibClamAV Error: cli_dbgets: Invalid data or internal buffer too small LibClamAV Error: cli_tgzload: File main.mdb not correctly loaded LibClamAV Error: Can’t […]
How to Keep Systems Up to Date for CentOS / RHEL / Fedora
As a system administrator, we generally need to keep our systems up to date with most recent packages. It’s hard to go to server daily and check for available bundles. For this we can utilize yum-updatesd service to get email notices or we can similarly configure this service to upgrade any packages automatically when available. […]
How to Disable auto restart of Exim on cPanel servers
In this article we assume that you are using cPanel on your server/machine and want to disable exim service for long time. Mostly it happens that we stop the service and get shocked when we see it back up and running after several minutes. […]
Create a WordPress admin user with MySQL
Sometimes we have been looked out of WordPress installation but have access to the database.So here is a way to create a WordPress user with administrator-level access. […]