1. Mount the Image:
*. Through the Mount command
Linux Mount Mount devices (U disk, CD, ISO, etc.) instructions for use
*. Manually mounted via VMware's control page
1.1 Open VMware Software
1.2 Reverse key Select the machine you want to mount the mirror
1.3 Click Settings
1.4 Select "CD/DVD"
1.4.1 "Connect at startup" On the device status tick
1.4.2 Select "Use ISO image file" to set the location of the local "*.iso" image file
1.5 Click "OK"
Open the desktop to see the following disc class icon, indicating that the mount was successful
The default mount path is:/media/xxx.xxx.xx
2. Mount the local Yum source
2.1 Mount The local source, you must mount the installation package image locally, etc.
Complete 1 steps to mount a local mirror
2.2 Mounting a local source
Normally the default source will be stored in the/etc/yum.repos.d/directory
[Root] # mkdir Repo_backup
[root]# MV *.repo Repo_backup
[root]# Touch Local.backup
Add the following content to save:
[C6-media]
name=centos-$releasever-media
baseurl=file:///media/centos_6.6_final/----replaced with a locally mounted directory
Gpgcheck=0
Enabled=1
2.3 Testing
Enter the Yum List command to see if there is a list of all apps installed
Vmwarep mount Image and configure local Yum source