[Ubuntu]Ubuntu 10.04 安装Oracle 10g XE

1.安装好Ubuntu 10.04环境 正常安装和虚拟机安装均可

2.下载 oracle-xe-universal_10.2.0.1-1.0_i386.deb(官方网站)下载后存放在某文件夹 例如:/home/ftp

3.切换到root用户

4.更新系统

apt-get update
apt-get upgrade

5.安装 libaio1

apt-get install libaio1

6.切换到oracle安装包存放路径后 执行如下命令:

dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb

7.等待一段时间后,oracle安装完毕。开始配置oracle。执行下面的命令:
/etc/init.d/oracle-xe configure

8 出现如下内容

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]: 我采用的默认

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:
Password can't be null. Enter password:输入密码
Confirm the password:输入密码

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: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:8080/apex

 

9.打开火狐浏览器,输入“http://127.0.0.1:8080/apex ” ,出现了oracle的界面

补充:

1。编辑/etc/apt/sources.list文件
vi /etc/apt/sources.list

添加下面的内容:
deb http://oss.oracle.com/debian unstable main non-free

2。导入oracle公钥
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O

3。将公钥加入本地密钥系统
apt-key add

或者2,3步合并:
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O -|apt-key add -

然后执行更新操作。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值