Difference between revisions of "CoNE:Installation"
Jump to navigation
Jump to search
m |
Haarlaender (talk | contribs) m (→Configuration) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
= CoNE Enterprise archive = | = CoNE Enterprise archive = | ||
* The EAR file (latest release 1.2.16) can be downloaded from the [http://rd.mpdl.mpg.de/nexus/service/local/artifact/maven/redirect?r=releases&g=de.mpg.escidoc.services&a=cone_ear&v=1.2.16&e=ear Nexus artifact server]. | * The EAR file (latest release 1.2.16) can be downloaded from the [http://rd.mpdl.mpg.de/nexus/service/local/artifact/maven/redirect?r=releases&g=de.mpg.escidoc.services&a=cone_ear&v=1.2.16&e=ear Nexus artifact server]. | ||
* | * Explode this file into <code>$JBOSS_HOME/server/default/deploy/cone.ear</code>. | ||
* There are missing dependencies in the archive that have to be added manually: | |||
** Download [http://search.maven.org/remotecontent?filepath=commons-io/commons-io/1.4/commons-io-1.4.jar commons-io.jar] and [http://rd.mpdl.mpg.de/nexus/service/local/artifact/maven/redirect?r=central&g=commons-fileupload&a=commons-fileupload&v=1.2.1&e=jar commons-fileupload.jar] | |||
** Add the following to <code>$JBOSS_HOME/server/default/deploy/cone.ear/META-INF/application.xml</code>: | |||
<module> | |||
<java>commons-io-1.4.jar</java> | |||
</module> | |||
<module> | |||
<java>commons-fileupload-1.2.1.jar</java> | |||
</module> | |||
= CoNE database = | = CoNE database = | ||
Line 14: | Line 24: | ||
* Optionally, a database user with grants for this database can be created. | * Optionally, a database user with grants for this database can be created. | ||
* Run the following SQL scripts on this new database to create the database structure: | * Run the following SQL scripts on this new database to create the database structure: | ||
** [https:// | ** [https://subversion.mpdl.mpg.de/repos/pubman/trunk/pubman/pubman_installer/src/main/resources/coneData/database_create.sql database_create.sql] | ||
** [https:// | ** [https://subversion.mpdl.mpg.de/repos/pubman/trunk/pubman/pubman_installer/src/main/resources/coneData/database_index.sql database_index.sql] | ||
* If you want initial content for the existing models, execute the according scripts from [https:// | * If you want initial content for the existing models, execute the according scripts from [https://subversion.mpdl.mpg.de/repos/pubman/trunk/pubman/pubman_installer/src/main/resources/coneData/ here] | ||
= Configuration = | = Configuration = | ||
* Download the following configuration files from Subversion: | * Download the following configuration files from Subversion: | ||
** [https:// | ** [https://subversion.mpdl.mpg.de/repos/common/trunk/common_services/cone_ear/src/main/resources/cone.properties cone.properties] | ||
** [https:// | ** [https://subversion.mpdl.mpg.de/repos/common/trunk/common_services/cone_ear/src/main/resources/auth.properties auth.properties] | ||
** [https:// | ** [https://subversion.mpdl.mpg.de/repos/common/trunk/common_services/aa_presentation/src/test/resources/conf.xml conf.xml] | ||
** [https:// | ** [https://subversion.mpdl.mpg.de/repos/common/trunk/common_services/aa_presentation/src/main/resources/ips.xml ips.xml] | ||
* Edit the files and adapt them to your environment. | * Edit the files and adapt them to your environment. Default values can be found [https://subversion.mpdl.mpg.de/repos/common/trunk/common_services/pom.xml here] | ||
= Check your installation = | |||
* Start JBoss | |||
* CoNE should be accessible at [http://localhost:8080/cone/ http://localhost:8080/cone/] | |||
* Try to login | |||
[[Category:CoNE]] | [[Category:CoNE]] | ||
[[Category:How To]] | [[Category:How To]] | ||
[[Category:Installation instruction]] | [[Category:Installation instruction]] |
Latest revision as of 10:23, 18 February 2015
Currently, no graphical installer is available for CoNE. This page describes how to set up CoNE as a standalone installation on an application server.
Prerequisites[edit]
- Java 6 JDK
- Postgres 8.3+ database
- JBoss Application Server 4.2.x
CoNE Enterprise archive[edit]
- The EAR file (latest release 1.2.16) can be downloaded from the Nexus artifact server.
- Explode this file into
$JBOSS_HOME/server/default/deploy/cone.ear
.
- There are missing dependencies in the archive that have to be added manually:
- Download commons-io.jar and commons-fileupload.jar
- Add the following to
$JBOSS_HOME/server/default/deploy/cone.ear/META-INF/application.xml
:
<module> <java>commons-io-1.4.jar</java> </module> <module> <java>commons-fileupload-1.2.1.jar</java> </module>
CoNE database[edit]
- Create a new database in Postgres. The name can be chosen freely, but remember it.
- Optionally, a database user with grants for this database can be created.
- Run the following SQL scripts on this new database to create the database structure:
- If you want initial content for the existing models, execute the according scripts from here
Configuration[edit]
- Download the following configuration files from Subversion:
- Edit the files and adapt them to your environment. Default values can be found here
Check your installation[edit]
- Start JBoss
- CoNE should be accessible at http://localhost:8080/cone/
- Try to login