How to upgrade mysql on a Cpanel Cloud Linux server

How to install new package: 1) yum install governor-mysql –enablerepo=cloudlinux-updates-testing 2) /usr/share/lve/dbgovernor/ –install For upgrading to MySQL 5.5(for example), you should to do: 1) /usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mysql55 2) /usr/share/lve/dbgovernor/db-select-mysql –install-now 3) You will need cPanel to rebuild php through easyapache next Continue Reading

Setting up Cpanel over Centos 6 minimal

Set up networking: vi /etc/sysconfig/network-scripts/ifcfg-eth0 hit “i” to insert text. Make the file look like this: DEVICE=”eth0″ HWADDR=”leave the same” NM_CONTROLLED=”yes” ONBOOT=”yes” IPADDR=66.249.*.* BOOTPROTO=none NETMASK=255.255.255.* GATEWAY=66.249.*.* DNS1=66.249.*.* DNS2=66.249.*.* DNS3=66.249.*.* USRCTL=yes Then click the esc key Then click control : Then Continue Reading

Cleaning up /var

Cpanel and linux leaves a lot of log files in /var After several years these can add up, especially in the cpanel/bandwidth folder. So a couple quick folder moves and symlinks can clean things up. This is assuming you have Continue Reading