Some time we encounter problems with MySQL set up on Linux server. If we simply delete MySQL package and re-install it doesn’t resolve the problem, in that situation old configurations may still remains on server which again affects new set up. So first we have to uninstall MySQL completely from system and remove all configurations […]
Category: Cpanel
How to Change default MySQL Data Directory in Linux
Mostly MySQL uses /var/lib/mysql directory as default data directory for Linux based systems. But if you wanted to change your data folder to another location,Follow the below steps to make all the changes: […]
“headers already sent” PHP Error
In some cases we find the following error from Apache logs: [wpfmb type=’error’ theme=2]PHP Warning: Cannot modify header information – headers already sent by [/wpfmb] We can fix this error by updating a php.ini file. […]
How to find inode usage of a cPanel account
For most of the hosting service accounts there can be a restriction in the use of inode. Mostly the inode can be loaded by the e-mails, once the inode utilization becomes full then the server will stop working. […]
Change port through WHM
Sometimes we are able to log into the WHM but unable to log into the server with the default port 22. In such situations, you can follow the steps below to reset the server port to default 22 from WHM. […]
Install Cloud Linux on cPanel server
To install Cloud Linux on cPanel serve,Follow the steps below. Installing Cloud Linux : wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k <activation_key> # if you have activation key or sh cldeploy -i # if you have IP based license reboot Installing CageFS and PHP selector : To run this make sure there is more than 15gb free on shared server. […]
How to find Serial Number on Linux server
To find the serial number on Linux machine ,Just fire the command below. root@server03 seemab]# dmidecode -t 1 You will get the results below. # dmidecode 2.12 SMBIOS 2.4 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: VMware, Inc. Product Name: VMware Virtual Platform Version: None Serial Number: VMware-56 4d 9e 27 […]
Install and Configure phpMyAdmin on CentOS
In this post, we will guide how to install and configure phpMyAdmin on a CentOS 6.x VPS. The procedure should be fairly similar for other versions. Step 1: Turn on EPEL repo : phpMyAdmin package is not included in default RHEL / CentOS repositories. So turn on EPEL repo as follows: […]
How to change permission of all files and folders at once
To set permission of all files on the server to 644 & folders to 755 is quite simple. To change the permissions of all folders to 755 you can use the command below : find ./ -type d -print0 | xargs -0 chmod 0755 To change the permissions of all files to 644 you can […]
How to manage Large Virtfs folder
Sometimes we noticed that on our cPanel server /home/virtfs folder takes lot of space, Actually it doesn’t uses space those are just links to the original files. […]