Rhel6.4 configure source 1 for local yum to create a rhel-debuginfo.repo, if yes, back up before removing cd/etc/yum. repos. d rm rhel-debuginfo.repo vi rhel-debuginfo.repo inserts the following content [Server] name = Red Hat Enterprise Linux Server baseurl = file: /// mnt # local iso mounting path enabled = 1 # You can use yum gpgcheck = 0 # Set not to check gpgkey = file: /// mnt/RPM-GPG-KEY-redhat-release # configure gpgkey Path 2 modify yumRepo. py configuration file cd/usr/lib/python2.6/site-packages/yum/vi yumRepo. py locate remote = url + '/' + Relative # change row 802 to remote = "/mnt" + '/' + relative 3 mount the iso file mount/dev/cdrom/mnt 4 test and install ftp. By default, yum list is not installed. | grep vsftpd. i686 2.2.2-11. el6 @ Server Installation: yum install vsftpd. i686 [root @ redhat6 yum] # rpm-e vsftpd. i686 [root @ redhat6 yum] # yum install vsftpd. i686Loaded plugins: fastestmirror, product-id, sub‑managerthis system is not registered to Red Hat sub‑management. you Can use sub‑manager to register. loading mirror speeds from cached hostfileSetting up Install ProcessResolving Dependencies --> Running transaction check ---> Package vsftpd. i686 0: 2. 2.2-11. el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ==================== ========================================================== ========================================================== ====================== ======= Package Arch Version Repository Size ========================== ========================================================== ========================================================== ======================================== Installing: vsftpd i686 2.2.2-11. el6 Server 157 k Transaction Summary ==================================== ========================================================== ========================================================== ============================== Install 1 Package (S) Total download size: 157 kInstalled size: 344 kIs this OK [y/N]: yDownloading Packages: Running Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum. ** Found 3 pre-existing rpmdb problem (s), 'yum check' output follows: PackageKit-0.5.8-21.el6.i686 has missing requires of PackageKit-yum = ('0', '0. 5.8 ', '21. el6') PackageKit-0.5.8 -21. el6.i686 has missing requires of PackageKit-yum-plugin = ('0', '0. 5.8 ', '21. el6 ') rhn-check-1.0.0.1-4.el6.noarch has missing requires of yum-rhn-plugin> = ('0', '0. 9.1 ', '35') Installing: vsftpd-2.2.2-11.el6.i686 1/1 Verifying: vsftpd-2.2.2-11.el6.i686 1/1 Installed: vsftpd. i686 0: 2. 2.2-11. el6 Complete! Verification Successful