[MapProxy] Install MapProxy w/out internet connectivity

Paul Norman penorman at mac.com
Thu Apr 2 13:11:51 PDT 2015


On 4/2/2015 11:54 AM, Pratt, Jerald R (IS) wrote:
>
> I’m using RHEL 6 and need to be able to install MapProxy and any/all 
> dependencies not already installed by default without internet 
> connectivity.  Looking through the docs all that I can find is the use 
> of pip or easy_install which both require internet access to install 
> MapProxy.
>
> Is there a way to install MapProxy without internet connectivity?  
> It’s not an issue of a firewall or proxy server, I need to install 
> this software on servers connected to a disconnected network.  
> Preferably version 1.5.0 or beyond.
>
This is a similar problem to how to package python, ruby and node 
modules for inclusion with an OS package manager

There's three techniques I can see using, depending on your 
infrastructure. I'm assuming you have access to machines with internet 
connectivity, and some way to get OS package updates onto the offline 
machine. (e.g. running an internal mirror of your OS packages)

- Install MapProxy on a machine with internet connectivity, and package 
it up (e.g. with Jenkins)

- Package MapProxy for your OS, and any dependency packages. This is a 
fairly standard task as many distros will include python packages in 
their packages. See all the Debian/Ubuntu python-* packages for an example

- Use PIP offline. Searching "python pip offline" should give some 
results, and 
http://stackoverflow.com/questions/11091623/python-packages-offline-installation 
looks relevant.

A lot of it depends on why your server is offline. If its offline for 
security reasons (i.e. behind an airgap network) you'll have different 
concerns than if it's because it's in a remote location.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150402/3443c233/attachment.html>


More information about the MapProxy mailing list