Quick Install for IDM UserApp
Novell Cool Solutions: Tip
By David Gersic
Digg This -
Posted: 28 Nov 2007
A Forum reader recently asked:
"I'm trying to get the User Application installed. I'm stuck at the >"$JAVA_HOME part ..."
And here's the response from David Gersic ...
First, do *not* try to do this as root. It won't work. Create a user "idm" or something like that, log in as that user, and install from there. Trust me on this one ...
I'm on my third install of UserApp today. Here's the quick version of how to do it.
1. As root, log in and open ports 8080 and 63306 on the firewall.
2. In eDirectory, create your UserApp admin user (cn=UserAppAdmin,ou=IDM,o=whatever), and set its password.
3. In eDirectory, create your IDM LDAP proxy user (cn=idm,ou=idm,o=whatever) and set its password as well.
4. Create a user 'idm' and set password 'pword' on this user. The home directory is assumed to be /home/idm from here on out.
5. Log in as user 'idm'.
6. Mount the CD and run /media/cdrom/linux/user_application/IdmUserApp.bin to start the installer.
7. Select the "run the jboss and mysql install" option.
8. Set the following values:
Path to jboss and mysql: /home/idm/jboss-mysql Database name: idmuserappdb User: root Password: rootspassword
9. When that's done, select the UserApp installer.
10. Set these values:
Migrate: No Path: /home/idm Database Type: MySQL Database location: localhost:3306 Database: idmuserappdb Database user: root Database user password: rootspassword Single Node: Yes Audit: No Import Master Key Value: No
11. When UserApp LDAP config runs, set these values:
Ldap Host: ip address of your IDM vault LDAP server Port: 389 (change these if necessary to match your LDAP config) Secure Port: 636 Ldap Admin: cn=idm,ou=idm,o=whatever Ldap Admin Password: whatever you selected above Public / Anonymous: Yes Secure Admin: Yes Secure User: Yes
Root DN: OU=Users,o=Whatever Provisioning Driver DN: cn=UserApplication,cn=DS1,ou=IDM,o=whatever UserApp Admin DN: cn=UserAppAdmin,ou=IDM,o=whatever User Container DN: OU=Users,o=Whatever Group Container DN: OU=Groups,o=whatever
12. Save all of that, and the installer will completes.
13. Run these commands:
cd /home/idm/jboss-mysql/jboss/bin chmod 764 shutdown.sh
This prevents an error trying to shut down the UserApp portal, because the shutdown script is not marked as "Executable" for some reason.
You should now have UserApp installed, and you should be able to start it up. If you want it to auto-start, see TID #3620160. There's a sample startup script you can put in /etc/init.d and use chkconfig -add to run it on startup.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com