Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Pre-requisite Software
First download the following software from Internet.
1. UNIX-like OS or Microsoft Windows
2. JAVA JDK 7 or 8 (jdk-8u121-windows-x64)
3. APACHE ANT 1.8 or later (apache-ant-1.9.9-bin)
4. APACHE MAVEN 3.0.5 or later (3.3.9+) (apache-maven-3.3.9-bin)
5. PostgreSQL 9.4 or later (PostgreSQL-9.6.2-2-win64-bigsql)
6. APACHE TOMCAT 7 or later (apache-tomcat-9.0.0.M18)
7. DSpace 5.2 (dspace-5.2-src-release) or DSpace 6.1 (dspace-6.1-src-release)
Steps for Installation DSpace:
1. First Unzip Apache Ant, Apache Maven and DSpace zip files shown above by right click on these
and extract these in to C Drive or copy these unzipped folders into C Drive.
2. Steps to Install JAVA JDK
Run Java JDK Software by double click on jdk-8u121-windows-x64 and install by following the
onscreen instructions and accept the license agreement.
3. Steps to Add Environment Variables:
Open Environment Variables by Right Clicks on Followings:
Compute Properties Advanced System Settings Environment Variables (Click
on PATH) Edit. It will Show:
Variable name: PATH
Variable value: (Something like this)
C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot
%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0
and copy the path i.e. C:\apache-maven-3.3.9\bin in to the notepad after putting semi
colon (;) after C:\apache-ant-1.9.9\bin.
Now copy all text from Notepad and paste in the Variable value of Variable name PATH.
This text will be like this:
C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot
%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\apache-ant-
1.9.9\bin;C:\apache-maven-3.3.9\bin;C:\Program Files\Java\jdk1.8.0_121\bin
Now open the Command prompt and verify the java, maven and ant versions by typing following
commands one by one in command prompt:
C:\Users\(Name of Computer)> java version (It will show: java version "1.8.0_121); again type
C:\Users\(Name of Computer)> ant version (It will show: Apache Ant(TM) version 1.9.9..); again type
C:\Users\(Name of Computer)> mvn -version (It will show: Apache Maven 3.3.9)..;
This shows that all platforms are installed successfully.
4. Installation of PostgreSQL
Click on PostgreSQL-9.6.2-2-win64-bigsql and follow the onscreen instructions to install this.
Give password dspace when asked for password. Uncheck (Remove ) when asked for the Stack
Builder during installation.
Now open PG Admin3 in computer. Right Click on Server localhost (localhost:5432) and connect
server using password dspace.
i. Right Click on Login Roles New Login Role. Give Role Name: dspace and click all under all
Role privileges and click OK. (In this way New Login Role named dspace will be created).
ii. Now Right Click on Databases New Databases. Give Name: dspace and choose owner
dspace. Then under definition select pg_default under Tablespace. Then click OK. (In this way
New database named dspace will be created).
iii. Now close the PGAdmin3
************************