Difference between revisions of "SUNScholar/Install DSpace/S06/3.X"

From Libopedia
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
  cd $HOME/{{Source}}/dspace/target/dspace-3.X-build
 
  cd $HOME/{{Source}}/dspace/target/dspace-3.X-build
Replace the "X" with the version of DSpace to install.
+
''Replace the "X" with the version of DSpace to install.''
  
 
Type the following in the above named directory:
 
Type the following in the above named directory:
  
 
  ant fresh_install
 
  ant fresh_install
 
A lot of information now appears on the screen. Below are shown the last lines confirming success:
 
<pre>
 
    [java] Started: 1349777373408
 
    [java] Ended: 1349777373778
 
    [java] Elapsed time: 0 secs (370 msecs)
 
    [echo]
 
    [echo] ====================================================================
 
    [echo]  The DSpace code has been installed, and the database initialized.
 
    [echo]
 
    [echo]  To complete installation, you should do the following:
 
    [echo]
 
    [echo]  * Setup your Web servlet container (e.g. Tomcat) to look for your
 
    [echo]    DSpace web applications in: $HOME/webapps/
 
    [echo]
 
    [echo]    OR, copy any web applications from $HOME/webapps/ to
 
    [echo]    the appropriate place for your servlet container.
 
    [echo]    (e.g. '$CATALINA_HOME/webapps' for Tomcat)
 
    [echo]
 
    [echo]  * Make an initial administrator account (an e-person) in DSpace:
 
    [echo]
 
    [echo]    $HOME/bin/dspace create-administrator
 
    [echo]
 
    [echo]  * Start up your servlet container (Tomcat etc.)
 
    [echo]
 
    [echo]  You should then be able to access your DSpace's 'home page':
 
    [echo]
 
    [echo]    http://bibj-lt-hgibson.sun.ac.za
 
    [echo]
 
    [echo]  You should also be able to access the administrator UI:
 
    [echo]
 
    [echo]    http://bibj-lt-hgibson.sun.ac.za/dspace-admin
 
    [echo] ====================================================================
 
    [echo]       
 
 
BUILD SUCCESSFUL
 
</pre>
 
  
 
<font color="red">'''Please Note:'''</font>
 
<font color="red">'''Please Note:'''</font>

Latest revision as of 12:43, 22 June 2016

BACK TO STEP 6

Change directory to the install directory by typing as follows:

cd $HOME/source/dspace/target/dspace-3.X-build

Replace the "X" with the version of DSpace to install.

Type the following in the above named directory:

ant fresh_install

Please Note:

  • If you change anything later then rebuild your DSpace.
  • Do not run "ant fresh_install" again, this is only done once during installation.
  • If this is an upgrade, then type: ant update