Install Dspace 6.3 on Windows10

Install Dspace 6.3 on Windows10

homepage

Pre-Requisite Software:

i) Java JDK

ii) Apache Maven

iii) Apache Ant

iv) Apache Tomcat

v) PostgreSQL

vi) Dspace

Step-1: Download Java jdk-8u111-windows-x64.exe from below link. (Note: If you are new to Oracle, you need to create user account otherwise you can log in to download the software).    https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html

1

Step-2: Download apache-maven-3.3.9-bin.zip file from below link. https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.3.9/

2

Step-3: Download apache-ant-1.9.7-bin.zip file from below link.              https://archive.apache.org/dist/ant/binaries/

3

Step-4: Download apache-tomcat-9.0.0.M13.exe file from below link. https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M13/bin/

4

Step-5: Download postgresql-9.4.26-1-windows-x64.exe file from below link. https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

5

Step-6: Download dspace-6.3-src-release.zip file from below link.                    https://wiki.lyrasis.org/display/DSDOC6x/

6

Step-7: Now we have downloaded all pre-requisite software.

7

Step-8: Now extract all the zipped files by right click on the file and then click extract here.

8

Step-9: Now all the zipped files have been extracted.

9

Step-10: Move the extracted files to your C:\ drive.

10

Step-11: Now install Java jdk-8u111-windows-x64.exe by right click on the file and then click on run as administrator and then click yes if prompted.

11

Click on Next button.

12

Click on Next button.

13

14

Click on Next button.

15

16

Now Java has been successfully installed. Click on Close button.

17

Step-12: Then next step to install postgresql-9.4.26-1-windows-x64 by right click on the file and then click on run as administrator and then click yes if prompted.

18

Click on Next button.

19

Click on Next button.

20

Click on Next button.

21

Set password for postgresql database.

22

Click on Next button.

23

Click on Next button.

24

Click on Next button.

25

26

Now PostgreSQL has been successfully installed. Uncheck the box and click on Finish button.

27

Step-13: Then next step to install apache-tomcat-9.0.0.M13.exe by right click on the file and then click on run as administrator and then click yes if prompted.

28

Click on Next button.

29

Click on I Agree button.

30

Click on Next button.

31

You can set the password or leave it as per your own choice. Click on Next button.

32

Click on Next button.

33

Click on Install button.

34

35

Now Apache Tomcat has been successfully installed. Click on Finish button.

36

Step-14: Now we have to set the “Environment Variables”. First right click on my computer and then select properties.

37

Then select “Advanced System Settings”.

38

Select “Environment Variables” option.

39

Select “Path” and click on Edit button in System variables.

40

Then click on “Edit text” option.

41

Add the paths in last line: ;C:\apache-ant-1.9.7\bin;C:\apache-maven-3.3.9\bin;C:\Program Files\Java\jdk1.8.0_111\bin; and then click on ok.

42

Select “Path” and click on Edit button in User variables.

43

Then click on “Edit text” option.

44

Add again the same paths in last line: ;C:\apache-ant-1.9.7\bin;C:\apache-maven-3.3.9\bin;C:\Program Files\Java\jdk1.8.0_111\bin; and then click on ok.

45

Click on “New” button in User variables.

46

Type “JAVA_HOME” in Variable name and give the path C:\Program Files\Java\jdk1.8.0_111 in Variable value and click on ok.

47

Again click on “New” button in User variables.

48

Type “ANT_HOME” in Variable name and give the path C:\apache-ant-1.9.7 in Variable value and click on ok.

49

Now we have created both User variables and System variables, click on ok button.

50

Click on ok button in System Properties.

51

Then go to your windows search box and type “pgadmin”. Click on pgAdmin.

52

Check your Postgresql version by going through the path: C:\Program Files\PostgreSQL in my case the version is 9.4, so right click on the option and select “Connect” or you can double click on the option.

53

Give the password that was already set at the time of installation and click on ok button.

54

Right click on “Login Roles” and select “New Login Roles”.

55

Type “dspace” in Role name in properties option.

56

Set the password for ex: “dspace” in Definition option.

57

Select all the options in Role privileges and click on ok.

58

Then right click on “Databases” and select “New Database” option.

59

Type “dspace” in Name box and choose dspace in Owner drop down option.

60

In Definition option choose “UTF-8” from Encoding and “pg_default” from Tablespace drop down option and click on ok button

61

Then go to Database-dspace-Extensions. Right click on Extensions and select                “New Extension”.

62

Select “pgcrypto” from the drop down option

63

In Definition option choose “public” in schema drop down option and select the version and then click on ok.

64

Create a folder naming “dspace” in C:\ drive.

65

Go to your windows search box and type “cmd” for Command Prompt and select it.

66

Type command “java -version” for checking the status of java version and then following by “ant -version

Untitled

Type cd C:\dspace-6.3-src-release\dspace to change the directory.

67

Now we have to install maven package for dspace. To do that type mvn package and press enter key.

68

It will take long time depending upon your internet speed.

69

Now the build process is successful.

70

Then we need to install ant package for dspace. To do that first change the directory from cd C:\dspace-6.3-src-release\dspace to cd C:\dspace-6.3-src-release\dspace\target\dspace-installer and press enter key.

71

Type ant fresh_install and press enter key.

72

Now the build process is successful.

73

Now change the directory from cd C:\dspace-6.3-src-release\dspace\target\dspace-installer to cd c:\dspace\bin to create administrator in Dspace and then press enter key.

74

Type dspace create-administrator and press enter key. Give the details: E-mail address / First name / Last name / Password /and after finished type y and press enter key.

75

Then copy jspui, xmlui and solr folders from C:\dspace\webapps to C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps

78

79

Now run the tomcat server. Go to windows search box, type tomcat and select “Configure Tomcat”.

76

Click on start button.

77

Now type the http://localhost:8080/jspui on the address bar of your web browser for jspui interface and login with your credentials.

80

Now type the http://localhost:8080/xmlui on the address bar of your web browser for xmlui interface and login with your credentials.

81

Enjoy Dspace

Thanking you.

All Credits: Subrat Kumar Nanda, IITK

Reference:

    https://subratiitk.wordpress.com/install-dspace-on-windows-10/ 

 

Comments

Popular posts from this blog

Install Dspace 7.2 on Ubuntu 22.04 LTS

How to delete library data in koha using the command line

Koha INSTALLATION

Total views