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