[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 请教如何在Debian2.30上安装oracle



吼吼,我装过oracle的express版本,直接用.deb格式安装的。
下边是我当时安装记录,也许可以参考一下~~:

我的oracle-xe-universal_10.2.0.1-1.0_i386.deb在debian系统里安装 记录

2008-06-06 16:53


(正在读取数据库 ... 系统当前总共安装有 89087 个文件和目录。)
正在解压缩 oracle-xe-universal (从 oracle-xe-universal_10.2.0.1-1.0_i386.deb) ...
正在设置 oracle-xe-universal (10.2.0.1-1.0) ...
update-rc.d: warning: /etc/init.d/oracle-xe missing LSB style header
Executing Post-install steps...

You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

正在处理用于 man-db 的触发器...
togry@xiaowp:/media/extend/linux/oracle_deb$ sudo /etc/init.d/mysql stop
Stopping MySQL database server: mysqld.
togry@xiaowp:/media/extend/linux/oracle_deb$ cd /etc/init.d/
togry@xiaowp:/etc/init.d$


togry@xiaowp:~$ sudo /etc/init.d/oracle-xe configure

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]:8088

Specify a port that will be used for the database listener [1521]:

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:123
Confirm the password:123

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:

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:8088/apex"
togry@xiaowp:~$


_____________________________________________
在J2EE中使用数据库连接

# ---database connection---
# Mysql
#database.driverClassName=com.mysql.jdbc.Driver
#database.url="">
#database.username=web
#database.password=123456

# Oracle
database.driverClassName=oracle.jdbc.driver.OracleDriver
database.url="">
database.username=WEB
database.password=123456

Reply to: