Windows Installation
来源:互联网 发布:php程序员是做什么的 编辑:程序博客网 时间:2024/06/05 20:37
3.5. Windows Installation
3.5.1. Pre-requisite Software
You'll need to install this pre-requisite software:
Java SDK 1.5 or later (standard SDK is fine, you don't need J2EE)
PostgreSQL 8.x for Windows OR Oracle 9 or later.
If you install PostgreSQL, it's recommended to select to install the pgAdmin III tool
Apache Ant 1.6.2 or later. Unzip the package in
C:/
and addC:/apache-ant-1.6.2/bin
to thePATH
environment variable. For Ant to work properly, you should ensure thatJAVA_HOME
is set.Jakarta Tomcat 5.x or later
Apache Maven 2.0.8 or later
3.5.2. Installation Steps
Download the DSpace source from SourceForge and untar it (WinZip will do this)
Ensure the PostgreSQL service is running, and then run pgAdmin III (Start -> PostgreSQL 8.0 -> pgAdmin III). Connect to the local database as the postgres user and:
Create a 'Login Role' (user) called
dspace
with the passworddspace
Create a database called
dspace
owned by the userdspace
, with UTF-8 encoding
Update paths in
[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
Make sure you change all of the parameters with file paths to suit, specifically:
dspace.dir config.template.log4j.properties config.template.log4j-handle-plugin.properties config.template.oaicat.properties assetstore.dir log.dir upload.temp.dir report.dir handle.dir
Create the directory for the DSpace installation (e.g.
C:/DSpace
)Generate the DSpace installation package by running the following from command line (cmd) from your
[dspace-source]/dspace/
directory:mvn package
Note #1: This will generate the DSpace installation package in your
[dspace-source]/dspace/target/dspace-[version]-build.dir/
directory.Note #2: Without any extra arguments, the DSpace installation package is initialized for PostgreSQL.
If you want to use Oracle instead, you should build the DSpace installation package as follows:
mvn -Ddb.name=oracle package
Initialize the DSpace database and install DSpace to
[dspace]
(e.g.C:/DSpace
) by running the following from command line from your[dspace-source]/dspace/target/dspace-[version]-build.dir/
directory:ant fresh_install
Note: to see a complete list of build targets, run
ant help
Create an administrator account, by running the following from your
[dspace]
(e.g.C:/DSpace
) directory[dspace]/bin/dsrun org.dspace.administer.CreateAdministrator
and enter the required information
Copy the Web application directories from
[dspace]/webapps/
to Tomcat's webapps dir, which should be somewhere likeC:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps
Alternatively, Tell your Tomcat installation where to find your DSpace web application(s). As an example, in the
<Host>
section of your[tomcat]/conf/server.xml
you could add lines similar to the following (but replace[dspace]
with your installation location):<!-- DEFINE A CONTEXT PATH FOR DSpace JSP User Interface --><Context path="/jspui" docBase="[dspace]/webapps/jspui" debug="0"reloadable="true" cachingAllowed="false"allowLinking="true"/> <!-- DEFINE A CONTEXT PATH FOR DSpace OAI User Interface --><Context path="/oai" docBase="[dspace]/webapps/oai" debug="0"reloadable="true" cachingAllowed="false"allowLinking="true"/>
Start the Tomcat service
Browse to either
http://localhost:8080/jspui
orhttp://localhost:8080/xmlui
. You should see the DSpace home page for either the JSPUI or XMLUI, respectively.
- Windows Installation
- ImageMagick Advanced Windows Installation
- Hadoop installation on windows
- mysql installation guide (windows)
- WINDOWS SHARE POINT 3 INSTALLATION
- Oracle 12R Windows Installation
- OpenCV 2.0 with Windows Installation
- windows 7 Installation DNS BIND
- eclipse installation tips for windows
- Docker on Windows--Installation Problems
- Installation of Theano on Windows
- VirtualBox installation failure on Windows
- Windows Automated Installation Kit Windows 7 Beta
- Ruby on Rails Installation on windows xp
- windows 8 develop software installation guide
- javahl subclipse 64 bit installation on windows
- RIS for Linux - Ris Windows Installation
- Windows 8.1 .Net Framework 3.5 Installation
- Ubuntu10.04下配置java环境变量
- 一周工作总结(C++开发)
- CommonPhotoStar(CFS) is a dynamical picture browsing/recording software
- Windows Azure架构分析概述
- 个人电脑数据维护
- Windows Installation
- 动态读取磁盘及其文件夹信息
- web架构设计经验分享
- AspNetPager外观控制示例
- 设计高可用和高负载的网站系统
- Java和.NET交互工具 JNBridgePro
- WebShell通过SQL语句管理MSSQL
- SQL注入原理和方法
- 常用SQL注入语句