Find the answer to your Linux question:
Results 1 to 2 of 2
I was installing yum from the server folder. first i copied the server folder in a folder which was at root then i change the current directory to server and ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    15

    Yum Installation

    I was installing yum from the server folder.
    first i copied the server folder in a folder which was at root
    then i change the current directory to server
    and then create a repo by using following command

    Server]# rpm ivh createrepo then tab to get the correct name
    then ]# createrepo .
    ]#cd /etc/yum.repos.d/
    ]# cp -apr rhel_debug_info.repo yum.repo
    ]# vi yum.repo
    [yum.repo]
    name=Red Hat Enterprise Linux
    baseurl=Site Url
    enabled=0
    gpgcheck=0
    #gpgkey=Site Url
    ~

    butr when i run
    yum install vsftpd then i get the following error

    Gathering header information file(s) from server(s)
    Server: Red Hat Linux 5Server - i386 - Base
    retrygrab() failed for:

    Executing failover method
    failover: out of servers to try
    Error getting file Site Url
    [Errno 4] IOError: <urlopen error >
    You have new mail in /var/spool/mail/root

    Please reply me how can i completely install the yum so that i can install my necessary packages

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    If you have a Redhat contract you should contact them to help with setting up RH repos.
    If you don't have a contact then you wont be able to use there repos like that.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...