Page History
...
- Java SDK of course; v 1.5+ For Ant to work properly, you should ensure that `JAVA
JAVA_
HOME`HOME
is set. (Why in the world the Sun installer doesn't do this, I know not.)
...
Wiki Markup [Apache Maven 2.0.8\+|http://maven.apache.org/download.html]. Just unzip it wherever you want it installed, and add `{{\[path-to-apache-maven\|path-to-apache-maven\]\]\bin`bin}} to your system `PATH`{{PATH}}.
Wiki Markup [Apache Ant 1.7.x|http://ant.apache.org/]. Just unzip it wherever you want it installed, and add `{{\[path-to-apache-ant\|path-to-apache-ant\]\]\bin`bin}} to your system `PATH`{{PATH}}.
- Jakarta Tomcat 5.x+. This comes with a Windows installer app and is again easy to install.
...
- Ensure the PostgreSQL service is running, and then run pgAdmin III (Start -> PostgreSQL 8.x -> pgAdmin III). Connect to the local database as the `postgres`
postgres
user, and:- Create a 'Login Role' (user) called `dspace`
dspace
with the password `dspace`dspace
(feel free to set your own password - Create a database called `dspace`
dspace
owned by the user `dspace`dspace
, with UTF-8 encoding
- Create a 'Login Role' (user) called `dspace`
Wiki Markup Update paths in `{{\[dspace-source\|dspace-source\]\dspace\config\dspace.cfg`cfg}}.
Note: Use forward slashes `/
` for path separators, though you can still use drive letters, e.g.:
Panelcode |
---|
dspace.dir = C:/DSpace |
- Create the directory for the DSpace installation (e.g. `C
C:\
DSpace`DSpace
)
Wiki Markup Build DSpace in the normal fashion. From `{{\[dspace-source\|dspace-source\]\dspace\`}} run:
Panelcode |
---|
mvn package |
Wiki Markup Then install DSpace to your specified location. From `{{\[dspace-source\|dspace-source\]\dspace\target\dspace-\[version\].dir\`}} run:
Panelcode |
---|
ant fresh_install |
- Create an administrator account, e.g. assuming `C
C:\
dspace`dspace
is where your DSpace installation is:
Panelcode |
---|
C:\dspace\bin\dsrun org.dspace.administer.CreateAdministrator |
(then enter the required info)
- Copy the `
.
war`war
Web application files from `CC:\dspace\webapps
\` to Tomcat's `webapps`webapps
dir, which should be somewhere like `CC:\Program Files\Apache Software Foundation\Tomcat\
webapps`webapps
- Start the Tomcat service
- Browse http://localhost:8080/dspace. You should see the DSpace home page!
...
- If you run into any problems with the PostgreSQL install, you may wish to refer to the PostgreSQL Windows FAQ
- Only `dsrun`
dsrun
has been translated to a Windows `.
bat`bat
file. The other scripts (e.g. `cleanup`cleanup
, `indexindex-
all`all
) won't work on Windows, hence you have to use `dsrundsrun.
bat`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`cleanup
on Windows, you'd instead run `dsrundsrun org.dspace.storage.bitstore.
Cleanup`Cleanup
- No information yet about how to initialise regular scheduled tasks (e.g. e-mail notification of new items) – please feel free to add!!
Overview
Content Tools