Find topic
Web tools
Help
Tools
|
Advanced Installation
Requirements
Steps
- Install all of the required applications listed above.
- Download the war file: ROOT.war and deploy the file to Tomcat (use the Tomcat manager, or copy the file to the Tomcat 'webapps' directory and start or restart tomcat, which will expand the file into a new directory). The deployment target (the path to the new directory) will be referred to as $TAPOR_HOME hereafter.
- Add user 'make-ant-easier' with password '$rR32_e%^qw~1pE' to mysql using the following statement:
GRANT ALL ON *.* TO 'make-ant-easier'@'localhost'
IDENTIFIED BY '$rR32_e%^qw~1pE' WITH GRANT OPTION;
GRANT ALL ON *.* TO 'make-ant-easier'@'localhost.localdomain'
IDENTIFIED BY '$rR32_e%^qw~1pE' WITH GRANT OPTION;
-
Run the ant build by invoking the following in a shell session (command prompt in Windows):
ant -f $TAPOR_HOME/build-hibernate.xml restore-tools-all
- Shutdown tomcat (shutdown.sh or shutdown.bat in the tomcat bin folder).
-
Set up the following LDAP Schema. Refer to your LDAP instructions for help. If you'd rather use a flat file for user management, please use the Simple Portal Install instructions.
dn: dc=openskysolutions,dc=ca
objectclass: dcObject
objectclass: organization
o: open sky solutions
dc: openskysolutions
dn: o=openskysolutions,dc=openskysolutions,dc=ca
objectclass: top
objectclass: organization
o: openskysolutions
dn: ou=tapor,o=openskysolutions,dc=openskysolutions,dc=ca
objectclass: top
objectclass: organizationalUnit
ou: tapor
dn: ou=taporUsers,ou=tapor,o=openskysolutions,dc=openskysolutions,dc=ca
objectclass: top
objectclass: organizationalUnit
ou: taporUsers
dn: cn=anonymous,ou=taporUsers,ou=tapor,o=openskysolutions,dc=openskysolutions,dc=ca
taporUserId: anonymous
taporFullName: anonymous
taporRole: guest
taporPassword: anonymous
objectClass: taporUser
sn: anonymous
cn: anonymous
-
Edit the $TAPOR_HOME/sitemap.xmap. Two changes are needed:
- User Management - Update the LDAP settings. Find the following lines and modify appropriately:
<ldapinitializer>com.sun.jndi.ldap.LdapCtxFactory</ldapinitializer>
<ldaphost>locahost</ldaphost>
<ldapport>389</ldapport>
<ldappassword>PASS</ldappassword>
<ldapauthentication>simple</ldapauthentication>
<ldapversion>3</ldapversion>
<ldapsearchbase>dc=openskysolutions,dc=ca</ldapsearchbase>
<ldaprootdn>cn=admin,dc=openskysolutions,dc=ca</ldaprootdn>
<ldappath>
ou=taporUsers,ou=tapor,o=openskysolutions,dc=openskysolutions,dc=ca
</ldappath>
-
Host Settings - Update your host settings. These are the lines you'll change:
<siteRoot>localhost:8080</siteRoot>
<host>localhost:8080</host>
There are two general scenarios that dictate how you'll change the host settings:
-
Start tomcat
-
Initialize default LDAP accounts. This step initializes your LDAP server with several default portal accounts . Run the import by accessing the following URL:
http://localhost:8080/userstoldap
|