ITPUB论坛 » Oracle Application Server套件 » oracle 10gas安装攻略
新一届的微软MVP评选已经开始,欢迎各位推荐!
2004-8-4 13:25 wzy25
oracle 10gas安装攻略

详细的参考信息请参考
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

2004-8-4 13:26 wzy25
对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++

2004-8-4 13:31 wzy25
打上第一个patch(rh3需要的rh2.1不需要)
patch no  3006854

gunzip  p3006854_9204_LINUX.zip
cd 3006854
sh rhel3_pre_install.sh
即可
这个补丁 创建 /etc/libcwait.so文件
如果不打这个补丁

oui没法启动

2004-8-4 13:37 wzy25
新建用户
useradd ias10g
检查一下ias10g用户的.bash_profile
不需要设置一下环境变量
TNS_ADMIN ORA_NLS33 LD_BIND_NOW

2004-8-4 13:38 wzy25
修改内核参数
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

2004-8-4 13:41 wzy25
修改系统对资源的限制
修改/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

2004-8-4 13:44 wzy25
修改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

2004-8-4 13:48 wzy25
下载ias10g 安装文件
我们只安装ohs+j2ee+webcache,所以选择下载
[url]http://www.oracle.com/technology/software/products/ias/devuse.html[/url]
编号为7的OracleAS J2EE and Web Cache v9.0.4
总共4个文件

下载好后,解压

2004-8-4 13:49 wzy25
cpio -idvm < ias904_linux_disk1.cpio
cpio -idvm < ias904_linux_disk2.cpio
cpio -idvm < ias904_linux_disk3.cpio
cpio -idvm < ias904_linux_disk4.cpio

2004-8-4 13:51 wzy25
su - ias10g2
我选择远程安装所以设置display 变量
export DISPLAY=10.2.33.41:0
cd Disk1
./runInstaller

2004-8-4 13:54 wzy25
出现如下提示
***************************************************************
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,回车,让安装程序检查是否具备安装条件

2004-8-4 14:04 wzy25
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

2004-8-4 14:06 wzy25
第一个画面 ,选择next

2004-8-4 14:09 wzy25
指定安装路径

2004-8-4 14:14 wzy25
选择next ,出现第三个画面

选择 Oracle Application Server 10g

2004-8-4 14:16 wzy25
选择next,出现第四个画面

选择J2EE and Web Cache

2004-8-4 14:20 wzy25
继续选择next ,出现 第五个画面,接着next

出现第六个画面

把Root privileges 选择上,接着next

2004-8-4 14:24 wzy25
这个时候,出现第7个画面,把
web cache和
file-based cluster选择上(下次专题将会讲CLUSTER,所以需要
选上),

2004-8-4 14:25 wzy25
选择NEXT出现第八个画面,选择OK

2004-8-4 14:28 wzy25
继续下来,出现第九个画面,要求输入instance name和ias_admin的密码
ias_admin的密码一定要记住的,

页: [1] 2 3
查看完整版本: oracle 10gas安装攻略


Powered by ITPUB论坛