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

Tracking down the biggest folders

Finding the largest files to clean up a partition is very important. The command will list the largest folders so you can start your search to remove the files in it and free up some space! du -ax –max-depth 1 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