Differences between revisions 2 and 3
Revision 2 as of 2009-10-23 08:02:57
Size: 1552
Editor: TueLarsen
Comment:
Revision 3 as of 2009-11-04 15:35:22
Size: 1827
Editor: HenrikKirk
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Follow the Quickstart installation manual. Instead of using the NetarchiveSuite*.zip
do the following steps
Download NetarchiveSuite from trunk (after code freeze) and make wayback war file.
Line 4: Line 3:
svn checkout --username developername https://gforge.statsbiblioteket.dk/svn/netarchivesuite
  
cd netarchivesuite/trunk
ant releasezipball
mkdir wayback
mkdir wayback/test/
mkdir wayback/test/conf
'''The following commands can be run directly from a terminal. *remember to change the text in bold.'''

''svn checkout --username '''developername''' https://gforge.statsbiblioteket.dk/svn/netarchivesuite/trunk/ netarchivesuite_trunk/''

''cd netarchivesuite_trunk/''

''mkdir wayback''

''wget http://downloads.sourceforge.net/project/archive-access/wayback/1.4.2/wayback-1.4.2.tar.gz?use_mirror=dfn -O wayback/wayback-1.4.2.tar.gz''

''ant jarfiles''

''ant -f wayback.build.xml warfile''

Download NetarchiveSuite from trunk (after code freeze) and make wayback war file.

The following commands can be run directly from a terminal. *remember to change the text in bold.

svn checkout --username developername https://gforge.statsbiblioteket.dk/svn/netarchivesuite/trunk/ netarchivesuite_trunk/

cd netarchivesuite_trunk/

mkdir wayback

wget http://downloads.sourceforge.net/project/archive-access/wayback/1.4.2/wayback-1.4.2.tar.gz?use_mirror=dfn -O wayback/wayback-1.4.2.tar.gz

ant jarfiles

ant -f wayback.build.xml warfile

cp ~/wayback/bin/wayback-webapp-1.4.1.war ./wayback

# create suiteble settings.xml $ cp settings.xml wayback/prod/conf/settings_0.8.xml

  • # jms broker
  • # server # username/userpassword

$ ant -f warback.build.xml warfile

$ cd /tmp/wayback/ $ mkdir files1; mkdir files2

# populate index

  • # place these sorted cdx'es according to CDXcollection.xml see further down.

# make sure you have acces to a JMS broker and a arc repository

  • # local archive
  • # edit standalone_archive.xml
    • # place arc files in 'archive path' + /filedir/

./RunNetarchiveSuite.sh NetarchiveSuite.zip standalone_archive.xml STANDALONE

hent en tomcat 6.0.20 cd tomcat $ cp ~/netarchive_suite/trunk/ROOT.war $TOMCAT/webapps/

# edit CDXCollection.xml $ cd $TOMCAT/webapps/ROOT/ # include in load path eg. by inserting in ./bin/catalina.sh CATALINA_OPTS='-Ddk.netarkivet.settings.file=~/settings.xml' in first line $ emacs CDXCollection.xml $ edit wayback.xml - make sure that port and URL is corresponding with server

# fire up localhost:8080/wayback/ in local browser $ cd $TOMCAT/ $ ./bin/startup.sh # *maybe need to copy tools.jar into tomcat/lib/

attachment:wayback_netarchivesuite_settings.tar

TEST12 (last edited 2011-08-23 11:47:25 by JonasFrellesen)