在红旗 DC Server 5.0 SP2 X86_64 上安装oracle 9.2.0.8 X86_64
1、 内核版本: 2.6.9-42.7Axsmp x86_64 GNU/Linux
2、 Oracle 9R2安装包
amd64_db_9204_Disk1.cpio.gz
amd64_db_9204_Disk2.cpio.gz
amd64_db_9204_Disk3.cpio.gz
p4547809_92080_Linux-x86-64.zip
3、 最少4G的空间
4、安装系统
5、安装盘第二次碟里有两个patch包:
oracleasmlib-2.0.2-1.x86_64.rpm
oracleasm-support-2.0.3-1AX.x86_64.rpm
如果没有安装,需要先安装:
#rpm –ivh oracleasmlib-2.0.2-1.x86_64.rpm
#rpm –ivh oracleasm-support-2.0.3-1AX.x86_64.rpm
6、创建用户组oinstall & dba和用户oracle
#groupadd oinstall
#groupadd dba
#useradd –g oinstall –G dba oracle
#passwd oracle
修改
[oracle@vmhost ~]$ vi /home/oracle/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
ORACLE_HOME=/vmware/oracle9i/product/9.2.0
ORACLE_BASE=/vmware/oracle9i/
export ORACLE_HOME ORACLE_BASE
NLS_LANG="Simplified Chinese_China.ZHS16gbk"
NLS_DATE_FORMAT=DD-MM-YYYY
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
ORACLE_TERM=vt100
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin
export NLS_LANG NLS_DATE_FORMAT ORA_NLS33 LD_LIBRARY_PATH PATH
ORACLE_SID=orcl
export ORACLE_SID
export LD_ASSUME_KERNEL=2.4.2
umask 022
7、创建安装目录
[root@vmhost ~]#mkdir –p /vmware/oracle9i
[root@vmhost ~]#chown oracle.oinstall /vmware/oracle9i
8、修改系统gcc和g++版本
[root@vmhost bin]#cd /usr/bin
[root@vmhost bin]# mv gcc gcc.bak
[root@vmhost bin]# ln -s gcc32 gcc
[root@vmhost bin]# mv g++ g++.bak
[root@vmhost bin]# ln -s g++32 g++
[root@vmhost bin]#
[root@vmhost bin]# gcc -v
Reading specs from ./../lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Asianux 1.0 3.2.3-47.3)
[root@vmhost bin]# g++ -v
Reading specs from ./../lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Asianux 1.0 3.2.3-47.3)
[root@vmhost bin]#
9、开始安装
[oracle@vmhost Disk1]$ ls
doc index.htm install response runInstaller stage
[oracle@vmhost Disk1]$ ./runInstaller
详细安装过程
|
文件: |
在红旗 DC Server 5.0 SP2 X86_64 上安装oracle 9.2.0.8 X86_64.rar |
大小: |
2931KB |
下载: |
下载 | |
阅读(803) | 评论(0) | 转发(0) |