DSPACE windows Oracle install

Source: Internet
Author: User

Today I learned about the open-source DSpace software. The installation process is summarized as follows:
1. Environment Settings
1.1 download and install jdk1.6.x. Select the default installation path during installation.
Generally C:/program files/Java/jdk1.6.0 _ 10
Set java_home and classpath and Path
2. Component preparation
2.1 download the latest version of maven2.2.1
Http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.zip
After downloading and decompressing the package, put it in the % Maven % directory and set the maven environment variable.
New Environment Variable: Variable m2_home variable value % Maven %
For example, if % Maven % is D:/maven2.2.1, then m2_home = D:/maven2.2.1, and add % m2_home %/bin in path.
2.2 download the latest apache-ant-1.8.0-bin.zip
Http://ant.apache.org/bindownload.cgi
After decompression, put it in the % ant % directory, and add % ant %/bin in path.
2.3 download the latest Oracle10g

Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
Http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
Http://download.oracle.com/otn/nt/oracle10g/10201/10201_client_win32.zip
Http://download.oracle.com/otn/nt/oracle10g/10201/10201_clusterware_win32.zip
Http://download.oracle.com/otn/nt/oracle10g/10201/10201_gateways_win32.zip

After the download, follow the prompts to install it step by step.
After the installation is complete, click Start> All Programs> Oracle Database 10g Enterprise Edition> go to the database Homepage
Enter the DBA user name and password (that is, the user name and password set during installation ). After successful login, create the user DSpace and password dSPACE

2.4 download the Oracle driver package ojdbc14.jar
In the http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html, select

Because the Oracle version I downloaded is 10.2.0.1.0, I downloaded the corresponding ojdbc14.jar.
Run the MVN command to install ojdbc14.jar to Maven.
For example, place ojdbc14.jar under D:/DSpace and run the CMD command to enter D: disk CD DSpace.
MVN install: Install-file-dfile = ojdbc14.jar-dgroupid = com. Oracle-dartifactid = ojdbc14-dversion = 10.2.0.2.0-dpackaging = jar-dgeneratepom = true command.
Note: when running the MVN command, the-dversion = 10.2.0.2.0 option is available, although the Oracle version is 10.2.0.1.0,
Do not change-dversion = 10.2.0.2.0 to-dversion = 10.2.0.1.0. Otherwise, an error occurs when MVN-DDB. Name = Oracle package.

3. Download The DSpace Installation File
Http://sourceforge.net/projects/dspace/files/
3.1dspace file description
There are two types of dspaceinstallation files in windows. One is that dspace-1.6.0-src-release.zip contains Java code, and the other is
Dspace-1.6.0-release.zip. For specific files and functions, see DSpace's official documentation.
Http://www.dspace.org/1276_0documentation/DSpace-Manual.pdf
3.2 Installation
Take dspace-1.6.0-src-release.zip as an example. decompress the zip package in the % dSPACE-source % folder.
Create the DSpace installation directory % DSpace % such as D:/DSpace and then create the config folder under DSpace, that is, the complete path is
D:/DSpace/config
Go to % dSPACE-source %/DSpace/config and modify the DSpace. cfg file.
Modify DSpace. dir =/DSpace to DSpace. dir = D:/DSpace. Do not modify other database connection parameters.
Click Start> RUN cmd to enter the doc command line cd % dSPACE-source %/DSpace directory.
Run MVN-DDB. Name = Oracle package
After compilation is complete, the bulid successful appears and then under Cd target/dspace-1.6.0-build.dir
Run ant fresh_install.
If the compilation is not successful, modify and adjust it based on the error information. The problem I encountered is that the password of the DSpace user is incorrect. After modifying the password, run ant fresh_install again. bulid successful will appear.

4. Deployment
4.1 download the latest version of Tomcat 6.x
Http://tomcat.apache.org/download-60.cgi
Decompress the package to % Tomcat %.
4.2 copy an object
Copy six files under D:/DSpace/webapps to % Tomcat %/webapps.
Start Tomcat under % Tomcat %/bin and enter http: // localhost: 8080/xmlui in the browser to enter DSpace. The installation is complete. Good luck!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.