Oracle 9i 在 Red Hat Enterprise Linux 3 AS U2 上的安装
2005-01-25 14:10
1121 查看
1)硬件环境
至少512mb RAM,但是256mb由于测试足够了
硬盘至少要6G(2G系统+4G数据库)
2)安装RHEL3ASU2
选择最小安装,大概500多mb吧
关掉防火墙
固定IP,不要DHCP
swap是RAM的两倍,且至少是400mb
3)解压缩安装文件
zcat ship_9204_linux_disk1.cpio.gz | cpio -idmv
zcat ship_9204_linux_disk2.cpio.gz | cpio -idmv
zcat ship_9204_linux_disk3.cpio.gz | cpio -idmv
4)环境设置
echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf
5)安装编译包
rpm -Uvh cpp-3.2.3-34.i386.rpm /
gcc-3.2.3-34.i386.rpm /
glibc-devel-2.3.2-95.20.i386.rpm /
glibc-headers-2.3.2-95.20.i386.rpm /
glibc-kernheaders-2.4-8.34.i386.rpm /
compat-libstdc++-7.3-2.96.128.i386.rpm
6)添加用户
groupadd dba
groupadd oinstall
useradd -g oinstall -G dba oracle
passwd oracle
7)建立安装目录
mkdir /u01/oracle/product/9.2.0 -p
chown -R oracle.oinstall /u01/oracle
8)配置环境变量
编辑/home/oracle/.bash_profile,添加
# Use the "Linuxthreads with floating stacks" implementation instead of NPTL:
export LD_ASSUME_KERNEL=2.4.1
# Oracle Environment
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=/u01/oracle/product/9.2.0
export ORACLE_SID=test
export ORACLE_TERM=xterm
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
# Set shell search paths
export PATH=$PATH:$ORACLE_HOME/bin
至少512mb RAM,但是256mb由于测试足够了
硬盘至少要6G(2G系统+4G数据库)
2)安装RHEL3ASU2
选择最小安装,大概500多mb吧
关掉防火墙
固定IP,不要DHCP
swap是RAM的两倍,且至少是400mb
3)解压缩安装文件
zcat ship_9204_linux_disk1.cpio.gz | cpio -idmv
zcat ship_9204_linux_disk2.cpio.gz | cpio -idmv
zcat ship_9204_linux_disk3.cpio.gz | cpio -idmv
4)环境设置
echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf
5)安装编译包
rpm -Uvh cpp-3.2.3-34.i386.rpm /
gcc-3.2.3-34.i386.rpm /
glibc-devel-2.3.2-95.20.i386.rpm /
glibc-headers-2.3.2-95.20.i386.rpm /
glibc-kernheaders-2.4-8.34.i386.rpm /
compat-libstdc++-7.3-2.96.128.i386.rpm
6)添加用户
groupadd dba
groupadd oinstall
useradd -g oinstall -G dba oracle
passwd oracle
7)建立安装目录
mkdir /u01/oracle/product/9.2.0 -p
chown -R oracle.oinstall /u01/oracle
8)配置环境变量
编辑/home/oracle/.bash_profile,添加
# Use the "Linuxthreads with floating stacks" implementation instead of NPTL:
export LD_ASSUME_KERNEL=2.4.1
# Oracle Environment
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=/u01/oracle/product/9.2.0
export ORACLE_SID=test
export ORACLE_TERM=xterm
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
# Set shell search paths
export PATH=$PATH:$ORACLE_HOME/bin
相关文章推荐
- Oracle 9i 在 Red Hat Enterprise Linux 4 AS u4 上的安装
- Red Hat Enterprise Linux AS 安装 Oracle 9i过程整理
- Oracle 11g for Red Hat Enterprise Linux 6安装(64位)
- Red Hat Enterprise Linux 4(64位) 下安装 Oracle 10g
- Red Hat Enterprise Linux 4 下安装 Oracle 10g
- Red Hat Enterprise Linux 7.4上安装Oracle 11.2.0.4
- Red Hat Enterprise Linux 7.0 x86_64下安装Oracle 12c R1
- Red Hat Enterprise Linux 4 下安装 Oracle 10g
- Red Hat Enterprise Linux 7.0 安装 oracle 12c
- Red Hat Enterprise Linux 5(32Bit/64Bit)安装Oracle(10g/11g)!!!
- Red Hat Enterprise Linux 5(32Bit/64Bit)安装Oracle(10g/11g)
- 在VMware虚拟机的Red Hat Enterprise Linux 6.5 64bit安装oracle 11g
- vmware中RHEL5(Red Hat Enterprise Linux 5)下oracle 11g安装文档
- 详解在Red Hat Enterprise Linux 5上安装Oracle
- Red Hat Enterprise Linux 5(32Bit/64Bit)安装Oracle(10g/11g)
- 【原创】Red Hat Enterprise Linux 4 (RHEL4) 下Oracle10.2.0.1的安装手册。
- Oracle学习笔记:在Oracle或Red Hat Enterprise Linux 5 上 安装oracle10g
- oracle 10g 在 RED HAT ENTERPRISE LINUX 5下的安装
- 在Red Hat Enterprise Linux 7.0 x86_64下安装Oracle 11g R2
- Linux(Red Hat Enterprise Linux 6)安装Oracle(12c Release 2)数据库