2423
Comment:
|
2449
|
Deletions are marked like this. | Additions are marked like this. |
Line 35: | Line 35: |
Make CDX files | |
Line 36: | Line 37: |
''$ ./wayback/bin/'''{warc-/arc--indexer} [-identity] PATH [CDX_PATH]''' '' | |
Line 37: | Line 39: |
--------------------- | Sort cdx files, eg. by using the ''sort'' command in linux, and move the sorted file to /wayback/file.sorted.cdx |
Line 39: | Line 41: |
# 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 |
Move ARC files to /arcs/filedir/ |
Line 49: | Line 43: |
# populate index # place these sorted cdx'es according to CDXcollection.xml see further down. |
Start an local JMS broker with username 'admin' and password 'admin'. |
Line 52: | Line 45: |
# 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 |
''$ mkdir ~/standalone'' |
Line 58: | Line 47: |
hent en tomcat 6.0.20 cd tomcat $ cp ~/netarchive_suite/trunk/ROOT.war $TOMCAT/webapps/ |
''$ ant releasezipball'' |
Line 62: | Line 49: |
# 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 |
''$ cp netarchivesuite_trunk/conf/wayback/standalone_archive.xml ~/standalone/'' |
Line 68: | Line 51: |
Change relevant settings in '''standalone/standalone_archive.xml''' like ''deployGlobal.thisPhysicalLocation.deployInstallDir'' and ''deployGlobal.thisPhysicalLocation.deployMachineUserName''. | |
Line 69: | Line 53: |
''$ cp netarchiveiute_trunk/NetarchiveSuite.zip ~/standalone'' | |
Line 70: | Line 55: |
# fire up localhost:8080/wayback/ in local browser $ cd $TOMCAT/ $ ./bin/startup.sh # *maybe need to copy tools.jar into tomcat/lib/ |
''$ cd ~/standalone/'' |
Line 74: | Line 57: |
attachment:wayback_netarchivesuite_settings.tar | Downlad ''RunNetarchiveSuite.sh'' from http://netarchive.dk/suite/Installation_Manual_3.10/AppendixC?action=AttachFile&do=get&target=RunNetarchiveSuite.sh and save it in ~/standalone/ ''$ ./RunNetarchiveSuite.sh NetarchiveSuite.zip standalone_archive.xml STANDALONE'' === Start Tomcat and browse the archive === ''$ cd '''tomcat_root_dir'''/'' ''$ ./bin/startup.sh '' Goto http://localhost:8080/wayback in a browser and browser some material the the ARC/CDX files. |
== Relaese test Wayback ==;
Execute step '''1-3''' of the quick start manual.
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.
Make sure Tomcat loads Download Apache Tomcat http://tomcat.apache.org/, version 6.XX is recommended. And prepare wayback webapp
$ mv ROOT.war tomcat_root_dir/webapps/
Make ARC and CDX files and setup standalone archive.
Make CDX files
$ ./wayback/bin/{warc-/arc--indexer} [-identity] PATH [CDX_PATH]
Sort cdx files, eg. by using the sort command in linux, and move the sorted file to /wayback/file.sorted.cdx
Move ARC files to /arcs/filedir/
Start an local JMS broker with username 'admin' and password 'admin'.
$ mkdir ~/standalone
$ ant releasezipball
$ cp netarchivesuite_trunk/conf/wayback/standalone_archive.xml ~/standalone/
Change relevant settings in standalone/standalone_archive.xml like deployGlobal.thisPhysicalLocation.deployInstallDir and deployGlobal.thisPhysicalLocation.deployMachineUserName.
$ cp netarchiveiute_trunk/NetarchiveSuite.zip ~/standalone
$ cd ~/standalone/
Downlad RunNetarchiveSuite.sh from http://netarchive.dk/suite/Installation_Manual_3.10/AppendixC?action=AttachFile&do=get&target=RunNetarchiveSuite.sh and save it in ~/standalone/
$ ./RunNetarchiveSuite.sh NetarchiveSuite.zip standalone_archive.xml STANDALONE
Start Tomcat and browse the archive
$ cd tomcat_root_dir/
$ ./bin/startup.sh
Goto http://localhost:8080/wayback in a browser and browser some material the the ARC/CDX files.