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/07 03:39] – [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 215: | Line 215: | ||
</ | </ | ||
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | export JNICFLAGS=" | + | export JNICFLAGS=" |
+ | export CXXFLAGS=" | ||
- The Java Runtime (JRE) included in binaries from Greenstone 3.07 onward is version 7. For 32 bit linux binaries, the included JRE is 32 bit and for 64 bit linux binaries the JRE is 64 bit. //If you have set up a system Java of a version different from the JRE included//, then \\ | - The Java Runtime (JRE) included in binaries from Greenstone 3.07 onward is version 7. For 32 bit linux binaries, the included JRE is 32 bit and for 64 bit linux binaries the JRE is 64 bit. //If you have set up a system Java of a version different from the JRE included//, then \\ | ||
* rename the '' | * rename the '' | ||
Line 349: | Line 350: | ||
- 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, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ < | ||
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | export JNICFLAGS=" | + | export JNICFLAGS=" |
+ | export CXXFLAGS=" | ||
- In the terminal, you can now finally run '' | - In the terminal, you can now finally run '' | ||
> env | grep INSTALL | > env | grep INSTALL | ||
Line 385: | 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 399: | Line 400: | ||
- If you want to compile imagemagick from source on Unix systems (though for Mac you can also use the precompiled imagemagick binary*), < | - If you want to compile imagemagick from source on Unix systems (though for Mac you can also use the precompiled imagemagick binary*), < | ||
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 421: | 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 455: | 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 484: | 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