2864
Comment:
|
3499
|
Deletions are marked like this. | Additions are marked like this. |
Line 23: | Line 23: |
Check that there are no faults. |
|
Line 27: | Line 29: |
''$ mv ROOT.war ~/tomcat/webapps/'' | ''$ mv ~/netarchivesuite_trunk/ROOT.war ~/tomcat/webapps/'' |
Line 29: | Line 31: |
Make sure Tomcat loads ''conf/wayback/settings.xml''. This can be done my add the following line to ~/tomcat/bin/catalina.sh | Make sure Tomcat loads ''~/netarchivesuite_trunk/conf/wayback/settings.xml''. This can be done my add the following line to ~/tomcat/bin/catalina.sh |
Line 31: | Line 33: |
''CATALINA_OPTS='-Ddk.netarkivet.settings.file=~/tomcat/webapps/ROOT/WEB-INF/settings.xml' | CATALINA_OPTS='-Ddk.netarkivet.settings.file=~/tomcat/webapps/ROOT/WEB-INF/settings.xml' ''$ cd ~/tomcat/bin/'' Edit catalina.sh add the above line just below '''#!/bin/bash'''. |
Line 41: | Line 47: |
''$ cd ~/netarchivesuite_trunk'' |
|
Line 43: | Line 51: |
Sort cdx files, eg. by using the ''sort'' command in linux, and move the sorted file to /wayback/file.sorted.cdx | ''$ mkdir /wayback/'' |
Line 45: | Line 53: |
Move ARC files to /arcs/filedir/ | Sort cdx files, eg. by using the ''sort'' command in linux, and move the sorted file to /wayback/file.sorted.cdx. Eg. ''$ sort unsorted.cdx > /wayback/file.sorted.cdx''. Move created ARC files to '''/arcs/filedir/''' |
Line 49: | Line 59: |
Check that there are no files. |
|
Line 51: | Line 63: |
''$ cd ~/netarchivesuite_trunk'' |
|
Line 52: | Line 66: |
Check that there are no files. |
|
Line 61: | Line 77: |
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/ | 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/'''. |
Line 64: | Line 80: |
Check that std. output and log files don't report any errors. Log files lies in '''~/standalone/STANDALONE/log/*'''. |
|
Line 69: | Line 87: |
''$ ./bin/startup.sh '' | ''$ ./bin/startup.sh'' Check that there are reported no errors in '''~/tomcat/log/catalina.out'''. |
Line 85: | Line 105: |
Remove Stuff | Remove installed application: |
Line 93: | Line 113: |
Optional remove ''/arcs'' and ''/wayback'' | Optional remove ''/arcs'' and ''/wayback''. |
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. Check that there are no faults.
Download and unpack Tomcat to ~/tomcat/ Make sure Tomcat loads CATALINA_OPTS='-Ddk.netarkivet.settings.file=~/tomcat/webapps/ROOT/WEB-INF/settings.xml' Edit catalina.sh add the above line just below #!/bin/bash.
Use the NetarchiveSuite to create ARC files: As described in the Quick Start manual step 4 and/or 5. Make CDX files: Sort cdx files, eg. by using the Move created ARC files to /arcs/filedir/ Start an local JMS broker with username 'admin' and password 'admin'. Check that there are no files. Check that there are no files. Change relevant settings in standalone/standalone_archive.xml like Downlad Check that std. output and log files don't report any errors. Log files lies in ~/standalone/STANDALONE/log/*.
Check that there are reported no errors in ~/tomcat/log/catalina.out. Goto http://localhost:8080/wayback in a browser and browser some material the the ARC/CDX files.
Stop Tomcat: Stop archive: Remove installed application: Optional remove Download Apache Tomcat http://tomcat.apache.org/, version 6.XX is recommended. And prepare wayback webapp.
Make ARC and CDX files and setup standalone archive.
Start Tomcat and browse the archive
$ cd ~/tomcat/ $ ./bin/startup.sh Clean up things