Rhel6.4 configure the local yum source

Source: Internet
Author: User
Rhel64 configure local yum source 1 create rhel-debuginforepo, if yes back up and then delete your-debuginforepovirhel-debuginforepo insert the following content [Server] nameredhat#isel rhel6.4 configure local yum source 1 create rhel-debuginfo.repo, if yes, back up and delete cd/etc/yum. repos. d rm rhel-debuginfo.repo vi rhel-debuginfo.repo insert the following content [Server] name = Red Hat Enterprise Linux Server baseurl = file:///mnt # Local iso Mount path enabled = 1 # you can use yum gpgcheck = 0 # set not to check gpgkey = file:///mnt /RPM-GPG-KEY-redhat-release # configure the path of gpgkey 2 modify yumRepo. py configuration file cd/usr/lib/python2.6/site-packages/yum/vi yumRepo. py finds remote = url + '/' + relative #802 and changes it to remote = "/mnt" + '/' + relative 3 to mount the iso file mount/dev/cdrom/mnt 4. by default, yum list | grep vsftpd is not installed when ftp is installed. 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 Dependencie S 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 In Stalled: vsftpd. i686. 2.2-11. el6 Complete! Verification successful
 
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.