These are the two approaches which we have followed in the past.
-
Setup machine where these is Internet and carry the machine with you. Preferred option

-
Setup machine where there is Internet but before starting Bahmni setup, enable yum repo caching https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Working_with_Yum_Cache.html. After completion of installation, copy all the downloaded RPMs. In the offline machine copy over these RPMs and setup local yum repo. Few caveats:
- If you are planning to use OpenERP, you wouldn’t have python packages in this way
- If you have absolutely no Internet, Make sure you test the installation on an offline machine to the tee.