我已经在计算机上安装了oracle 11g企业版。但是现在,我必须与Reports and Forms Builder一起使用,并要求其安装Oracle Developer Suite 10g。
我已经从oracle站点下载了.cpio
文件
https://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/101202linuxsoft-099233.html
现在我该如何处理这些文件? 谢谢。
答案 0 :(得分:1)
Oracle 10g2?哇,有点老套,但是在这里:
安装libaio1库:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.abcd</groupId>
<artifactId>abcd</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>abcd</name>
<description></description>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
从[Oracle]下载并安装oracle数据库软件包。确保您获得正确的体系结构(在慢速计算机上大约需要3分钟):
sudo apt-get update;
sudo apt-get install -y libaio1 bc
配置Oracle [根据需要更改密码](在运行缓慢的计算机上大约需要4分钟):
sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
并回答每个问题:
sudo /etc/init.d/oracle-xe configure
在〜/ .bashrc中设置会话环境变量:
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]: <Enter>
Specify a port that will be used for the database listener [1521]: <Enter>
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration: system
Confirm the password: system
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: <Enter>
Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
注销并再次登录,以加载更改。