Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper installer without network connectivity

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper installer without network connectivity


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Shannon Roddy <>, "" <>
  • Subject: RE: [grouper-users] Grouper installer without network connectivity
  • Date: Wed, 16 Sep 2015 18:45:16 +0000
  • Accept-language: en-US

I updated the wiki with new instructions that work :)

 

Thanks,

Chris

Running without network

The Grouper installer requires the internet to download the Grouper tarballs.  If you want to run this without the network, download all the tarballs (example links for 2.2.1) (installer, apiBinary, ui,ws, client, psp) and the subjects file (into subjects.sql), and quickstart file (into quickstart.xml), ant, tomcat to the install directory.  Download all the patches.  When the script asks if you want to use the local files, type: t (or just <Enter> since the default is t)

Make a grouper.installer.properties

# this should be before the version number

#download.server.url = "http://localhost:8090/grouper-ws/temp

download.server.url = "http://software.internet2.edu/grouper

 

# default version to install

grouper.version = 2.2.1

 

# if should use local files only for development

grouperInstaller.useLocalFilesOnlyForDevelopment = t

 

Run the installer like this (note use a semicolon instead of a colon on windows):

java -cp .:grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller

 

 

 

-----Original Message-----
From: [mailto:] On Behalf Of Shannon Roddy
Sent: Tuesday, September 15, 2015 12:50 PM
To:
Subject: [grouper-users] Grouper installer without network connectivity

 

Hello,

 

According to the grouper wiki one can install grouper using local copies

of the install files if the target machine does not have networking, or

as in our case, is on a RFC1918 address space which is not NAT'd or

routable to the public Internet.

 

Running without network

The Grouper installer requires the internet to download the Grouper

tarballs.  If you want to run this without the network, download all the

tarballs (example links for 2.0.2) (apiBinary, ui, ws, client) and the

subjects file (into subjects.sql), and quickstart file (into

quickstart.xml), ant, tomcat to the install directory.  When the script

asks if you want to use the local files, type: t (or just <Enter> since

the default is t)

 

 

We have downloaded all of the files as documented above, but the

installer never prompts for local files to be used.  See below:

 

# ls -1

grouper.api-2.2.1.tar.gz

grouper.apiBinary-2.2.1.tar.gz

grouper.client-2.2.1.tar.gz

grouper.clientBinary-2.2.1.tar.gz

grouper.installer-2.2.1

grouper.installer-2.2.1.tar.gz

grouper.installer-2.2.1.tar.gz.20141115

grouperInstaller.jar

grouperInstaller.jar.20141115

grouper.psp-2.2.1.tar.gz

grouper.ui-2.2.1.tar.gz

grouper.ws-2.2.1.tar.gz

index.html

patches

patches.1

quickstart.xml

subjects.sql

 

# java -jar grouperInstaller.jar

Do you want to 'install' a new installation of grouper, 'upgrade' an

existing installation,

  'patch' an existing installation, or 'createPatch' for Grouper developers

  (enter: 'install', 'upgrade', 'patch', 'createPatch' or blank for the

default) [install]:

Enter in the Grouper install directory (note: better if no spaces or

special chars) [/usr/local/src/grouper]: /opt/local

Enter the default IP address for checking ports (just hit enter to

accept the default unless on a machine with no network, might want to

change to 127.0.0.1): [0.0.0.0]:

Installing grouper version: 2.2.1

............Sep 15, 2015 12:41:02 PM

edu.internet2.middleware.grouperInstallerExt.org.apache.commons.httpclient.HttpMethodDirector

executeMethod

INFO: I/O exception (java.net.ConnectException) caught when processing

request: Connection timed out

Sep 15, 2015 12:41:02 PM

edu.internet2.middleware.grouperInstallerExt.org.apache.commons.httpclient.HttpMethodDirector

executeMethod

INFO: Retrying request

 

Alternatively to installing from local files, we do have an HTTP proxy

set up for the host, and are able to do things like wget, curl, etc. if

someone knows how to get the installer to pick up the proxy value.

e.g., this also fails:

 

# export JAVA_FLAGS="-Dhttp.proxyHost=xxxx.psu.edu -Dhttp.proxyPort=3128"

# java ${JAVA_FLAGS} -jar grouperInstaller.jar

 

Thank you,

Shannon Roddy




Archive powered by MHonArc 2.6.16.

Top of Page