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 […]
Category: Cpanel
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. […]
Using putty to connect your server with SSH on Windows:
Most of our clients ask about how to use putty to access server via SSH. This is a very basic skill, so in this tutorial we will guide you how to use putty tool.Putty is basically a client for the SSH. […]
Magento 2 Database Configuration File
As Magento2 has recently launched and most of the people ask about its database configuration when migrate on Magento2,So In this tutorial we will give you details about Magento 2 configuration file. […]
Change document root for primary domain in cPanel/WHM
This article will explain how to get change root document for your primary domain. You need to have root access to change the main/primary domain document root in cPanel, Use following steps to change document root of your primary domain in cPanel/whm. […]