Changing the default runlevel of CentOS 6.


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

id:5:initdefault:

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s