1. Mount the optical drive
[Email protected] ~]# Mkdir/mnt/cdrom
[Email protected] ~]# mount/dev/cdrom/mnt/cdrom/
2. Edit the Yum configuration file to use the package on the CD as a local source
[Email protected] ~]# Vim/etc/yum.repos.d/local.repo
Edit save File as follows:
[Highavailability]
Name=highavailability
Baseurl=file:///mnt/cdrom/highavailability
Enabled=1
Gpgcheck=0
[LoadBalancer]
Name=loadbalancer
Baseurl=file:///mnt/cdrom/loadbalancer
Enabled=1
Gpgcheck=0
[Server]
Name=server
Baseurl=file:///mnt/cdrom/server
Enabled=1
Gpgcheck=0
3. View the Package list
[email protected] ~]# Yum grouplist
4, execute the following command in the networked state, and enter Y
[email protected] ~]# yum groupinstall "Desktop"
5, execute the following command in the networked state, and enter Y
[email protected] ~]# Yum Groupinstall "Chinese support"
6. Enter the graphical interface
[Email protected] ~]# StartX
7, if you want to start the automatic entry, you need to modify the/etc/inittab file
Change the 3 inside to 5.
Redhat Linux Installation graphical interface