日期:2014-05-16 浏览次数:20549 次
參考:
Installing Oracle 10g Release 2 Enterprise Edition on Red Hat Enterprise Linux 4.8 (x86_64) within 60 minutes
https://www.oratoolkit.ch/knowledge/howto/installation/eeSrv-10g-R2-on-RHEL-4.8-x86_64.php
筆記:
oraToolKit 安裝 Oracle Software 預設路徑為 /opt/oracle, 以下安裝將路徑改為 /oracle.
# uname -a
Linux FEE.goldenchang.com.cn 2.6.9-89.0.0.0.1.ELsmp #1 SMP Tue May 19 05:31:20 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
# top
top - 09:29:15 up 11:51,? 2 users,? load average: 0.05, 0.06, 0.02
Tasks: 109 total,?? 1 running, 108 sleeping,?? 0 stopped,?? 0 zombie
Cpu(s):? 0.0% us,? 0.6% sy,? 0.0% ni, 99.4% id,? 0.0% wa,? 0.0% hi,? 0.0% si
Mem:?? 4009944k total,?? 376896k used,? 3633048k free,??? 31524k buffers
Swap: 16779852k total,??????? 0k used, 16779852k free,?? 197772k cached
# df -h
Filesystem??????????? Size? Used Avail Use% Mounted on
/dev/sda5????????????? 63G? 4.2G?? 56G?? 7% /
/dev/sda1???????????? 494M?? 22M? 447M?? 5% /boot
none????????????????? 2.0G???? 0? 2.0G?? 0% /dev/shm
/dev/sda8????????????? 16G?? 77M?? 15G?? 1% /home
/dev/sda10??????????? 9.9G?? 55M? 9.3G?? 1% /oracle
/dev/sda11??????????? 7.9G? 105M? 7.4G?? 2% /tmp
/dev/sda3???????????? 252G?? 92M? 240G?? 1% /u1
/dev/sda2???????????? 252G?? 92M? 240G?? 1% /u2
/dev/sda6????????????? 20G? 2.3G?? 17G? 13% /usr
/dev/sda7????????????? 16G? 161M?? 15G?? 2% /var
安裝oraToolKit:
將oratoolkit-1.0.2.1.4-1.noarch.rpm copy到 /var/tmp/oracle
# su - root
# cd /var/tmp/oracle
# ls -1 oratool*
oratoolkit-1.0.2.1.4-1.noarch.rpm
[root@FEE oracle]# rpm -ivh oratoolkit-1.0.2.1.4-1.noarch.rpm
warning: oratoolkit-1.0.2.1.4-1.noarch.rpm: V3 RSA/MD5 signature: NOKEY, key ID 66f452c8
Preparing...??????????????? ########################################### [100%]
?? 1:oratoolkit???????????? ########################################### [100%]
? ?
設置oracle用戶密碼:
# passwd oracle
Changing password for user oracle.
New UNIX password: oracle
Retype new UNIX password: oracle
passwd: all authentication tokens updated successfully.
檢查package需求
# cd /opt/oracle/otk/current/bin/
# cp installManager installManager.20100918
# vi installManager
# sdiff -s installManager installManager.20100918
ORACLE_BASE=${ORACLE_BASE:-"/oracle"}???????????????????????? | ORACLE_BASE=${ORACLE_BASE:-"/opt/oracle"}
# cd /opt/oracle/otk/current/conf/installManager
# vi osSetup10gR2.cfg
# sdiff -s osSetup10gR2.cfg sample/osSetup10gR2.cfg
OS_USER_COMMENT="Oracle software owner"?????????????????????? | OS_USER_COMMENT="Oracle and oraToolKit software owner"
OSDBA_DIRECTORIES="/u1 /u2"?????????????????????????????????? | OSDBA_DIRECTORIES="/data01 /data02 /backup01"
INVENTORY_GROUP_DIRECTORIES="/oracle /var/opt/oracle /var/opt | INVENTORY_GROUP_DIRECTORIES="/opt/oracle /var/opt/oracle /var
INVENTORY_LOC="/oracle/oraInventory"????????????????????????? | INVENTORY_LOC="/opt/oracle/oraInventory"
# /opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg
20100916_095427: Warning: Optional package unixODBC not found, installation of 32-bit version 2.2.9-1 or later recommended. Package is usually installed with default installation
----------------------------------------------------------------
20100916_094315: Info: Executing libmiscellaneous.getFooter function
20100916_094315: Info: Terminating installManager execution
20100916_094315: Info: Summary log file:? /var/opt/oracle/otk/1.0/log-old/installManager/../installManager.log
20100916_094315: Info: Detailed log file: /var/opt/oracle/otk/1.0/log-old/installManager/swreqcheck-20100916_094257.log
20100916_094315: Info: Action swReqCheck of installManager ended with one WARNING
----------------------------------------------------------------
#