`

ubuntu下安装Oracle10gExpress手记

阅读更多

访问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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics