Difference between revisions of "SUNScholar/Install DSpace/S03"

From Libopedia
Jump to navigation Jump to search
 
(21 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<center>
 
<center>
  '''[[SUNScholar/Install DSpace/S04|STEP 4]]'''
+
  '''[[SUNScholar/Install DSpace/S04|NEXT - STEP 4]]'''
 
</center>
 
</center>
  
Line 6: Line 6:
 
===Step 3.1===
 
===Step 3.1===
 
Type the following to extract the source code.
 
Type the following to extract the source code.
{{VERSION}}
 
tar -xzvf /home/dspace/dspace-3.2-src-release.tar.gz
 
  
  tar -xzvf /home/dspace/dspace-1.8.2-src-release.tar.gz
+
{{VERSION-DSPACE}}
 +
 
 +
  tar -xzvf $HOME/dspace-XXX-src-release.tar.gz
  
 
===Step 3.2===
 
===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.
 
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/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>''' path which will then be used for all of the following documentation to refer to the source code.
+
This creates the '''$HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>''' 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.
 
This is also the '''[dspace-source]''' folder referred to in the official DSpace documentation.
  
To create the '''symbolic link''' type one of the following:
+
To create the '''symbolic link''' type the following:
;<big>For DSpace version 3.2</big>
 
  
cd /home/dspace
+
{{VERSION-DSPACE}}
  
  ln -s dspace-3.2-src-release source
+
  cd $HOME
  
;<big>For DSpace version 1.8.2</big>
+
  ln -s dspace-XXX-src-release source
  cd /home/dspace
 
  
ln -s dspace-1.8.2-src-release source
+
See example below:
 +
<pre>
 +
dspace@repository:~$ ls -l source
 +
lrwxrwxrwx 1 dspace dspace 35 Dec 18 11:47 source -> /home/dspace/dspace-6.3-src-release
 +
</pre>
  
 
===References===
 
===References===
 
*http://en.wikipedia.org/wiki/Symbolic_link
 
*http://en.wikipedia.org/wiki/Symbolic_link
 +
 +
<center>
 +
'''[[SUNScholar/Install DSpace/S02|PREVIOUS - STEP 2]]'''
 +
</center>
 +
 +
[[Category:Installation]]
 +
__NOTOC__

Latest revision as of 14:20, 30 October 2019

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-6.3-src-release

References

PREVIOUS - STEP 2