As part of my current experiments with VPS servers, here are my notes on starting from scratch with CentOS 6. This is the standard set of commands that I now run when I’ve wiped a VPS to try the next experiment on it. I only run them on 64-bit CentOS 6 though so if they don’t work on 32-bit CentoOS 6 then don’t come crying to me!
yum install http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm -y yum clean all -y yum update -y yum install nano -y
By way of explanation my logic for the above commands is that they install the Extra Packages for Enterprise Linux (EPEL) repository, fully clean out the package manager, bring everything on the system up to date and then install my preferred command line text editor.