Contents |
Running DSpace on Windows is actually rather similar to running it on any other operating system. For the most part, you should be able to follow the normal DSpace Installation Documentation. However, this page provides you with some hints that are specific to Windows.
Caution: These instructions are themselves in 'beta' See 'Notes' below.
You should also read the DSpace install docs corresponding to your DSpace version Make sure to look most closely at the section on "Windows Installation" in the System Documentation.
You'll need to install this pre-requisite software (for DSpace 1.5.x and higher). Check the "Windows Installation" section of the System Documentation for the most recent pre-requisites, as they sometimes differ based on the version of DSpace you are running.
JAVA_HOME
is set. (Why in the world the Sun installer doesn't do this, I know not.)[path-to-apache-maven]\bin
to your system PATH
.[path-to-apache-ant]\bin
to your system PATH
.postgres
user, and:dspace
with the password dspace
(feel free to set your own passworddspace
owned by the user dspace
, with UTF-8 encoding[dspace-source]\dspace\config\dspace.cfg
.Note: Use forward slashes /
for path separators, though you can still use drive letters, e.g.:
dspace.dir = C:/DSpace |
C:\DSpace
)[dspace-source]\dspace
run:mvn package |
[dspace-source]\dspace\target\dspace-[version].dir
run:ant fresh_install |
C:\dspace
is where your DSpace installation is:C:\dspace\bin\dspace.bat dsrun org.dspace.administer.CreateAdministrator |
(then enter the required info)
.war
Web application files from C:\dspace\webapps
to Tomcat's webapps
dir, which should be somewhere like C:\Program Files\Apache Software Foundation\Tomcat\webapps
See instructions at Handle Server Setup as Windows Service (using Tanuki)
dsrun
has been translated to a Windows .bat
file. The other scripts (e.g. cleanup
, index-all
) won't work on Windows, hence you have to use dsrun.bat
with the class name as shown in the install steps above. You can run any other script by opening up the file, and finding the class name after "$BINDIR/dsrun". So, to run cleanup
on Windows, you'd instead run dsrun org.dspace.storage.bitstore.Cleanup