Changeset 37277
- Timestamp:
- 2023-02-05T11:39:49+13:00 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/eurovision-lod/trunk/sites/eurovision/INSTALL.txt
r36765 r37277 10 10 Core command-line tools used by Greenstone3 are: 11 11 12 svn 13 make, autoconf, gcc, g++ 14 ant, javac 15 libz, imagemagick, wget 16 17 Sgvizler2 in the Apache Jena extension uses: 18 19 npm, nodejs 12 svn 13 make, autoconf, gcc, g++ 14 libz, imagemagick, wget 20 15 21 16 … … 23 18 with: 24 19 25 sudo apt update 26 sudo apt install subversion build-essential openjdk-11-jdk ant libz-dev, imagemagick wget 27 sudo apt install npm 28 29 For editing config files, our preference is to use emacs: 20 sudo apt update 21 sudo apt install subversion build-essential libz-dev, imagemagick wget 30 22 31 sudo apt install emacs 23 24 Note 1: Greenstone3 also uses 'javac' and 'ant'. These get installed as part of 25 the process of svn checking out and then installing Greenstone 26 27 Note 2: For some of the Greenstone extensions this installation makes use of 28 there are some additional command-line tools that it makes use of: 29 npm, nodejs, python3 30 31 Similar to 'javac' and 'ant' these get installed as part of the 32 processing of getting the code checked out and installed 33 34 35 For editing config files, our preference is to use 'emacs': 36 37 sudo apt install emacs-nox 38 32 39 33 40 -- 34 2. Environemts Variable Settings41 2. Checkout and Prepare core Greenstone3 system 35 42 -- 36 For the above Debian10 setup, set the following environment variables: 43 svn co https://svn.greenstone.org/main/trunk/greenstone3 greenstone3-svn 44 cd greenstone3-svn 37 45 38 export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 39 export PATH=$JAVA_HOME/bin:$PATH 40 41 # export CFLAGS=-fPIC 42 # export JAVACFLAGS="-source 1.6 -target 1.6" 43 44 Adjust for your specific environemnt as necessary 45 46 -- 47 3. Checkout and Prepare core Greenstone3 system 48 -- 49 svn co https://svn.greenstone.org/main/trunk/greenstone3 greenstone3-svn 50 cd greenstone3-svn 46 # Now get 47 cd ext-cli 48 ./get-selfcontained-jdk.sh 49 ./get-selfcontained-ant.sh 50 ./get-selfcontained-nodejs.sh 51 ./get-selfcontained-python3.sh 52 cd .. 53 source ./gs3-setup-cli.sh 51 54 52 55 To generate a default 'build.properties' … … 59 62 ant install 60 63 64 61 65 -- 62 4. Test you have an operational Greenstone3 base DL server:66 3. Test you have an operational Greenstone3 base DL server: 63 67 -- 64 68 ant start … … 68 72 http://localhost:8383/greenstone3/library 69 73 70 If working on a remote compute, such as a Google Compute Engine, use its console/dashboard 71 to look up the IP number of the machine, and also add in a firewall rule to open up 72 port 8080 74 ant stop 73 75 74 ant stop 75 76 77 Note: If working on a remote compute, such as a Google Compute Engine, use its console/dashboard 78 to look up the IP number of the machine, and also add in a firewall rule to open up 79 port 8383 80 81 If looking for a quick test and you don't want to got through setting up the machine for 82 external access, you can always set up an ssh tunnel. For example: 83 84 ssh -L 8383:localhost:8383 [email protected] 85 86 76 87 -- 77 5. Checkout and compile the Apache Jena Triplestore extension:88 4. Checkout and compile the Apache Jena Triplestore extension: 78 89 -- 79 svn co https://svn.greenstone.org/gs2-extensions/apache-jena/trunk/src gs2build/ext/apache-jena80 90 81 pushd gs2build/ext/apache-jena/ 91 pushd $GSDL3SRCHOME/gs2build/ext 92 ./get-extension.sh apache-jena 93 94 cd apache-jena/ 82 95 ./CASCADE-MAKE.sh 96 83 97 popd 84 98 99 To test out your extension installation, follow the instructions 100 under: 101 102 "Test Your SPARQL Endpoint" 103 104 In: 105 106 gs2build/ext/apache-jena/README.txt 107 108 85 109 -- 86 6. Test your Sparql endpoint: 110 5. Checkout and compile the MARS extension 87 111 -- 88 Run the Triplestore server:89 112 90 gs-triplestore-server3 113 This extension includes the auduio processing library 114 'essentia', and important for our use command-line 115 utilities such as 'essentia_streaming_extractor_music' 116 117 pushd $GSDL3SRCHOME//ext 118 ./get-extension.sh mars 119 120 cd mars/ 121 ./CASCADE-MAKE.sh 122 123 # There's a lot to compile for essentia, so this will take a while 91 124 92 In a browser visit: 93 94 http://localhost:4040 95 96 If you need to change the port the server runs on, set the environment variable FUSEKI3_PORT. 97 For instance: 98 99 export FUSEKI3_PORT=6060 100 101 Similar note, to the one above in (4) , about setup/access on/to a remote machine 102 103 Stop gs-triplestore-server3 by pressing: 104 105 Control-C (^C) 125 popd 106 126 107 127
Note:
See TracChangeset
for help on using the changeset viewer.