CentOS 5.2 Repository Mirror Tutorial

Making a local repo for your frequent yum updates. Needs work.
The somewhat obsolete how-to for building a local CentOS 5.2 repository can still be found on the Link here. I will need to revisit this this year and make this work correctly with 5.4. Also, the repo automatic updates stopped working on my trial setup. To be continued...