1

我按照以下步骤安装 dspace

1) Installed Java 1.6 and path was set in system variable as well as the user variable `JAVA_HOME`
2) Unzipped apache ant 1.9.4 and apache maven 3.2.3 and saved in C:/ drive
3) The path was set for apache ant and apache maven in system variables as well as user variable  `ANT_HOME` was created
4) Installed Postgresql 8.4.22-1 and connected to postgres database, created a new login role and a new database called dspace
5) Installed Apache Tomcat 6.0.41 and the service was started
6) Copied dspace 3.1 src release in C:/ drive and created a folder C:/dspace for dspace installation
7) In the dspace.cfg file following values were set:
    a) dspace.dir = C:\dspace-3.1-src-release\dspace  (have set this path coz nothing gets installed to C:/dspace folder although its specified in the manual)
    b) dspace.hostname = the host URL
    c) dspace.baseUrl = the host URL port 8080
    d) dspace.url = the host URL port 8080/jspui
    e) dspace.name = "Digital Library"
    f) db.name = postgres
    g) db.url = jdbc:postgresql://localhost port 5432/dspace
    h) db.driver = org.postgresql.Driver
    i) db.username = dspace
       db.password = dspace
8) Through the command prompt changed the directory to C:\dspace-3.1-src-release\dspace and 
9) the command mvn package was run message "BUILD SUCCESSFUL" was displayed
10) During the execution of the command mvn package several files were downloaded to C:\dspace-3.1-src-release\dspace\target
11) Through the command prompt changed the directory to C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build and the command ant fresh_install was run (here the manual asks to run the command through    directory C:\dspace\bin but theres nothing installed to dspace folder and thus no bin too so it cant be run)
12) The build was successful
13) Through the command prompt changed the directory to C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\bin and the command dspace create-administrator was run
14) An administrator account was created successfully
15) Both the Postgres and Apache Tomcat server were started
16) The 3 folders jspui, xmlui and oai from dspace \ webapps… was copied and pasted these folders in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps
17) Through Mozilla Firefox localhost port 8080 /jspui/ was visited and 404 status error is found saying requested resource is not available
4

2 回答 2

0

对于 Windows 用户,在安装 DSpace 的过程中很容易忽略路径分隔符中反斜杠的使用。这在这里提到:DSpace Windows 安装

  • 对于所有路径分隔符,使用正斜杠(例如“/”)。例如:“C:/dspace”是有效的 Windows 路径。但是,请注意“C:\dspace”是无效的并且会导致错误。
于 2014-11-19T13:53:23.660 回答
0

尝试从 C:\dspace-3.1-src-release\ 目录制作 mvn 包并重做下一步。

于 2014-11-17T08:37:43.180 回答