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/03/27 05:25] – [Uptodate source code from SVN] anupama | en:user_advanced:installation [2018/06/26 09:18] – [Uptodate source code from SVN] anupama | ||
---|---|---|---|
Line 19: | Line 19: | ||
* [[en: | * [[en: | ||
- | ==== Installation for a networked lab environment ==== | ||
- | |||
- | To support use of Greenstone 3 in a networked lab environment, | ||
- | users to build and serve collections from their own area of the file system. | ||
- | More specifically, | ||
- | |||
- | In the following text we describe the setup procedure for Windows, with | ||
- | Greenstone installed in C:/Program Files/ | ||
- | for MacOS and Linux labs, choosing an appropriate directory such as / | ||
- | as the location to install the GS3 software to. | ||
- | |||
- | For one computer, here's how you can have Greenstone installed centrally (e.g. Program Files), but then have each different user when working at that computer have their own instance of the Greenstone 3 sites, collections, | ||
- | |||
- | Install GS3 as an administrator using the binary installer. Then set the following 4 properties in build.properties: | ||
- | |||
- | * set '' | ||
- | * set '' | ||
- | * set '' | ||
- | * set '' | ||
- | |||
- | 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. | ||
- | |||
- | <!-- | ||
- | greenstone-307.cmd file contains: | ||
- | |||
- | @goto %1 | ||
- | |||
- | :start | ||
- | |||
- | robocopy /e /purge /np image " | ||
- | |||
- | if %ERRORLEVEL% GEQ 4 fail | ||
- | |||
- | robocopy /e /xx /np patches " | ||
- | |||
- | if %ERRORLEVEL% GEQ 4 fail | ||
- | |||
- | robocopy /e /purge /np startmenu " | ||
- | |||
- | if %ERRORLEVEL% GEQ 4 fail | ||
- | |||
- | done | ||
- | |||
- | --> | ||
- | |||
- | ==== Running the installer in text-only mode ==== | ||
- | - 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. | ||
- | - 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 | ||
- | > | ||
- | </ | ||
===== Windows ===== | ===== Windows ===== | ||
Line 448: | Line 386: | ||
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 456: | Line 395: | ||
ant | ant | ||
</ | </ | ||
- | - Most Linux systems and probably all the newer Mac systems require // | + | - Most Linux systems and probably all the newer Mac systems require // |
checkout.gnomelib.ext=true | checkout.gnomelib.ext=true | ||
- | </ | + | </ |
- 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 | ||
Line 465: | Line 404: | ||
export CXXFLAGS=" | export CXXFLAGS=" | ||
export JNICFLAGS=" | export JNICFLAGS=" | ||
- | - Finally, you can start the steps for compiling: < | + | - Finally, you can start the steps for building GS3 from SVN: < |
- | ant prepare | + | ant prepare</ |
- | </ | + | - If you had determined to use a pre-compiled gnome-lib in step 5, then visit http:// |
+ | tar -xvzf gnome-lib-minimal-< | ||
+ | cd gnome-lib-minimal | ||
+ | source ./ | ||
+ | cd ../../.. | ||
+ | </ | ||
+ | - You can now run the compile step: < | ||
cd ext | cd ext | ||
source devel.bash | source devel.bash | ||
Line 506: | Line 451: | ||
For more detailed instructions on installation, | For more detailed instructions on installation, | ||
and [[en: | and [[en: | ||
+ | |||
+ | ==== Running the installer in text-only mode ==== | ||
+ | - 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. | ||
+ | - 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 | ||
+ | > | ||
+ | </ | ||
+ | ===== Installation for a networked lab environment ===== | ||
+ | |||
+ | To support use of Greenstone 3 in a networked lab environment, | ||
+ | users to build and serve collections from their own area of the file system. | ||
+ | More specifically, | ||
+ | |||
+ | In the following text we describe the setup procedure for Windows, with | ||
+ | Greenstone installed in C:/Program Files/ | ||
+ | for MacOS and Linux labs, choosing an appropriate directory such as / | ||
+ | as the location to install the GS3 software to. | ||
+ | |||
+ | For one computer, here's how you can have Greenstone installed centrally (e.g. Program Files), but then have each different user when working at that computer have their own instance of the Greenstone 3 sites, collections, | ||
+ | |||
+ | Install GS3 as an administrator using the binary installer. Then set the following 4 properties in build.properties: | ||
+ | |||
+ | * set '' | ||
+ | * set '' | ||
+ | * set '' | ||
+ | * set '' | ||
+ | |||
+ | 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. | ||
+ | |||
+ | <!-- | ||
+ | greenstone-307.cmd file contains: | ||
+ | |||
+ | @goto %1 | ||
+ | |||
+ | :start | ||
+ | |||
+ | robocopy /e /purge /np image " | ||
+ | |||
+ | if %ERRORLEVEL% GEQ 4 fail | ||
+ | |||
+ | robocopy /e /xx /np patches " | ||
+ | |||
+ | if %ERRORLEVEL% GEQ 4 fail | ||
+ | |||
+ | robocopy /e /purge /np startmenu " | ||
+ | |||
+ | if %ERRORLEVEL% GEQ 4 fail | ||
+ | |||
+ | done | ||
+ | |||
+ | --> | ||
===== Source Code Stability ===== | ===== Source Code Stability ===== |
en/user_advanced/installation.txt · Last modified: 2023/08/03 03:07 by anupama