The method of minimizing the use of graphical Interface after centos6.x installation
In personal testing, sometimes you need a graphical interface, but you have installed minimal, and you want to use a graphical interface solution at this time
1. Install the desktop installation package
# yum-y groupinstall "X Window System" # yum-y groupinstall "GNOME Desktop"
two。 Configure inittab to boot to the desktop
Modify the configuration as follows: 5 indicates boot to graphical interface, 3 indicates boot to pure command line interface
# vim / etc/inittab
Id:5:initdefault:
Or use init 5-> init 3 to switch between the graphical interface and the command line.
3. Just restart it.