- 論壇徽章:
- 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請(qǐng)從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兩個(gè)軟件包中的紅色字為數(shù)字1,該軟件包在OS系統(tǒng)第一張安裝中,OS系統(tǒng)缺省沒有安裝。
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 (注意:該文件內(nèi)應(yīng)為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. 創(chuàng)建Oracle相關(guān)目錄
# 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. 更改系統(tǒng)內(nèi)核參數(shù)
# 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
注意:完成以上步驟后需重啟系統(tǒng)。
1.1.7. 編輯oracle用戶環(huán)境變量
#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 #俺在這臺(tái)機(jī)器上用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安裝
望了抓圖,按提示進(jìn)行或直接下一步就行了。
1.1.9. http://192.168.205.204:5500/em/
圖粘不上來。
連裝系統(tǒng)帶配網(wǎng)絡(luò)、裝oracle、建庫共用了4個(gè)小時(shí)。
我是菜鳥,第一次裝Oracle for x86,大家共享看看就是了。 |
|