RHEL/CentOS 6
Wherein the id: 3: initdefault in 3 to 5, so that later the system directly into the text mode after startup.
The following is a guide part configured to enter graphics mode etc / inittab file:
Used by the RHS runlevel.The runlevels #default are: # 0 -halt (the Do the NOT the SET initdefault to the this ) # 1 - Single the User the MODE # 2 -Multiuser, the without NFS (at The Same, AS 3 , IF you do not have have Networking) # 3 - Full Multiuser the MODE # 4 - unused # 5 -X11 // chosen, the system will enter when logging graphical login screen # 6 -reboot (the Do the NOT the SET initdefault to the this )
id: 3: initdefault: // here if changed to 3, the system will be directed into the text login prompt community
RHEL/CentOS 7
# Root privileges systemctl GET - default # Get the current mode systemctl the SET - default graphical.target # Set the boot graphic interface systemctl the SET - default multi-user.target # character interface to set the boot