Vmwarep mount Image and configure local Yum source

Source: Internet
Author: User

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

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.