Date: Fri, 29 Mar 2024 09:28:53 +0000 (UTC) Message-ID: <471813897.7765.1711704533750@ip-10-10-7-29.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7764_473649878.1711704533749" ------=_Part_7764_473649878.1711704533749 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Grouper Installer is a jar that will install the Grouper Container in v2.5+.&= nbsp; This is only as a quick start at this point. You will generally= not use the installer to install a production environment, you will use yo= ur lessons learned from the installer in your quick start to have your step= s prepared.
The only prerequisites are Java 8 JDK. It will work in Windows, Un= ix, Mac (any OS where you can run DOS or shell scripts), however you will n= eed docker so Unix/Mac are best. It saves a README.txt which files ar= e being edited, and which commands are being run, so the user can learn fro= m what is going on. It uses the stock Grouper container so there is n= o magic or hidden configuration included.
Install Grouper using the "quickstart container" (maturity level -1)
The Grouper installer requires the internet currently. We can remo= ve this requirement in the future if needed.
How do I create a schema for my database?
Ask the DBA to do this, here is an example for a local Oracle installati= on
CREATE = USER grouper_v1_5 IDENTIFIED BY xxxxxxxx DEFAULT TABLESPACE "USERS" QUOTA UNLIMITED ON "USERS"; GRANT "CONNECT" TO grouper_v1_5; GRANT "RESOURCE" TO grouper_v1_5; -- 2 Roles for grouper_v1_5 GRANT CONNECT TO grouper_v1_5; GRANT RESOURCE TO grouper_v1_5; ALTER USER grouper_v1_5 DEFAULT ROLE ALL; -- 5 System Privileges for grouper_v1_5 GRANT CREATE SEQUENCE TO grouper_v1_5; GRANT CREATE SESSION TO grouper_v1_5; GRANT CREATE TABLE TO grouper_v1_5; GRANT CREATE VIEW TO grouper_v1_5; GRANT UNLIMITED TABLESPACE TO grouper_v1_5;
Problem with HSQL DB port:
If there is a problem with the HSQL port, then select that you do not wa= nt to use the default included database, then for the database URL, change = the port to something else, e.g. from 9001 to 9002 with URL like this: jdbc= :hsqldb:hsql://localhost:9002/grouper Leave the use= rname and pass as "sa" and <blank>, and continue
What do I do when I am done with the installer?
See the page on Getting Ready for Production<= /a>
Installing the v2.5 container with th= e installer
You can put a grouper.installer.properties in the same directory as the = grouperInstaller.jar to control various aspects. See the grouper.inst= aller.example.properties for whats possible to put in there
At a minimum you need this in the config file (version and url)
# this = should be before the version number download.server.url =3D http://software.internet2.edu/grouper # default version to install grouper.version =3D 2.3.0
To run the installer, use this command
[appadm= in@i2midev6 patchesAuto]$ ls grouperInstaller.jar=20 grouper.installer.properties [appadmin@i2midev6 patchesAuto]$ java -cp .:grouperInstaller-x.y.z.jar edu.= internet2.middleware.grouperInstaller.GrouperInstaller
You can also set this property which as you run the installer will let y= ou know the property to set for each prompt
# this = should be before the version number download.server.url =3D httsp://software.internet2.edu/grouper # print out autorun keys in prompts so you can easily see how to configure = the autorun grouperInstaller.print.autorunKeys =3D false
Then once you see which properties to set, put them all in the grouper.i= nstaller.properties and run, and you can use defaults to make it not intera= ctive
# this = should be before the version number download.server.url =3D https://software.internet2.edu/grouper #### set this to true to try to use defaults for everything. Only things w= ithout default values will need to be set grouperInstaller.autorun.useDefaultsAsMuchAsAvailable =3D true