Redhat-Linux-6.5Oracle-10g安装配置手册
下
Redhat Linux 6.2下Oracle 10g
安装配置手册
1. 安装准备
1.1 RedHat Linux Server 6.2安装文件 1.2 Oracle 10g Linux安装文件 1.3
检查安装包
rpm -qa |grep make
automake-1.11.1-1.2.el6.noarch make-3.81-19.el6.x86_64
rpm -qa|grep glibc
glibc-common-2.12-1.47.el6.x86_64 glibc-2.12-1.47.el6.i686
glibc-headers-2.12-1.47.el6.x86_64 glibc-devel-2.12-1.47.el6.i686
compat-glibc-headers-2.5-46.2.x86_64 glibc-2.12-1.47.el6.x86_64
glibc-utils-2.12-1.47.el6.x86_64 glibc-devel-2.12-1.47.el6.x86_64 compat-glibc-2.5-46.2.x86_64
rpm -qa |grep libaio
libaio-devel-0.3.107-10.el6.i686 libaio-0.3.107-10.el6.x86_64
libaio-devel-0.3.107-10.el6.x86_64 libaio-0.3.107-10.el6.i686
rpm -qa |grep gcc
gcc-objc-4.4.6-3.el6.x86_64
gcc-objc++-4.4.6-3.el6.x86_64
compat-gcc-34-g77-3.4.6-19.el6.x86_64 gcc-gfortran-4.4.6-3.el6.x86_64 gcc-gnat-4.4.6-3.el6.x86_64
compat-gcc-34-c++-3.4.6-19.el6.x86_64 gcc-java-4.4.6-3.el6.x86_64 gcc-4.4.6-3.el6.x86_64
compat-gcc-34-3.4.6-19.el6.x86_64 gcc-c++-4.4.6-3.el6.x86_64 libgcc-4.4.6-3.el6.i686 libgcc-4.4.6-3.el6.x86_64
rpm -qa |grep compat-libstdc
compat-libstdc++-296-2.96-144.el6.i686 compat-libstdc++-33-3.2.3-69.el6.i686 compat-libstdc++-33-3.2.3-69.el6.x86_64
rpm -qa |grep compat-gcc
compat-gcc-34-g77-3.4.6-19.el6.x86_64
compat-gcc-34-c++-3.4.6-19.el6.x86_64 compat-gcc-34-3.4.6-19.el6.x86_64
rpm -qa |grep libXp
libXp-1.0.0-15.1.el6.x86_64
libXp-devel-1.0.0-15.1.el6.x86_64 libXpm-3.5.8-2.el6.i686
libXpm-devel-3.5.8-2.el6.x86_64 libXp-devel-1.0.0-15.1.el6.i686 libXpm-3.5.8-2.el6.x86_64 libXpm-devel-3.5.8-2.el6.i686 libXp-1.0.0-15.1.el6.i686
rpm -qa |grep openmotif
openmotif-devel-2.3.3-4.el6.x86_64
openmotif-2.3.3-4.el6.x86_64
openmotif22-2.2.3-19.el6.x86_64 openmotif22-2.2.3-19.el6.i686
rpm -qa |grep compat-db
compat-db43-4.3.29-15.el6.x86_64
compat-db43-4.3.29-15.el6.i686 compat-db42-4.2.52-15.el6.i686 compat-db-4.6.21-15.el6.i686 compat-db-4.6.21-15.el6.x86_64 compat-db42-4.2.52-15.el6.x86_64
2. 硬件要求
1.1 物理内存至少2G
查看命令:grep MemTotal /proc/meminfo 1.2 交换分区:至少1G,最好是物理内存的2倍
查看命令:grep SwapTotal /proc/meminfo 1.3
硬盘空闲区至少4G 查看命令:df –h
3. 创建安装oracle 所需的组和用户
以下操作需要使用root账户创建。 3.1 创建oinstall用户组
groupadd –g 701 oinstall
3.2 创建dba用户组
groupadd –g 702 dba
3.3 创建oracle用户
useradd –g oinstall –G dba oracle
3.4 初始化oracle用户密码
passwd oracle
4. 创建Oracle安装目录
本示例中,Oracle安装路径为:/oracle/product/10.2/db_1 4.1 创建oracle安装目录
mkdir –p /oracle/product/10.2/db_1