一、Oracle10g安装准备 注:本文以Oracle10.2.0为例。 1、 硬件要求
|
Requirements
Minimum Value
Physical memory(RAM)
512MB(524288 KB)
Swap space
1 GB (1048576 KB) or twice the size of RAM
On system with 2GB or more of RAM, the swap space can be between one and two times the size of RAM
Disk space in /tmp
400 MB (409600 KB)
Disk space for software files
3.5 GB (3670016 KB)
This value includes 1 GB (1048576 KB) of disk space required to install the Oracle Database 10g Products from the Companion CD (optional, but recommended)
Disk space for database files
1.2 GB (1258290 KB)
System architecture
64-bit
1、 创建组和用户
可用HP系统提供的管理工具SAM或命令行的方式,如:创建组dba,在该组中创建oracle用户,用户属主目录为/home/oracle。
注意:Oracle10g不支持以超级用户root安装。
2、 设置环境变量
export ORACLE_BASE=/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH:.
export DISPLAY=IP:0.0(IP:客户端IP地址)
二、安装
1. Oracle支持图形方式的安装,执行安装程序:runInstaller。默认安装类型为“Basic installation”,设置“Database Password”
2. 设置Oracle的安装目录,即ORACLE_BASE,如:/oracle
3. 安装程序执行必要的检查,如检查操作系统当前的patch信息。
4. 展示将要安装的数据库组件,键入 “Install”
5. 安装中……
6. 安装程序调用配置助理,进行相应组件的初始配置。
7. 拷贝数据库文件,创建并启动数据库实例等。
8. 可进行数据库中各个不同角色用户的密码管理,点击“OK”为默认设置。
9. 以root用户执行相应的数据库执行脚本。
10. 安装成功,并显示基于J2EE的数据库管理程序。
11. 点击“Yes”按钮,推出安装程序。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8720638/viewspace-350516/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8720638/viewspace-350516/