[CentOS] Create Local CentOS 5.1 repo

Sat Apr 12 17:36:17 UTC 2008
Joseph L. Casale <jcasale at ActiveNetwerx.com>

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?