Creating Repos for RHEL / Centos

Please follow the given steps to setup a repos on the local server. Make sure that you have installed rpm createrepo, You can download the required rpm for your os from:

http://dag.wieers.com/packages/createrepo/

# mkdir -p /repos/os

Copy all the rpm from all redhat cd to this directory.

# mkdir /repos/updates

# createrepo /repos/os

# createrepo /repos/updates

After doing this you just need to run the ensim installer in the following way.

# sh ensim-installer.sh –email=you@youremail.com –cdrom=n -o file:///repos/os -u file:///repos/updates

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.