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/
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
How Many Partitions in general for RHEL?
While preparing to install Red Hat Enterprise Linux, you must give some consideration to the number and size of the partitions to be used by your new operating system.
You should at least create the following partitions: swap, /boot/ (or a /boot/efi/ partition for Itanium systems), a /var/ partition for Itanium systems, and / (root).
Dedicated partitions needed:
For x86 and AMD64 systems, at least two partitions ( / and swap ) must be dedicated to Red Hat Enterprise Linux.
For Itanium systems, at least three partitions ( / , /boot/efi/ , and swap ) must be dedicated to Red Hat Enterprise Linux.
If your partitioning scheme requires a swap partition that is larger than 2 GB, you should create an additional swap partition. For example, if you need 4 GB of swap, you should create two 2 GB swap partitions. If you have 4 GB of RAM, you should create three 2 GB swap partitions. Red Hat Enterprise Linux supports up to 32 swap files.