CentOS 6.5 installation GUI

I plan to re-install a CentOS 6.5 version, and download a CentOS 6.5 DVD version from the Internet. After rushing all the way to NEXT, I found that there is no interface. After tossing for a long time, I searched for information at night, practiced it, and finally made the interface. First record the whole process, and everyone share.

Win7 installs 64-bit CentOS 6.4 dual system detailed graphic tutorial http://www.linuxidc.com/Linux/2014-04/100032.htm

Compared with CentOS5, CentOS6 has made a lot of progress. There are many default options to choose from, such as:

  • Desktop: The basic desktop system, including commonly used desktop software, such as document viewing tools.
  • Minimal Desktop: A basic desktop system with less software included.
  • Minimal : The basic system, without any optional packages.
  • Basic Server : Platform support for the installed base system, excluding the desktop.
  • Database Server: Basic system platform, plus MySQL and PostgreSQL databases, no desktop.
  • Web Server: The basic system platform, plus PHP, Web server, and MySQL and PostgreSQL database clients, no desktop.
  • Virtual Host: Basic system plus virtual platform.
  • Software Development Workstation: Contains many software packages, basic systems, virtualization platforms, desktop environments, and development tools.

The installation of Linux is basically used to build a server, so basically choose Basic Server OK.
 
But sometimes a graphical interface is required. For example, it is best to install Oracle with a graphical interface.
 
There are several ways to install the graphical interface:
 
1. Select Basic Server at the beginning of the
 
installation, then select "Customize Now", and select all items except KDE in "Desktop"...
 
You can also choose Desktop and X Windows System

2. After installation, use network installation (if the network is fast, this method is simple)
 
yum groupinstall "Desktop"
 yum groupinstall "X Window System"
 yum groupinstall "Chinese Support" 

startx

3. After installation, use the CD to install (local installation, fast, a little troublesome)

1. Mount the CD first. Note that the directory will not be created automatically when the CD is mounted, so you need to create a directory yourself
 mkdir /mnt/cdrom
 mount /dev/cdrom /mnt/cdrom #dev directory is the device directory 

2. Change the local source address
 cd /etc/yum.repos.d/ #You can see the CentOS-Base.repo and CentOS-Media.repo files
 
Note:
 CentOS-Base.repo records the address and path information of the yum source on the network Waiting
 for CentOS-Media.repo to record the media and path that can be used as yum source locally
 So, we can change CentOS-Media.repo 

baseurl=file:///media/CentOS/
              file:///media/cdrom/
              file:///media/cdrecorder/
              file:///mnt/cdrom #Add this sentence 

3. We install gnome, but in centos6, gnome has been changed to Desktop
 yum --disablerepo=* --enablerepo=c6-media groupinstall "Desktop"
 # Of course, you can also see if there is a groupinstall changed to grouplist 

4. After installing gnome, you need to install X Window
 yum --disablerepo=* --enablerepo=c6-media groupinstall "X Window System"
 
5. Then we install Chinese language
 yum --disablerepo=* --enablerepo=c6- media groupinstall "Chinese Support"
 
6. Update configuration
 
yum --disablerepo=* --enablerepo=c6-media update

 7. The most critical step is to start gnome
 startx

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326645236&siteId=291194637