Difference between revisions of "CoNE:Installation"

From MPDLMediaWiki
Jump to navigation Jump to search
m
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].
* Put this file into <code>$JBOSS_HOME/server/default/deploy</code>. Optionally, it may be exploded.
* 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://rd.mpdl.mpg.de/nexus/service/local/artifact/maven/redirect?r=jboss-deprecated-repository&g=commons-io&a=commons-io&v=1.4&e=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 =

Revision as of 04:56, 27 October 2011

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:
 <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]

Check your installation[edit]