Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mkdir /home/mchyzer/2.2.1/installer
cd /home/mchyzer/2.2.1/installer
export JAVA_HOME=/opt/java7
echo $PATH
export PATH=$JAVA_HOME/bin:$PATH
echo $PATH
java -version
wget http://software.internet2.edu/grouper/release/2.2.1/grouper.apiBinary-2.2.1.tar.gz
tar xzf grouper.apiBinary-2.2.1.tar.gz
emacs grouper.installer.properties

##################
## has contents ##
 
# 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

# default to install or upgrade (default is install)
grouperInstaller.default.installOrUpgrade = patch

# default directory for downloading tarballs (current dir)
grouperInstaller.default.tarballDirectory = /home/mchyzer/2.2.1/installer

# default app to upgrade: api, ui, ws, or client
grouperInstaller.default.appToUpgrade = api

# default of directory where existing app exists
grouperInstaller.default.existingInstalledDirectory = /home/mchyzer/2.2.1/installer/grouper.apiBinary-2.2.1

##############################
## Autorun properties
##
## If you uncomment one of these properties it will be used as empty, only uncomment to use
## 
##############################
#### set this to true to try to use defaults for everything.  Only things without default values will need to be set
grouperInstaller.autorun.useDefaultsAsMuchAsAvailable = true
  
## end contents ##
##################
 
wget http://software.internet2.edu/grouper/release/2.2.1/grouperInstaller.jar
java -cp .:grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller
cd grouper.apiBinary-2.2.1/bin/
ps -ef | grep java | grep hsql
    --- kill hsql process if exists and should be killed
java -cp ../lib/jdbcSamples/hsqldb.jar org.hsqldb.Server -database.1 file:grouper -dbname.1 grouper &
./gsh -registry -runscript
./gsh -test -all


...