en:developer:linux_source_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:developer:linux_source_install [2016/11/17 22:43] – anupama | en:developer:linux_source_install [2023/03/13 01:46] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== Source Installation on Linux ====== | ====== Source Installation on Linux ====== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
===== Greenstone3 ===== | ===== Greenstone3 ===== | ||
This walkthrough is for **Linux**. But it may have the side-effect of helping Windows users too. | This walkthrough is for **Linux**. But it may have the side-effect of helping Windows users too. | ||
Line 22: | Line 24: | ||
- | You need to install it on the research partition, ELSE IT DOESN' | + | You need to install it on the research partition, ELSE IT DOESN' |
- | < | + | < |
Line 31: | Line 33: | ||
- | For students or developers at the University of Waikato: make sure these are installed in the RESEARCH partition, else it doesn' | + | For students or developers at the University of Waikato: make sure these are installed in the RESEARCH partition, else it doesn' |
(**sources** is just a folder where I put the unzipped source code for Greenstone 3 related programs). | (**sources** is just a folder where I put the unzipped source code for Greenstone 3 related programs). | ||
For everyone else, replace this with your FULL PATH to where the apr, apr-util and subversion will be installed. | For everyone else, replace this with your FULL PATH to where the apr, apr-util and subversion will be installed. | ||
Line 47: | Line 49: | ||
The following is separated into multi-lines, | The following is separated into multi-lines, | ||
< | < | ||
- | $ ./ | + | $ ./ |
--without-apxs | --without-apxs | ||
- | --with-apr=/ | + | --with-apr=/ |
- | --with-apr-util=/ | + | --with-apr-util=/ |
--with-neon=/ | --with-neon=/ | ||
</ | </ | ||
Line 56: | Line 58: | ||
< | < | ||
make install</ | make install</ | ||
- | Now it's created a folder called ' | + | Now it's created a folder called ' |
Next, add the path to the bin directory to the paths already exported: | Next, add the path to the bin directory to the paths already exported: | ||
- | < | + | < |
For more details, see [[en: | For more details, see [[en: | ||
Line 81: | Line 83: | ||
===== Checking out and installing Greenstone 3 and GLI ===== | ===== Checking out and installing Greenstone 3 and GLI ===== | ||
+ | |||
+ | * Make sure $JAVA_HOME and $ANT_HOME are set, and that $JAVA_HOME/ | ||
+ | * **If you're on Linux 64 bit,** | ||
+ | < | ||
* **Checking out Greenstone 3 source code from subversion (SVN)** | * **Checking out Greenstone 3 source code from subversion (SVN)** | ||
Line 97: | Line 103: | ||
[co stands for checkout, which will checkout code from SVN] | [co stands for checkout, which will checkout code from SVN] | ||
- | Whenever you need to update with the latest source code from the SVN repository, cd to the $GSDL3HOME directory (your Greenstone installation directory, for example /Scratch/<your-username>/ | + | Whenever you need to update with the latest source code from the SVN repository, cd to the $GSDL3HOME directory (your Greenstone installation directory, for example / |
< | < | ||
Line 126: | Line 132: | ||
- | Update your .profile file, containing your settings, to export JAVA_HOME and update the PATH to point to your Java installation. Go to /Scratch/<your-username>, then either use emacs (or some other text editor) to make the changes to the .profile file by launching it as: | + | Update your .profile file, containing your settings, to export JAVA_HOME and update the PATH to point to your Java installation. Go to / |
< | < | ||
Find out where your Java installation is: | Find out where your Java installation is: | ||
Line 166: | Line 172: | ||
- | Go to $GSDLHOME, Greenstone3 home directory (which in the example above is /Scratch/<your-username>/ | + | Go to $GSDLHOME, Greenstone3 home directory (which in the example above is / |
< | < | ||
Press ' | Press ' | ||
Line 225: | Line 231: | ||
In your greenstone3 home folder, $GSDLHOME: | In your greenstone3 home folder, $GSDLHOME: | ||
< | < | ||
- | Then, deploy (as written in the [[http://www.greenstone.org/ | + | Then, deploy (as written in the [[http://files.greenstone.org/ |
< | < | ||
Check that it works, by **starting** tomcat again and going to: | Check that it works, by **starting** tomcat again and going to: | ||
Line 231: | Line 237: | ||
Make sure that the page appears. You can also look at the wsdl file for the gs3 web service that's been exposed: | Make sure that the page appears. You can also look at the wsdl file for the gs3 web service that's been exposed: | ||
< | < | ||
- | You can also deploy other sites, see the [[http://www.greenstone.org/ | + | You can also deploy other sites, see the [[http://files.greenstone.org/ |
Line 345: | Line 351: | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | < | + | |
- | ############################################################################# | + | |
- | ############################################################################# | + | |
- | ############################################################################# | + | |
- | <TAB> | + | |
===== Greenstone2 ===== | ===== Greenstone2 ===== | ||
NB: These instructions will apply from 7th June 2007 | NB: These instructions will apply from 7th June 2007 | ||
Line 528: | Line 529: | ||
5. make install | 5. make install | ||
- | </TAB> | + | </tabbox> |
- | </ | + |