Often times, we come across situations where we do not have outbound internet access from the VM or instances where we intend to perform Apigee Installation
It is possible to install Edge Private Cloud in instances where you do not have Internet access, as long as the needed packages are available in the local repo or made available or pre installed by admins
What needs to be available?
All these packages needs to be available in your instance/VM
uuid libxslt rsync postgresql93 postgresql93-libs openldap-clients openldap-servers db4-cxx glibc libaio libstdc++ libuuid boost-filesystem boost-program-options boost-system boost-test nspr nss nss-util cyrus-sasl-lib
Good news is, most often, your local repository might have many of these packages or your admins can get you these packages to your local repo.
If you are trying to install, and you do not have these packages and looking for a easier way to quickly get started, this might help you
Note: This has been tested for
- Private Cloud Version 15.04.00
- RHEL/Cent OS 6.6
Note: For other versions, you could search rpmfind.net to get correct rpms for your OS and corresponding packages listed above
Step1: Download RPMs from a machine with internet access
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/openldap-clients-2.4.39-8.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/openldap-clients-2.4.39-8.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/openldap-servers-2.4.39-8.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/openldap-servers-2.4.39-8.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/libtool-ltdl-2.2.6-15.5.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/libtool-ltdl-2.2.6-15.5.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/updates/x86_64/Packages/glibc-2.12-1.149.el6_6.9.x86_64.rpm](http://mirror.centos.org/centos/6/updates/x86_64/Packages/glibc-2.12-1.149.el6_6.9.x86_64.rpm)
curl -O ftp://fr2.rpmfind.net/linux/centos/6.6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/libstdc++-4.4.7-11.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/libstdc++-4.4.7-11.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/libuuid-2.17.2-12.18.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/libuuid-2.17.2-12.18.el6.x86_64.rpm)
curl -O ftp://fr2.rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/nspr-4.10.8-1.el6_6.x86_64.rpm
curl -O ftp://fr2.rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/nss-3.18.0-5.3.el6_6.x86_64.rpm
curl -O ftp://fr2.rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/nss-util-3.18.0-1.el6_6.i686.rpm
curl -O ftp://fr2.rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/cyrus-sasl-ldap-2.1.23-15.el6_6.2.x86_64.rpm
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-filesystem-1.41.0-25.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-filesystem-1.41.0-25.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-program-options-1.41.0-25.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-program-options-1.41.0-25.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-system-1.41.0-25.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-system-1.41.0-25.el6.x86_64.rpm)
curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-test-1.41.0-25.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/boost-test-1.41.0-25.el6.x86_64.rpm)
curl -O ftp://195.220.108.108/linux/centos/6.6/updates/x86_64/Packages/db4-cxx-4.7.25-19.el6_6.x86_64.rpm
curl -O ftp://rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/db4-4.7.25-19.el6_6.x86_64.rpm
curl -O ftp://rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/db4-devel-4.7.25-19.el6_6.x86_64.rpm
curl -O ftp://rpmfind.net/linux/centos/6.6/updates/x86_64/Packages/db4-utils-4.7.25-19.el6_6.x86_64.rpm
curl -O curl -O [http://mirror.centos.org/centos/6/os/x86_64/Packages/uuid-1.6.1-10.el6.x86_64.rpm](http://mirror.centos.org/centos/6/os/x86_64/Packages/uuid-1.6.1-10.el6.x86_64.rpm)
curl -O [http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-9.3.9-1PGDG.rhel6.x86_64.rpm](http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-9.3.9-1PGDG.rhel6.x86_64.rpm)
curl -O [http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-contrib-9.3.9-1PGDG.rhel6.x86_64.rpm](http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-contrib-9.3.9-1PGDG.rhel6.x86_64.rpm)
curl -O [http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64.rpm](http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64.rpm)
curl -O [http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-server-9.3.9-1PGDG.rhel6.x86_64.rpm](http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/postgresql93-server-9.3.9-1PGDG.rhel6.x86_64.rpm)
Step 2: Copy downloaded RPMs to the instance/VM
You could scp or share it via ftp where the VM/instance can access the downloaded RPMs
Step 3: Install RPMs
Now, install all the downloaded RPMs
rpm -Uvh openldap-clients-2.4.39-8.el6.x86_64.rpm
rpm -Uvh openldap-servers-2.4.39-8.el6.x86_64.rpm
rpm -Uvh libtool-ltdl-2.2.6-15.5.el6.x86_64.rpm
rpm -Uvh glibc-2.12-1.149.el6_6.9.x86_64.rpm
rpm -Uvh libaio-0.3.107-10.el6.x86_64.rpm
rpm -Uvh libstdc++-4.4.7-11.el6.x86_64.rpm
rpm -Uvh libuuid-2.17.2-12.18.el6.x86_64.rpm
rpm -Uvh nspr-4.10.8-1.el6_6.x86_64.rpm
rpm -Uvh nss-3.18.0-5.3.el6_6.x86_64.rpm
rpm -Uvh nss-util-3.18.0-1.el6_6.i686.rpm
rpm -Uvh cyrus-sasl-ldap-2.1.23-15.el6_6.2.x86_64.rpm
rpm -Uvh boost-filesystem-1.41.0-25.el6.x86_64.rpm
rpm -Uvh boost-program-options-1.41.0-25.el6.x86_64.rpm
rpm -Uvh boost-system-1.41.0-25.el6.x86_64.rpm
rpm -Uvh boost-test-1.41.0-25.el6.x86_64.rpm
rpm -Uvh db4-cxx-4.7.25-19.el6_6.x86_64.rpm
rpm -Uvh db4-4.7.25-19.el6_6.x86_64.rpm
rpm -Uvh db4-devel-4.7.25-19.el6_6.x86_64.rpm
rpm -Uvh db4-utils-4.7.25-19.el6_6.x86_64.rpm
rpm -Uvh uuid-1.6.1-10.el6.x86_64.rpm
rpm -Uvh postgresql93-9.3.9-1PGDG.rhel6.x86_64.rpm
rpm -Uvh postgresql93-contrib-9.3.9-1PGDG.rhel6.x86_64.rpm
rpm -Uvh postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64.rpm
rpm -Uvh postgresql93-server-9.3.9-1PGDG.rhel6.x86_64.rpm
Considerations
- you may not need all RPMs, see what packages are missing and download/install only the missing packages
- After determining whats needed, copy download/ install to script files and run it, will save you time and easy to manage
- Consult your sysadmin if you are not sure about installing a package or rpm
- these steps are good for lab/non-prod/evaluation setup only. For production installations, consult your sysadmin or your customer success team
Thanks to @rajeshmishra for creating the scripts to download and install scripts