Installation of DSpace 6.x on Ubuntu 18.04 – Step 2

Installation of Dspace 6.x on Ubuntu 18.04 Step 2 entails the following

  1. Create a DSpace user
  2. Download DSpace
  3. Extracting Dspace package
  4. Installation of DSpace

Create a DSpace user

Apply the following commands one by one,

sudo useradd -m dspace
sudo passwd dspace [enter a password for the new user dspace]
sudo mkdir /dspace
sudo chown dspace /dspace


Create a directory to build Dspace

sudo mkdir /build
sudo chmod -R 777 /build
cd /build

Download DSpace into /build directory


Copy-paste following line in the terminal,

wget https://github.com/DSpace/DSpace/releases/download/dspace-6.3/dspace-6.3-src-release.tar.gz

You can find the latest updated of Dspace 6.x version from this page and copy the link to download latest version.

Extracting Dspace package

tar -zxf dspace-6.3-src-release.tar.gz

Open following file and remove a piece of lines.

sudo vim /build/dspace-6.3-src-release/dspace-api/pom.xml

Remove the following group of codes. Carefully check the lines in the file.

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions><execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>

Save and close the file.

Installation of DSpace

Enter into Dspace package folder and apply the following commands one by one.

cd /build/dspace-6.3-src-release
sudo mvn -U package 
cd dspace/target/dspace-installer
sudo ant fresh_install

1 thought on “Installation of DSpace 6.x on Ubuntu 18.04 – Step 2

Leave a Reply