Oracle Database 10g Release 2(10.2.0.1)脚本自动化安装

2014-11-24 18:22:29 · 作者: · 浏览: 0

#!/bin/sh
#The scripts is for RHEL5U1
#author is kevin
#date 2011-06-06


for i in libXp-1.0.0-8 openmotif-2.3.0-0.3.el5 compat-db-4.2.52-5.1 compat-gcc-34-3.4.6-4 compat-libf2c-34-3.4.6-4 compat-gcc-34-g77-3.4.6-4 compat-gcc-34-c++-3.4.6-4 compat-libstdc++-296-2.96-138 compat-libstdc++-33-3.2.3-61
do
yum install -y $i
done


# 用户ROOT登录在字符界面下
clear
echo "you can su - oracle in X and run runInstaller to install oracle now"
#su - oracle
#startx -- :1
#./runInstaller
# 开始安装ORACLE