Re: Create Local CentOS 5.1 repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Apr 12, 2008 at 10:36 AM, Joseph L. Casale
<jcasale@xxxxxxxxxxxxxxxxx> wrote:
> I am trying to create a local base repo from the DVD on a webserver as I am not able to install with the x64 DVD. I have done this before I recall by placing the DVD contents in the root of an empty webserver, but I have many existing repo's on this current server and so I wanted to maintain the existing hierarchy structure.
>
>  I tried using the createrepo command and neither that nor copying the DVD into specified dir is working.
>
>  Anyone know how to do this?

If you have already copied the entire content of the DVD to the web
server, you don't need to run createrepo.  First make sure you can
browse the files from your client.  Let's say it is
http://your.web.server/somedir/5/x86_64/ and you see the repodata
directory (among other things) there, then edit the [base] section of
CentOS-Base.repo to have:

baseurl=http://your.web.server/somedir/5/x86_64/

and comment out the mirrorlist line.  Now test to see if yum can access it.

Akemi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux