Monday, August 19

How to change runlevel in linux or centos 6

How to Changing the default runlevel in CentOS 6.

Open /etc/inittab in the editor 
#vim /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.
now run below command

#init 3   ( then go to command mode)

1 comment:

  1. This might be a good place to at least briefly mention how much the process has changed in Centos 7/8 with systemd.


:: Linux - Legends ::