Find topic
Web tools
Help
Tools
|
Simple 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'@'%'
IDENTIFIED BY '$rR32_e%^qw~1pE' WITH GRANT OPTION;
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 create-tapor-database
ant -f $TAPOR_HOME/build-hibernate.xml create-taporNews-database
ant -f $TAPOR_HOME/build-hibernate.xml schema
ant -f $TAPOR_HOME/build-hibernate.xml restore
- Shutdown tomcat (shutdown.sh or shutdown.bat in the tomcat bin folder).
-
Download the files below to the directory from which Tomcat will be started. For example, in case Tomcat is started from
/usr/local/Tomcat/bin, then these files should be copied to this directory:
-
Edit the $TAPOR_HOME/sitemap.xmap. Two changes are needed:
- User Management - This change configures the portal to use a flat file to store user information, rather than an ldap server. If you wish to use an LDAP server, use the Advanced Install instructions.
Find the following snippet
<!--
<map:match pattern="sunrise-authuser">
<map:generate src="resources/sunrise-user.xml"/>
<map:transform src="styles/authenticate.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
-->
<map:match pattern="sunrise-authuser">
<map:generate src="cocoon:/ldapUsers"/>
<map:transform src="styles/authenticate.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
Uncomment the first map:match statement and comment out the second, so that the result looks as follows:
<map:match pattern="sunrise-authuser">
<map:generate src="resources/sunrise-user.xml"/>
<map:transform src="styles/authenticate.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
<!-- map:match pattern="sunrise-authuser">
<map:generate src="cocoon:/ldapUsers"/>
<map:transform src="styles/authenticate.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
<map:serialize type="xml"/>
</map:match -->
- 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.
Please see Portal Installation FAQ topic for more information about the install process or if you run into any troubles during the deployment
|