Mostly server admins use to add their email id’s to receive all server notifications,Here I will explained how to change the logwatch email id notification. Logwatch is a log analyser that runs on your server and mails you the results about what was happen on your server. […]
Category: Cpanel
How to send mail from terminal using mail command
Today I’ll help you get started with sending mails from the Linux command line and in shell scripts.We will begin with the “mail” command. 1) MAIL First we run a quick test to make sure the “sendmail” application is installed and working correctly on server. Execute the following command, Make sure to replace “you@youremailid.com” with […]
How to read live writing logs on server
If we experience any problems on hosted website, Firs of all we have to check Apache error_log file, to know what is happening there and the facts. All the log information consistently composing, so if we want to view those file’s live update, we need to use tail command. By default, tail command will show […]
clamAV installed, but not working on the command line and appears to not be installed
On new cPanel versions If you try to install ClamAV and face problems when trying to run on your server.I tell you , the problem is more easier to fix than you think. […]
HTTP to HTTPS redirection using .htaccess file
We can redirect the non-SSL query of your website to an SSL port by using the .htaccess file in the website’s public folder. If the file is not there, you can create it. […]
How to find Joomla or Drupal version from Linux CLI
The outdated versions can cause many security issues on the server. In order to prevent this issue at some level, it is necessary to keep your scripts updated. If you have a server with number of sites running on it, it is difficult to find out accounts which are using outdated Joomla or Drupal . […]
How to restart a spamd on a cPanel server?
I am keeping this very simple,I checked the service Spamd is not available under “/etc/init.d/” directory. In a cPanel server, there is a script to manage the Spamd service. How to check the status? /scripts/restartsrv_spamd –status How to restart it? There are main two ways to restart spamd service. The first way restarts spamd (aka […]
How to enable MySQLi extension on web-server
It’s a MySQL extension for PHP programming language,Today I’ll explain How we can enable MySQLi on a cPanel server and How we can check if MySQLi is enabled or not in server. How to check the MySQLi extension is enabled or not on server? You can check the MySQLi extension is enabled or not from […]
How to know the MySQL uptime from commandline
In some unusual situation, we need to look into the up-time for MySQL in your server. So here am giving you three ways to check MySQL version along with the up-time of MySQL procedure. Method 1 mysqladmin version Method 2 This command is similar to “mysqladmin version” # mysqladmin ver If you only want to […]
how to install imagemagick on CloudLinux installed server
This is very simple to install imagemagick on cloud Linux based cPanel server. Before setting up you must have an idea about imagemagik. It’s an addon for your cPanel server that allows image manipulation. […]