How to Install DSpace on Windows | Code Factory
Reference Link : Link
Download DSpace : Link
How to Configure DSpace in Windows Using CMD :
Step 01 : Download DSpace from the above link.
Step 02 : First download these softwares and install on your machine.
- apache-ant-x.x.x-bin
- apache-maven-x.x.x
- Java and Tomcat
- PostgreSQL
Step 03 : Login in PGadmin and create user : dspace
and password : dspace
with full role.
Step 04 : Create database with name dspace with dspace user role.
Step 05 : 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 06 : Now remove all blank lines from the local.cfg
and dspace.cfg
Step 07 : Create a extension in postgre in dspace database.
CREATE EXTENSION pgcrypto;
commit;
Step 08 : CMD : <dspace> -> dspace -> mvn package
Step 09 : 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 01 to 07 as above…
Step 08 : 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 09 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)