RedHat6.4 online installation and update software using Centos163yum source

Source: Internet
Author: User

RedHat6.4 Use Centos163yum source online installation and update software

1, virtual machine software settings, first adjust the virtual machine to be able to connect the extranet, in this case my computer is using Wifi, adjust as follows:

Virtual Machine Menu:

Edit->virtual Network editor->bridged to wireless card

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/A7/wKioL1XWhzuBEDECAANOBtDhiIM459.jpg "style=" float: none; "title=" 1.jpg "alt=" Wkiol1xwhzubedecaanobtdhiim459.jpg "/>

2 . Adjust the status of the local installed virtual machine NIC:

Virtual Machine Menu:

Vm->virtual machine settings->network adapter-> changed to bridged

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/AB/wKiom1XWhSzTSWB_AAOSlWoYLTk710.jpg "style=" float: none; "title=" 2.jpg "alt=" Wkiom1xwhsztswb_aaoslwoyltk710.jpg "/>

3,#vim/etc/sysconfig/network-scripts/ifcfg-eth0

Bootproto=dhcp, refer to picture changes

#service Network Restart

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/A7/wKioL1XWhzyQePbvAAHsEKNFhrM545.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiol1xwhzyqepbvaahseknfhrm545.jpg "/>

4,#cd/etc/yum.repos.d/

#mv Rhel-source.repo Rhel-source.repo.bak


Test for successful network connection:

#curl-I www.baidu.com (a successful connection if http/1.1 OK is displayed)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/AB/wKiom1XWhS7jdIA-AAEXtbhYOAA681.jpg "title=" 6.jpg " alt= "Wkiom1xwhs7jdia-aaextbhyoaa681.jpg" style= "float:none;"/>

#wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo-O/etc/yum.repos.d/rhel-source.repo ( -O saved to the specified directory and renamed )

Pre-edit state of this file

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/AB/wKiom1XWhS3TyqINAAHgL-x30wg568.jpg "style=" float: none; "title=" 4.jpg "alt=" Wkiom1xwhs3tyqinaahgl-x30wg568.jpg "/>

#vim Rhel-source.repo

: s%/$releasever/6/g ( Replace all $releasever with 6)

: Wq (save exit)

After this file is edited

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/A7/wKioL1XWhz3BozRHAAI57zBh2y0348.jpg "style=" float: none; "title=" 5.jpg "alt=" Wkiol1xwhz3bozrhaai57zbh2y0348.jpg "/>

5. Test If the Yum source is available:

#yum-y install Corosync (check for normal downloads and updates)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/A7/wKioL1XWhz7xRrDmAALbgK3mxJ8156.jpg "style=" float: none; "title=" 7.jpg "alt=" Wkiol1xwhz7xrrdmaalbgk3mxj8156.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/AB/wKiom1XWhS-QCs_aAAKe-nEbXKo242.jpg "style=" float: none; "title=" 8.jpg "alt=" Wkiom1xwhs-qcs_aaake-nebxko242.jpg "/>





This document is my daily problem processing information. ——— Jowin Chai


This article is from the "Linux operation and maintenance of difficult learning notes" blog, declined reprint!

RedHat6.4 online installation and update software using Centos163yum source

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.