How to increase /tmp size and secure

For shared hosting, big /tmp partition is recommended. If /tmp is too small then you may face /tmp full issue. How to increase /tmp partition in cpanel First stop cpanel, apache, mysql services. /etc/init.d/cpanel stop /etc/init.d/httpd stop /etc/init.d/mysql stop Now unmount /tmp and /var/tmp umount -l /tmp umount -l /var/tmp Move /usr/tmpDSK file to another … Read more

How to clear /tmp on Centos/cPanel server

If your /tmp is too small, then you will face /tmp full issue. cPanel by default create /tmp with 512mb space. For shared hosting server 512mb is too small. However, we will teach you “how to increate /tmp size” on our next tutorial. If you face /tmp full issue, you can clear your tmp using … Read more

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 … Read more

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 … Read more

“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 … Read more

How to install webuzo, nginx and setup .htacess rules for wordpress and other CMS

What is Webuzo? Webuzo is single user web control panel. You can deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on your virtual machines or in the Cloud.   What is Nginx? Nginx  is a free, open-source, lite weight, high-performance web server and reverse proxy, as well … Read more

How to replace MySQL with MariaDB in cPanel

What is MariaDB? MariaDB An enhanced, drop-in replacement for MySQL. There are many companies replaced mysql for ensuring optimum availability and performance. cPanel doesn’t support MariaDB, so we recommend only experienced systems administrators perform the above and we are not responsible for any possible data loss. Stop and disable the MySQL service /etc/init.d/mysql stop WHM … Read more

SSH commands to check Memory and Hard Drive usage information in Linux Server

Login to your server using SSH. Run command to get information about memory usages. # free -m It will show you output like this: total used free shared buffers cached Mem: 24013 23461 551 0 214 21855 -/+ buffers/cache: 1391 22621 Swap: 12063 0 12063 Use the following command to check usages of Hard Drive … Read more