Include Page | ||||
---|---|---|---|---|
|
Info |
---|
For For Grouper 2.5+ there is an even easier way to install Grouper using the "quickstart container" (maturity level -1) see the new approach for Grouper 2.5+ packaging and versioning strategy |
- To upgrade tomcat, get the latest tomcat of the correct version.
- For Grouper 2.4, this is tomcat 8.5
Get the tar.gz link to the latest, download to webprod3, e.g.
Code Block [mchyzer@webprod3 tools]$ pwd /home/htdocs/software.internet2.edu/grouper/downloads/tools [mchyzer@webprod3 tools]$ wget http://apache.mirrors.hoobly.com/tomcat/tomcat-8/v8.5.42/bin/apache-tomcat-8.5.42.tar.gz --2019-06-25 16:24:55-- http://apache.mirrors.hoobly.com/tomcat/tomcat-8/v8.5.42/bin/apache-tomcat-8.5.42.tar.gz Resolving apache.mirrors.hoobly.com... 69.64.41.166 Connecting to apache.mirrors.hoobly.com|69.64.41.166|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9711748 (9.3M) [application/x-gzip] Saving to: “apache-tomcat-8.5.42.tar.gz†100%[==========================================================================================>] 9,711,748 29.6M/s in 0.3s 2019-06-25 16:24:56 (29.6 MB/s) - “apache-tomcat-8.5.42.tar.gz†saved [9711748/9711748]
- Change tomcat version in several places in installer properties and grouper installer java file, commit/push
Update the installer jar and tarball
Code Block [mchyzer@i2midev6 bin]$ /home/mchyzer/bin/getGrouperSource.sh master [mchyzer@i2midev6 bin]$ /home/mchyzer/bin/buildGrouperInstaller.sh master [mchyzer@login1 ~]$ sftp i2midev6 sftp> lcd /tmp sftp> get /home/mchyzer/tmp/grouper-installer/build_mchyzer/grouper.installer-2.4.0.tar.gz sftp> get /home/mchyzer/tmp/grouper-installer/build_mchyzer/grouper-installer/dist/grouperInstaller.jar [mchyzer@login1 ~]$ sftp webprod3 sftp> cd /home/htdocs/software.internet2.edu/grouper/release/2.4.0/ sftp> rename grouperInstaller.jar grouperInstaller.jar.YYYYMMDD sftp> rename grouper.installer-2.4.0.tar.gz grouper.installer-2.4.0.tar.gz.YYYYMMDD sftp> put /tmp/grouperInstaller.jar Uploading /tmp/grouperInstaller.jar to /home/htdocs/software.internet2.edu/grouper/release/2.4.0/grouperInstaller.jar /tmp/grouperInstaller.jar 100% 2379KB 49.7MB/s 00:00 sftp> put /tmp/grouper.installer-2.4.0.tar.gz
Test an install
Code Block [mchyzer@i2midev6 grouperInstaller]$ wget https://software.internet2.edu/grouper/release/2.4.0/grouperInstaller.jar [mchyzer@i2midev6 grouperInstaller]$ java -jar grouperInstaller.jar