en:user_advanced:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:installation [2018/09/12 04:09] – [Uptodate source code from SVN] anupama | en:user_advanced:installation [2019/03/25 01:20] – [Installation for a networked lab environment] anupama | ||
---|---|---|---|
Line 24: | Line 24: | ||
Prerequisites for compiling the source component and source distribution on Windows: | Prerequisites for compiling the source component and source distribution on Windows: | ||
* Java JDK 6.x or later. For compiling on Windows 64 bit, need the 64 bit version of JDK. For compiling Greenstone 3.06 and onwards, need JDK 7.x or later. | * Java JDK 6.x or later. For compiling on Windows 64 bit, need the 64 bit version of JDK. For compiling Greenstone 3.06 and onwards, need JDK 7.x or later. | ||
- | * PERL: if you're using GS3.07 or earlier, get ActivePerl for Windows. From GS3.08 onwards, binaries and source distributions come with a Strawberry Perl located in the GS3's '' | + | * PERL: if you're using GS3.07 or earlier, get ActivePerl for Windows. From GS3.08 onwards, binaries and source distributions come with a [[http:// |
* Visual Studio 8 or later (Visual Studio 12 on 64 bit Windows 10 worked too.) | * Visual Studio 8 or later (Visual Studio 12 on 64 bit Windows 10 worked too.) | ||
* (If you want to compile GS2 or GS3 with debugging on, you will need Microsoft SDK) | * (If you want to compile GS2 or GS3 with debugging on, you will need Microsoft SDK) | ||
Line 387: | Line 387: | ||
export JAVA_HOME=/ | export JAVA_HOME=/ | ||
export ANT_HOME=/ | export ANT_HOME=/ | ||
- | export PATH=$JAVA_HOME/ | + | export PATH=$JAVA_HOME/ |
- | $ANT_HOME/ | + | |
</ | </ | ||
- Checkout the code: < | - Checkout the code: < | ||
Line 402: | Line 401: | ||
checkout.imagemagick.ext=true | checkout.imagemagick.ext=true | ||
</ | </ | ||
- | - If you're on Mac OS version 10.11/El Capitan, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ < | + | - **If you're on Mac OS version 10.11/El Capitan |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | export JNICFLAGS=" | + | export JNICFLAGS=" |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- Finally, you can start the steps for building GS3 from SVN: < | - Finally, you can start the steps for building GS3 from SVN: < | ||
Line 423: | Line 422: | ||
</ | </ | ||
- | * If you want imagemagick and ghostscript on a mac, check out the precompiled binaries from svn | + | * If you want imagemagick and ghostscript on a mac, check out the precompiled binaries from svn **after** the '' |
< | < | ||
Line 457: | Line 456: | ||
==== Running the installer in text-only mode ==== | ==== Running the installer in text-only mode ==== | ||
- If you're on Linux or Mac, give the binary of the installer execute permissions | - If you're on Linux or Mac, give the binary of the installer execute permissions | ||
- | - Then run it by passing in the text-only flag, as shown below. | + | - Then run it by passing in the -textonly |
- Follow the instructions on the screen thereafter. If you mistype at any stage, press ctrl-C to start again. | - Follow the instructions on the screen thereafter. If you mistype at any stage, press ctrl-C to start again. | ||
< | < | ||
- | > ./ | + | > ./ |
- | ---------------------------- | + | |
- | Extracting java installer... | + | |
- | ---------------------------- | + | |
- | + | ||
- | Extraction Complete | + | |
- | You can now run "java -jar greenstone.jar text" to run the installer from the command line | + | |
- | > | + | |
</ | </ | ||
+ | |||
+ | **NOTE:** Previously, the instructions for running the installer in text-only mode were incorrect. They advised running the installer wrongly using '' | ||
+ | |||
===== Installation for a networked lab environment ===== | ===== Installation for a networked lab environment ===== | ||
Line 486: | Line 481: | ||
* set '' | * set '' | ||
- | * set '' | + | * set '' |
* set '' | * set '' | ||
* set '' | * set '' | ||
- | Set all the property values exactly as above, except '' | + | Set all the property values exactly as above, except '' |
Now if you replicate the installation to other machines in the lab, your users can log into any machine and continue working with Greenstone3. | Now if you replicate the installation to other machines in the lab, your users can log into any machine and continue working with Greenstone3. |
en/user_advanced/installation.txt · Last modified: 2023/08/03 03:07 by anupama