User Tools

Site Tools


en:user_advanced:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:user_advanced:installation [2018/11/13 06:06] – [Windows] anupamaen:user_advanced:installation [2019/03/25 01:18] – [Installation for a networked lab environment] anupama
Line 456: 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 flag, as shown below.
   - 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.
  
 <code> <code>
-> ./Greenstone-3.06rc1-linux-x64 text-only +> ./Greenstone-3.06rc1-linux-x64 -textonly
----------------------------- +
-Extracting java installer... +
----------------------------- +
- +
-Extraction Complete +
-You can now run "java -jar greenstone.jar text" to run the installer from the command line +
->+
 </code> </code>
 +
 +**NOTE:** Previously, the instructions for running the installer in text-only mode were incorrect. They advised running the installer wrongly using ''./Greenstone-3.06rc1-linux-x64 text-only'', which rather triggered the default behaviour of the installer software (antinstaller) for a different kind of text-only installation rather than triggering the Greenstone installer's specific -textonly mode. Unfortunately, the wrong route would not install the bundled JRE into the Greenstone installation, despite requiring the Greenstone user to run the ''java'' command in the very next step of the install.
 +
 ===== Installation for a networked lab environment ===== ===== Installation for a networked lab environment =====
  
Line 485: Line 481:
  
   * set ''using.user.web=true''   * set ''using.user.web=true''
-  * set ''web.home=${user.home}/greenstone3/web''\\ [[https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html|Java's user.home property]] should resolve to a writable user location, e.g  web.home will work out to be something like C:/Users/me/greenstone3/web). You can decide on other locations within ${user.home}, as you choose. For example, you can set web.home=${user.web}/gs3/myweb. \\ Or if your lab setup is such that you're mounting each user's account at H: at each log in, then just set web.home=H:/gs3/web. Then, whenever any user is logged in, their collection data will be in H:/gs3/web. So web.home in such a case may look static and fixed to somewhere in H: in the build.properties file, but it's actually not static, since it changes to refer to different users' accounts based on who is logged in.+  * set ''web.home=${user.home}/greenstone3/web''\\ [[https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html|Java's user.home property]] should resolve to a writable user location, e.g  web.home will work out to be something like C:/Users/me/greenstone3/web). You can decide on other locations within ${user.home}, as you choose. For example, you can set web.home=${user.home}/gs3/myweb. \\ Or if your lab setup is such that you're mounting each user's account at H: at each log in, then just set web.home=H:/gs3/web. Then, whenever any user is logged in, their collection data will be in H:/gs3/web. So web.home in such a case may look static and fixed to somewhere in H: in the build.properties file, but it's actually not static, since it changes to refer to different users' accounts based on who is logged in.
   * set ''gsdl3home.isreadonly=true''   * set ''gsdl3home.isreadonly=true''
   * set ''gsdl3.writablehome=${java.io.tmpdir}/greenstone/web''    * set ''gsdl3.writablehome=${java.io.tmpdir}/greenstone/web'' 
en/user_advanced/installation.txt · Last modified: 2023/08/03 03:07 by anupama