Difference between revisions of "SUNScholar/Install DSpace/S03"
Jump to navigation
Jump to search
m (→Step 3.3) |
m (→Step 3.2) |
||
| Line 29: | Line 29: | ||
<pre> | <pre> | ||
dspace@repository:~$ ls -l source | dspace@repository:~$ ls -l source | ||
| − | lrwxrwxrwx 1 dspace dspace 35 Dec 18 11:47 source -> /home/dspace/dspace- | + | lrwxrwxrwx 1 dspace dspace 35 Dec 18 11:47 source -> /home/dspace/dspace-5.2-src-release |
</pre> | </pre> | ||
Revision as of 23:26, 6 June 2015
NEXT - STEP 4
Step 3. Unpack DSpace
Step 3.1
Type the following to extract the source code.
Replace all instances of XXX with the DSpace version number selected for installation.
tar -xzvf $HOME/dspace-XXX-src-release.tar.gz
Step 3.2
To be able to simplify the wiki documentation when doing upgrades and to simply path references to the source code we create a shortcut or in the Unix world a "symbolic link" to point to the source folder of interest.
This creates the $HOME/source path which will then be used for all of the following documentation to refer to the source code.
This is also the [dspace-source] folder referred to in the official DSpace documentation.
To create the symbolic link type the following:
Replace all instances of XXX with the DSpace version number selected for installation.
cd $HOME
ln -s dspace-XXX-src-release source
See example below:
dspace@repository:~$ ls -l source lrwxrwxrwx 1 dspace dspace 35 Dec 18 11:47 source -> /home/dspace/dspace-5.2-src-release
Step 3.3
A bug was introduced in DSpace 5.2, whereby the "webapp" folders are not created. To remedy this, type the following:
cd $HOME/source/dspace/modules; for X in jspui lni oai rdf rest sword swordv2 xmlui; do mkdir -p $X/src/main/webapp; done
Please see: https://jira.duraspace.org/browse/DS-2590
References
PREVIOUS - STEP 2