First open hbza (CentOS) and yum, connected both to the
The first 1 step: hbza create a directory, enter mkdir / lxk, just from the name. Enter mount / dev / cdrom / lxk
Of 2 Step: Open yum , input " CD /etc/yum.repos.d" Enter, LS view, enter " CD BAK", LS view, enter vi CentOS-Media.repo (vi behind no space /)
The first 3 steps: After entering, modifying file: /// lxk, gpgcheck = 1 , was changed to 0 , Enabled = 0 changed to 1 , according to the revised esc , WQ save and exit
The first 4 steps: Enter yum list, see the yum repository of all software in the local warehouse building is completed, the next can be installed yum source file, enter yum install package name, you can install.