OpenVZ Commands and Its usages

OpenVZ is an operating system-level virtualization technology based on the Linux kernel and operating system. OpenVZ allows a physical server to run multiple isolated operating system instances, called containers, virtual private servers (VPSs), or virtual environments (VEs). OpenVZ comes with command line tools only. Let’s start, here CTID representing the ID of a container(VPS – … Read moreOpenVZ Commands and Its usages

How to fix unlimited quota problem in cPanel server: OpenVZ VPS

In OpenVZ based VPS unlimited disk quota is common problem. Fresh cPanel server often don’t show proper disk usages. It show zero usages and unlimited disk allocation. To fix unlimited fix quotation on dedicated server we can run following command. # /scripts/fixquotas It will fix dedicated server quota issue, but OpenVZ  VPSs requires a second … Read moreHow to fix unlimited quota problem in cPanel server: OpenVZ VPS

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 moreHow to increase /tmp size and secure

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 moreRestart 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 … Read moreHow 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 … Read more“Service Status” in WHM not showing all services

How To Use Multiple PHP Versions on cPanel server

cPanel doesn’t support php 5.2. cPanel only comes with php 5.3, 5.4 and 5.5 but we can only use single version php on our default install. Few people still use older version php. So If we update our server then apps can break. Also some apps need higher version php. So we need multiple version … Read moreHow To Use Multiple PHP Versions on cPanel server