- 论坛徽章:
- 0
|
Oracle 10g (10.1.0.3)for Solaris 9 x86 安装
Gux
2006-05-30
OE: Solaris 9 x86+Recommender Patches
Hardware Platform:PC computer
1@P4 1.7G
1GRAM
GA-8IR533M/B
IBM20GHDD
nVidiaTNT2 M64 32M
RTL8029AS NIC
PS/2 101key & PS/2 mouse.
Software: Solaris 9 for x86 & Recommender Patches
RTL8029AS NIC driver for Solaris x86
Oracle 10g (10.1.0.3) for Solaris 9&10 x86
Oracle 10g (10.1.0.3) Patches for Solaris 9 x86:
■ 111713-06, SunOS 5.9_x86: Shared library patch for C++
■ 111728-03, SunOS 5.9_x86: Math Library (libm) patch
■ 112234-12, SunOS 5.9_x86: Kernel Patch
■ 113986-08, SunOS 5.9_x86: linker Patch
■ 115114-02, SunOS 5.9_x86: Patch for assembler
■ 116013-02, SunOS 5.9_x86: ps utility patch
注意:以上的Patches请从sunsolve.sun.com下载。
Oracle 10g (10.1.0.3) Packages for Solaris 9 x86:
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt
注意:其中SUNWi1cs SUNWi15cs两个软件包中的红色字为数字1,该软件包在OS系统第一张安装中,OS系统缺省没有安装。
1.1. 安装过程:
1.1.1. OE: Solaris 9x86&Recommander Patches
略
1.1.2. TL8029AS NIC drivers
# cd /heom/tools/ni-0.8.11
# /usr/ccs/bin/make install
# ./addni.sh
# devfsadm -i ni
#vi /etc/hostname.ni0 (注意:该文件内应为IP地址)如:
# more /etc/hostname.ni0
192.168.205.204
vi /etc/netmasks & defaultrouter、/etc/hosts、/etc/resolv.conf etc…
# ifconfig ni0 192.168.205.204/24 up
#ping 192.168.205.252
PING 192.168.205.252: 56 data bytes
64 bytes from 192.168.205.252: icmp_seq=0. time=9. ms
64 bytes from 192.168.205.252: icmp_seq=1. time=0. ms
64 bytes from 192.168.205.252: icmp_seq=2. time=0. ms
……
…….
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
192.168.205.0 192.168.205.204 U 1 7 ni0
224.0.0.0 192.168.205.204 U 1 0 ni0
default 192.168.205.252 UG 1 0
127.0.0.1 127.0.0.1 UH 26 18228 lo0
1.1.3. 建立UNIX组与用户
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
1.1.4. 建立UNIX用户
# /usr/sbin/useradd -g oinstall -G dba oracle
#passwd oracle (qijiora)
1.1.5. 创建Oracle相关目录
# mkdir -p /home/oracle (the Oracle base directory)
# mkdir -p /home/oradata (an Oracle datafile directory)
# chown -R oracle install /home /oracle
# chown -R oracle install /home/oradata
# chmod -R 775 /home /oracle
# chmod -R 775 /home/oradata
1.1.6. 更改系统内核参数
# cp /etc/system /etc/system.orig
# vi /etc/system & add:
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=100
注意:完成以上步骤后需重启系统。
1.1.7. 编辑oracle用户环境变量
#vi /home/oracle/.cshrc
more /home/oracle/.cshrc
#ident "@(#)local.cshrc 1.2 00/05/01 SMI"
umask 022
set path=(/bin /sbin /usr/sbin /usr/openwin/bin /usr/ccs/bin /usr/bin /usr/ucb /etc /home/oracle /home/oradata .)
if ( $?prompt ) then
set history=32
endif
alias ls ls -Fa
stty erase ^H
setenv EDITOR vi
alias ping ping -s
setenv DISPLAY 192.168.205.205:0.0 #俺在这台机器上用Xmanager安装Oracle
setenv ORACLE_BASE /home/oracle
setenv ORACLE_SID DBA
setenv TEMP /tmp
setenv TMPDIR /tmp
unsetenv ORACLE_HOME
unsetenv TNS_ADMIN
setenv NLS_LANG "SIMPLIFIED CHINESE"_CHINA.ZHS16GBK
1.1.8. Oracle安装
望了抓图,按提示进行或直接下一步就行了。
1.1.9. http://192.168.205.204:5500/em/
图粘不上来。
连装系统带配网络、装oracle、建库共用了4个小时。
我是菜鸟,第一次装Oracle for x86,大家共享看看就是了。 |
|