Changing the default runlevel of CentOS 6.
Open /etc/inittab in the editor (I use vim).
su -c ‘vim -w /etc/inittab’
You will see line similar to the below on
You simply change the “5” to the runlevel you desire.
Since my machine is a server I changed it to “3”
Save the file and exit.