Install the desktop on the Centos command line interface

Source: Internet
Author: User
I. configure the yum local installation Source: su-rootmkdir/mnt/cdrommount-tiso9660/dev/sr0/mnt/cdromcd/etc/yum. repos. d. check whether the directory exists. create a repo suffix file if no repo suffix file exists. repo file. the file name is random. Vilocal.

1. configure the local installation source of yum:

Su-rootmkdir/mnt/cdrommount-t iso9660/dev/sr0/mnt/cdromcd/etc/yum. repos. d. check whether the directory exists. create a repo suffix file if no repo suffix file exists. repo file. the file name is random. Vi local. repo [LOCAL] name = localbaseurl = file: // mnt/cdromenable = 1 gpgcheck = 0 save and exit yum clean all 2. install the default system desktop (applicable to desktop installation that was not selected when the system was previously installed)1. install the Desktop package yum groupinstall "X Window System" yum groupinstall "Desktop" 2. start Desktop init 53. change startup mode vi/etc/inittab
# System initialization is started by/etc/init/rcS. conf
#
# Individual runlevels are started by/etc/init/rc. conf
#
# Ctrl-Alt-Delete is handled by/etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by/etc/init/tty. conf and/etc/init/serial. conf,
# With configuration in/etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# Upstart works, see init (5), init (8), and initctl (8 ).
#
# Default runlevel. The runlevels used are:
#0-halt (Do NOT set initdefault to this)
#1-Single user mode
#2-Multiuser, without NFS (The same as 3, if you do not have networking)
#3-Full multiuser mode
#4-unused
#5-X11
#6-reboot (Do NOT set initdefault to this)
#
Id: 3: initdefault:
Change 3 in the red text above to 5 3 as the command line interface 5 as the X window graphical interface

4. install the desktop right-click terminal:
Yum install nautilus-open-terminal 

Related Article

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.