ubuntu下安装Oracle10gExpress手记

本文介绍如何下载并安装 Oracle Database 10g Express Edition 及其客户端,包括添加依赖包、增加交换空间的具体步骤,并提供配置数据库启动属性、监听端口及账户密码的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

访问http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
下载Oracle Database 10g Express Edition (Universal)
Download     oracle-xe-universal_10.2.0.1-1.0_i386.deb (262,440,214 bytes) (cksum 3404538446) *Debian package
下载Oracle Database 10g Express Client
Download     oracle-xe-client_10.2.0.1-1.0_i386.deb (25,903,396 bytes) (cksum 3176966759) *Debian package

1添加依赖包



2增加swap空间

root@han-laptop:/home/han# mkdir swap
root@han-laptop:/home/han# cd swap/
root@han-laptop:/home/han/swap# dd if=/dev/zero of=swapfile bs=1024 count=250000
记录了 250000+0 的读入
记录了 250000+0 的写出
256000000字节(256 MB)已复制,5.39011 秒,47.5 MB/秒
root@han-laptop:/home/han/swap# sudo mkswap swapfile

Setting up swapspace version 1, size = 249996 KiB
no label, UUID=a2fd1244-d1fc-49de-a6a2-41b390bd0c5e
root@han-laptop:/home/han/swap# sudo swapon swapfile
root@han-laptop:/home/han/swap# free -m
             total       used       free     shared    buffers     cached
Mem:          2016       1658        357          0         24       1281
-/+ buffers/cache:        352       1663
Swap:         1099          0       1099

3安装deb包
han@han-laptop:~$ sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
4配置
han@han-laptop:~$ 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]:8888 [回车]

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:[回车]
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:8888/apex"

 

http://127.0.0.1:8888/apex

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值