具体的参考信息请参考
Quick Installation and Upgrade Guide 10g (9.0.4) for Linux x86
Part No. B10906-03
硬件要求
ram 512m以上
disk space 2g 左右
tmp space 250m
swap space 1.5g
检查方法
检查内存
grep MemTotal /proc/meminfo
检查磁盘空间
df -h dir
检查交换空间
grep SwapTotal /proc/meminfo
OS redhat 3.0 update 2
os软件要求
要求安装如下rpm包
■gcc-3.2.3-20
■ setarch-1.3-1
■ pdksh-5.2.14
■ openmotif21-2.1.30-8
■ gnome-libs-1.4.1.2.90-34.1
■ compat-glibc-7.x-2.2.4.32.5
■ compat-gcc-7.3-2.96.122
■ compat-libstdc++-7.3-2.96.122
■ compat-libstdc++-devel-7.3-2.96.122
■ compat-gcc-c++-7.3-2.96.122
■ sysstat-4.0.7
检查方法
rpm -q pkg_name
对gcc 做连接
mv /usr/bin/gcc /usr/bin/gcc.backup
mv /usr/bin/g++ /usr/bin/g++.backup
ln -s /usr/bin/gcc296 /usr/bin/gcc
ln -s /usr/bin/g++296 /usr/bin/g++
打上第一个patch(rh3需要的rh2.1不需要)
patch no 3006854
gunzip p3006854_9204_LINUX.zip
cd 3006854
sh rhel3_pre_install.sh
即可
这个补丁 创建 /etc/libcwait.so文件
假如不打这个补丁
oui没法启动
新建用户
useradd ias10g
检查一下ias10g用户的.bash_profile
不需要设置一下环境变量
TNS_ADMIN ORA_NLS33 LD_BIND_NOW
修改内核参数
vi /etc/sysctl.conf
加上
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 142
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 20000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
保存,然后执行
sysctl -p
检查一下是否生效
cat cat /proc/sys/kernel/shmmax
修改系统对资源的限制
修改/etc/security/limits.conf 文件,加上
* soft nproc 2047
* hard nproc 16384
* soft nofile 2048
* hard nofile 16384
修改 /etc/pam.d/login加上
session required /lib/security/pam_limits.so
修改ias10g 用户 .bash_profile
增加资源
ulimit -u 16384
ulimit -n 16384
加上路径
ias 安装在 /tpdata/ias10g2
PATH=$PATH:$HOME/bin:/tpdata/ias10g2/OraHome1/bin:/tpdata/ias10g2/OraHome1/opmn/bin:/tpdata/ias10g2/OraHome1/dcm/bin
下载ias10g 安装文件
我们只安装ohs+j2ee+webcache,所以选择下载
http://www.Oracle.com/technology/so...ias/devuse.Html
编号为7的OracleAS J2EE and Web Cache v9.0.4
总共4个文件
下载好后,解压
cpio -idvm
cpio -idvm
cpio -idvm
cpio -idvm
su - ias10g2
我选择远程安装所以设置display 变量
eXPort DISPLAY=10.2.33.41:0
cd Disk1
./runInstaller
出现如下提示
***************************************************************
Please Refer to Quick Installation Guide and/or Metalink Notes
for Redhat 3.0 system setup.
Install and Configuration issues are expected if system is not
setup as per the guidelines before
Oracle Application Server 10g (9.0.4) installs.
Specifically, please ensure the following:
* Availability of gcc-3.2.3, setarch-1.3, pdksh-5.2,
openmotif21-2.1.30, sysstat-4.0.7, gnome-libs-1.4.1.2.90-34.1,
libstdc++-3.2.3, etc.
* Availability of Compat libraries:
compat-libstdc++-devel-7.3-2.96.122,
compat-glibc-7.x-2.2.4.32.5, etc.
* Patch for libcwait.so (Patch no. 3006854)
* Symbolic links for gcc/g++
Enter 'y' if the target system is configured as per the
guidelines specified in the Quick Installation Guide
Answer 'n' to exit runInstaller
Please retry after completing system setup.
***************************************************************
Is system configured correctly ?
[y/n] (n)
选择y,回车,让安装程序检查是否具备安装条件
Starting Oracle Universal Installer ...
Checking requirements...
Checking operating system version: must be redhat-2.1, UnitedLinux-1.0 or redhat-3 Passed
All requirements met.
Checking if CPU speed is above 450 MHz.
Actual 3056 MHz Passed
Checking for Kernel version 2.4.21-4.EL Passed
Checking for glibc version glibc-2.3.2-95.3 Passed
Checking operating system packages: gcc-3.2.3-20,compat-gcc-7.3-2.96.122,compat-gcc-c++-7.3-2.96.122,compat-libstdc++-7.3-2.96.122,compat-libstdc++-devel-7.3-2.96.122,openmotif21-2.1.30,setarch-1.3-1,pdksh-5.2.14,sysstat-4.0.7,gnome-libs-1.4.1.2.90-34.1,libstdc++-3.2.3,compat-libstdc++-devel-7.3-2.96.122,compat-glibc-7.x-2.2.4.32.5 Failed
Package gcc-3.2.3-20 is missing
Checking swap space: must be greater than 1536 MB.
Actual 2000MB Passed
Error : Packages version not per Installation requirement.Continue? (y/n) [n]
检查显示 Package gcc-3.2.3-20 is missing ,不用管他
选择y