Changeset 3640
- Timestamp:
- 2003-01-06T11:49:51+13:00 (21 years ago)
- Location:
- trunk/gsdl3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/INSTALL
r3637 r3640 8 8 source setup.bash 9 9 10 Note: the second setup.bash is needed to add the newly created jar files to t ehCLASSPATH10 Note: the second setup.bash is needed to add the newly created jar files to the CLASSPATH 11 11 12 12 if you want to use soap, also run 13 13 install-soap.bash 14 you shouldn't run this more than once. 14 15 15 16 You should now be able to run greenstone - go to localhost:8080/gsdl3, and 'run the library servlet'. 16 17 17 If you run these install scripts more than once you end up with multiple entries in some config files. 18 If you are getting problems, edit gsdl3/comms/tomcat/jakarta/conf/server.xml and remove any duplicates of <Context> elements. 18 Do not run install.bash more than once. If you need to update your stuff from cvs, or recompile things etc, you can run update.bash. 19 19 20 20 Some notes for subsequent running of gsdl3: -
trunk/gsdl3/install.bash
r3636 r3640 14 14 #export CVSROOT=:pserver:[email protected]:2402/usr/local/global-cvs/gsdl-src 15 15 16 #make sure we have the current GSDL3 16 #make sure we have the current GSDL3 - this also prunes empty directories 17 17 cvs update -dRP 18 18 19 # makemgpp19 # get mgpp 20 20 cd packages 21 21 # check out mgpp 22 22 cvs co mgpp 23 cd mgpp24 ./configure --prefix $GSDL3HOME25 make26 make install27 CLASSPATH=$GSDL3HOME/lib/java/mgpp.jar:$CLASSPATH28 23 cd $GSDL3HOME 29 24 … … 34 29 cd $GSDL3HOME 35 30 36 # make the java packages37 cd src/java/org/greenstone/gdbm38 make39 make install40 CLASSPATH=$GSDL3HOME/lib/java/gdbm.jar:$CLASSPATH41 cd $GSDL3HOME42 43 cd src/java/org/greenstone/testing44 make45 make install46 CLASSPATH=$GSDL3HOME/lib/java/jutest.jar:$CLASSPATH47 cd $GSDL3HOME48 49 cd src/java/org/greenstone/gsdl350 make51 make install52 CLASSPATH=$GSDL3HOME/lib/java/gsdl3.jar:$CLASSPATH53 cd $GSDL3HOME54 55 cd src/java/org/greenstone/applet/phind56 make57 make install58 CLASSPATH=$GSDL3HOME/lib/java/Phind.jar:$CLASSPATH59 cd $GSDL3HOME60 31 61 32 #setup sample collection … … 66 37 cd $GSDL3HOME 67 38 68 # make the javadocs69 JAVADOCDIR=$GSDL3HOME/docs/javadoc70 mkdir -p $JAVADOCDIR71 javadoc -d $JAVADOCDIR -private -link http://www.cs.waikato.ac.nz/~nzdl/gsdl3/javadocs/gathaen/ -link http://www.scms.waikato.ac.nz/help/reference/jdk1.2/docs/api/ -link http://www.cs.waikato.ac.nz/~ml/weka/doc_book/ `find src -name '*.java'` `find packages/ -name '*.java'` > $JAVADOCDIR/javadoc_log72 39 73 40 #set up tomcat … … 94 61 mv server.xml comms/tomcat/jakarta/conf/server.xml 95 62 96 #compile the test servlet97 cd web/WEB-INF/classes98 javac TestServlet.java99 cd $GSDL3HOME100 63 101 64 #make everyone happy by giving the right permissions to the shell scripts 102 65 chmod a+x comms/tomcat/jakarta/bin/*.sh 103 66 104 #start tomcat 105 comms/tomcat/jakarta-tomcat-4.0.1/bin/shutdown.sh 106 comms/tomcat/jakarta-tomcat-4.0.1/bin/startup.sh 67 #now do the compiling etc by calling update.bash 68 update.bash 107 69 108 #NOTE: if you recompile anything, you need to shutdown and restart tomcat109 #to shutdown:110 #comms/tomcat/jakarta-tomcat-4.0.1/bin/shutdown.sh111 #to startup:112 #comms/tomcat/jakarta-tomcat-4.0.1/bin/startup.sh113 114 115
Note:
See TracChangeset
for help on using the changeset viewer.