How to Install DSpace on Windows | Code Factory

Download DSpace : Download.


How to Configure DSpace in Windows Using CMD :

Step 1 : Download DSpace from the above link.

Step 2 : First download these softwares and install on your machine.

     1) apache-ant-x.x.x-bin
     2) apache-maven-x.x.x
     3) Java and Tomcat
     4) PostgreSQL


Step 3 : Login in PGadmin and create user : dspace and password : dspace with full role.

Step 4 : Create database with name dspace with dspace user role.

Step 5 : Go to location <dspace> -> dspace -> config and then copy file local.cfg.EXAMPLE and paste at same location and rename it with local.cfg

Step 6 : Now remove all blank lines from the local.cfg and dspace.cfg

Step 7 : Create a extension in postgre in dspace database.



Step 8 : CMD : <dspace> -> dspace -> mvn package

Step 9 : CMD : <dspace> -> dspace -> target -> dspace-installer -> ant fresh_install

Step 10 : Previous command will create folder at C: -> dspace or D : -> dspace

Step 11 : CMD : D: -> dspace -> bin -> dspace create-administarator

Step 12 : Go to D: -> dspace -> webapps copy jspui, xmlui, solr and paste it in <tomcat> -> webapps.

Step 13 : Start tomcat and go to URL : http://localhost:8080/jspui





How to Configure DSpace in Windows Using Eclipse :

Step 1 to 7 as above...

Step 8 : Eclipse -> import -> maven project -> dspace-x.x-src-release (dspace source)

            right click on dspace folder in Eclipse ->run as -> configuration

            right click on configuration -> create new configuration -> "Goals : package" -> Run

Step 9 to 13 as above...


(NOTE : If any errors occure at "mvn package" or "Run" in eclipse command time then delete .m2 directory from C: -> user -> YOUR USER)



Tags :
How to Install DSpace on Windows
Installing DSpace on Windows
DSpace installation step by step

Comments

Popular posts from this blog

How to get IP address and MAC address of client in java | #CodeFactory

At Least One Checkbox Is Checked From All CheckBox Group | #CodeFactory

FTP Connection In Installed Alfresco | Code Factory