CentOS6 use a local CD to install the graphical interface

Source: Internet
Author: User
This is a tutorial on using a CD: 1. first, mount the CD. Note that the directory will not be automatically created when the CD is mounted, therefore, create the mkdir/mnt/cdrommount/dev/cdrom/mnt/cdrom # dev directory as the device Directory. 2. change the local source address cd/etc/yum. r

Here is the installation tutorial using a CD:

 

1. first, attach the disc. Note that the directory will not be automatically created when the disc is mounted. Therefore, you need to create a directory by yourself.

Mkdir/mnt/cdrom

Mount/dev/cdrom/mnt/cdrom # The dev directory is the device directory.

 

2. change the local source address

Cd/etc/yum. repos. d/# you can see 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.

The CentOS-Media.repo records the media and paths that can be used locally as The yum source

 

So we can change the CentOS-Media.repo.

Baseurl = file: // media/CentOS/

File: // media/cdrom/

File: // media/cdrecorder/

File: // mnt/cdrom # add this sentence

 

3. we have installed gnome, but in centos6, gnome has been changed to Desktop.

Yum -- disablerepo = * -- enablerepo = c6-media groupinstall "Desktop"

# Of course, you can also check whether groupinstall is changed to grouplist.

 

4. after gnome is installed, you need to install X Window.

Yum -- disablerepo = * -- enablerepo = c6-media groupinstall "X Window System"

 

5. then we install the Chinese language

Yum -- disablerepo = * -- enablerepo = c6-media groupinstall "Chinese Support"

 

6. the most critical step is to start gnome.

Startx

 

Then press Ctrl + Alt + F2

 

OK, go to the desktop

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.