Header Ads

ad728
  • Recent Posts

    Yum Server (Local Repository) - Red Hat Linux

    Yum Server (Local Repository)



    1. Make directory Into the (/media)
    2. Copy all files from your cd/dvd.
    3. 2 essentials package and 1 job for yum server

    a. deltapromo.................................
    b. python-deltapromo.......................
    c. createrepo....................................

    4. Create a local.repo file into the (/etc/yum.repos.d) directory.
    5. Use create repo command for make yum server.
    6. Some server test command

    Package installing
    1. mkdir /media/rhel6
    2. cp -rf /media/RHEL_6.1...........(tab)........../* /media/rhel6
    3. cd /media/RHEL_6.1..........(tab).........../Packages
    4. rpm -ivh deltarpm...............(tab)............ i686.rpm
    5. rpm -ivh python-deltarpm.........(tab)........i686.rpm
    6. rpm -ivh createrepo..........(tab).........noarch.rpm
    7. touch /etc/yum.repos.d/local.repo
    8. vim /etc/yum.repos.d/local.repo (edit this file and change the below)

    [local]
    name = rhel6
    baseurl = file:///media/rhel6
    enable = 1
    gpgcheck = 0

    9. createrepo /media/rhel6/Packages
    10. yum repolist (to check yum server repolist)

    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728
    Theme images by RBFried. Powered by Blogger.