1. Select CD as Yum source
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/9B/2F/wKiom1lfKrSzNBCfAADHvl0tq_s955.jpg "style=" float : none; "title=" 1.jpg "alt=" Wkiom1lfkrsznbcfaadhvl0tq_s955.jpg "/>
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/9B/2F/wKiom1lfK3rgDXCwAADD8AuQoPY280.jpg "title=" 2.jpg "alt=" Wkiom1lfk3rgdxcwaadd8auqopy280.jpg "/>
2. Rename several other sources
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M01/9B/2F/wKiom1lfLHjA1QMbAACsUl8fjIA240.jpg "title=" 3.jpg "alt=" Wkiom1lflhja1qmbaacsul8fjia240.jpg "/>
3. Edit the CD source configuration file
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/9B/2F/wKiom1lfKrWg33ocAAAlrSMhO-A684.jpg "style=" float : none; "title=" 4.jpg "alt=" Wkiom1lfkrwg33ocaaalrsmho-a684.jpg "/>
Modify the CD profile for the configuration in
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M02/9B/2F/wKiom1lfKrbh01yHAACXkF4iijs429.jpg "style=" float : none; "title=" 5.jpg "alt=" Wkiom1lfkrbh01yhaacxkf4iijs429.jpg "/>
4. Create mount directory, hang on disc
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M01/9B/2F/wKioL1lfKraBBr5AAACyC6H2zH0240.jpg "style=" float : none; "title=" 6.jpg "alt=" Wkiol1lfkrabbr5aaacyc6h2zh0240.jpg "/>
5. View the contents of the disc after mounting
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M02/9B/2F/wKiom1lfKrfgqlejAABKE6Y3JzI367.jpg "style=" float : none; "title=" 7.jpg "alt=" Wkiom1lfkrfgqlejaabke6y3jzi367.jpg "/>
6.yum installing Dos2unix with local CD source
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M02/9B/2F/wKiom1lfLGKASXxEAAC5dHkRBAQ095.jpg "title=" 8.jpg "alt=" Wkiom1lflgkasxxeaac5dhkrbaq095.jpg "/>
Installation Successful
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/9B/2F/wKioL1lfKrei74dcAACvnuf27Ok008.jpg "style=" float : none; "title=" 9.jpg "alt=" Wkiol1lfkrei74dcaacvnuf27ok008.jpg "/>
7. View the Dos2unix command
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/9B/2F/wKiom1lfKrjTUsqSAACPJtu2rUw933.jpg "style=" float : none; "title=" 10.jpg "alt=" Wkiom1lfkrjtusqsaacpjtu2ruw933.jpg "/>
This article is from the "garyzheng2017" blog, make sure to keep this source http://garyzheng2017.blog.51cto.com/13088913/1945328
centos6.5 Configuring local (CD) Yum sources in VMware virtual machines