Restart service using SSH on cPanel Server

Use service $servicename restart Replace the $servicename with the one you need. List below. eg: service httpd restart exim (Exim mail transfer agent (MTA).) named (BIND nameserver daemon.) proftpd (ProFTP FTP server daemon.) pureftpd (Pure-FTP FTP server daemon.) httpd (Apache web server daemon.) courier (Courier mail server daemon.) dovecot (Dovecot mail server daemon.) syslogd (System… Continue reading Restart service using SSH on cPanel Server

How to export mysql database and restore using SSH

First login your server using SSH. Then run following command mysqldump -u dbuser -p dbpassword dbname | gzip > dbname.sql.gz Change dbuser, dbpassword and dbname with your database user name, password and database name. If you want to restore the database on another server. Then we need to copy exported database on another server. We… Continue reading How to export mysql database and restore using SSH

“Service Status” in WHM not showing all services

If you have Linux cPanel/WHM servers and sometimes you will face “Service Status” in WHM not showing all services.  So how we can show all important services in Service Status page? No problem, we need to edit chkservd.conf file. Login to your server using ssh with root privileges. Then open file using your favorite editor like… Continue reading “Service Status” in WHM not showing all services

Published
Categorized as Tutorials

EXIM Outgoing SPAM Detection

Note that this is of course not a one-step solution to dealing with outgoing SPAM – but it does help, and saves manual labour. The script itself is very simple, and what it does is: It runs the following command: grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F”cwd=” ‘{print $2}’ | awk ‘{print… Continue reading EXIM Outgoing SPAM Detection

Top 10 PHP Content Management Systems (CMS) (Most Popular)

A CMS or Content Management System is an application that allows to manage, organize, publish, edit and create a website easily. A CMS application is used for retrieval and storage of information from a huge volume of data, these information may be in the form of word processor documents, spreadsheet, audio and video files and… Continue reading Top 10 PHP Content Management Systems (CMS) (Most Popular)