install oracle92 on redhat as4 x86-64
Install racle92 no redhat as4 x86-64
Pre-installation Tasks
安裝之前要確定一下的RPM包已經打上,其實包的版本略有不同感覺問題不大,起碼在安裝的並沒有報錯.但要注意這些包的字尾應該為x86-64,不能是i386.還要注意的是這些包可能相互有依賴性,也會依賴於其他包,請一一下載安裝.
可以在 搜尋下載所需RPM包
安裝前先用rpm –qa來檢查一下安裝情況,如果未曾安裝則用
rpm –ihv安裝.
Download and Install Required Packages
The following packages (or later versions) must be installed:
compat-db-4.1.25-9
compat-gcc-32-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3
compat-oracle-rhel4-1.0-3
compat-libcwait-2.0-1
compat-libgcc-296-2.96-132.7.2
compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
gnome-libs-1.4.1.2.90-44
gnome-libs-devel-1.4.1.2.90-44
libaio-devel-0.3.102-1
libaio-0.3.102-1
make-3.80-5
openmotif21-2.1.30-11
xorg-x11-deprecated-libs-devel-6.8.1-23.EL
xorg-x11-deprecated-libs-6.8.1-23.EL
The compat-oracle-rhel4-1.0-3 and compat-libcwait-2.0-1 packages are available from OracleMetalink patch 4198954. To download patch 4198954:
1. Click Patches on the side of the OracleMetalink page.
2. Click Simple Search on the Select a Patch Search Area page.
3. Select Patch Number(s) in the Search By field.
4. Enter 4198954 in the Search By Patch Number(s) field.
5. Select Linux x86 in the Platform or Language field, then click Go.
6. On the patch download page, click Download.
Download and Unzip Patch 4188455
Before you install Oracle9i release 9.2.0.6, you must download and unzip patch 4188455 from OracleMetalink:
To download and unzip patch 4188455:
1. Click Patches on the side of the OracleMetalink page.
2. Click Simple Search on the Select a Patch Search Area page.
3. Select Patch Number(s) in the Search By field.
4. Enter 4188455 in the Search By Patch Number(s) field.
5. Select Linux x86 in the Platform or Language field, then click Go.
6. On the patch download page, click Download.
The p4188455_10103_LINUX.zip file is downloaded to your system. This file contains the oraparam.ini file.
7. Unzip the p4188455_10103_LINUX.zip file.
8. Optionally, copy the oraparam.ini file to a different directory on your system, for example, /tmp.
You must specify the full path to the oraparam.ini file when you start the Installer.
新增DBA組和ORACLE使用者
[root@linuxserver14 /]# groupadd dba -g 1001
[root@linuxserver14 /]# useradd -c "Oracle Software Owner" -G dba -u 1001 -g 1001 -m -d /orasys/oracle -s /bin/bash oracle
[root@linuxserver14 root]# passwd oracle(給ORACLE使用者設定口令)
Changing password for user oracle
New password:
BAD PASSWORD: it is based on a dictionary word
Retype new password:
passwd: all authentication tokens updated successfully
修改.bash_profile檔案
特別要注意LD_ASSUME_KERNEL Environment Variable,在as3的時候安裝92這個引數要設定成2.4.1,但是在as4安裝92的時候要設定成2.4.19,以下是.bash_profile檔案的例子:
[root@ctais2 oracle]# cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
umask 022
EDITOR=vi; export EDITOR
TERM=xterm; export TERM
TMPDIR=/tmp; export TMPDIR
export ORACLE_SID=ctais2
export ORACLE_BASE=/home/oracle/u01/app/oracle
export ORACLE_HOME=/home/oracle/u01/app/oracle/product/9.2.0.1.0
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
export NLS_LANG=AMERICAN_AMERICA.us7ascii
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export ORACLE_TERM=xterm
export LD_ASSUME_KERNEL=2.4.19
export PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
export DISPLAY=10.1.151.10:0.0
#export DBCA_RAW_CONFIG=$ORACLE_HOME/rawconfig
echo "Hello Oracle"
下載三個安裝檔案:
amd64_db_9204_Disk1.cpio.gz
amd64_db_9204_Disk2.cpio.gz
amd64_db_9204_Disk3.cpio.gz
然後用以下方法解開:
1. Uncompress the file using "gunzip". Eg.: "gunzip amd64_db_9204_Disk1.cpio.
gz"
2. Extract the file resulting from the step above using "cpio". Eg.: "cpio -i
dcmv < amd64_db_9204_Disk1.cpio"
解開以後在當前目錄下就生成了三個目錄: Disk1 Disk2 Disk3,執行../ Disk1/ runInstaller,那麼後來的過程就和以前版本安裝oracle一模一樣了.
如果在安裝的過程中出現link錯誤,那麼在安裝結束以後可以在$ORACLE_HOME/bin/目錄下執行: relink all
當然在安裝完成以後還得打上9207的patch(oracle要求這麼做):
p4163445_92070_Linux-x8 6-64.zip
異常處理:
在安裝過程中會遇到的可能的問題:
xhost +提示: xhost : unable to open display
你的檢查你的.bash_profile中的環境變數DISPLAY是否設定正確
./ runInstaller的時候提示java.lang錯誤:
linux exception in thread "main" java.lang.internalerror: can't connect to X11 window
其實也和這個也和上述錯誤關聯,首先嚐試xhost +否成功,然後檢查你的DISPLAY變數是否設定正確.還有就是確認你已經將本機(如果用本機的圖形介面安裝)的地址和主機名新增進了/etc/hosts檔案:
[root@ctais2 watershed]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.1.151.10 watershed
還有問題?google吧!
[@more@]安裝參考文件:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/75730/viewspace-813727/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Install Oracle 9i on Redhat Linux AS4OracleRedhatLinux
- 安裝ORACLE10201 for REDHAT AS4 x86-64時編譯all_no_orcl報錯OracleRedhat編譯
- Install Oracle On RedhatOracleRedhat
- 升級VMWARE中REDHAT AS4核心Redhat
- 安裝ORACLE10201 for REDHAT AS4 x86-64報錯無法開啟共享物件檔案OracleRedhat物件
- redhat AS4 下MYSQL 5.0的安裝RedhatMySql
- REDHAT AS4 kernel.sem設定參考Redhat
- RedHat AS4 下安裝oracle10gRedhatOracle
- REDHAT AS4 kernel.sem設定參考(zt)Redhat
- RedHat Enterprise AS4 硬碟安裝心得(轉)Redhat硬碟
- mysql在redhat as4上的安裝過程MySqlRedhat
- oracle10g for redhat as4 安裝過程。OracleRedhat
- MySQL Cluster install on Redhat7MySqlRedhat
- RedHat Enterprise AS4硬碟安裝步驟(轉)Redhat硬碟
- Redhat linux AS4 環境下iSCSI協議配置RedhatLinux協議
- pex+linux redhat as4自動安裝薦LinuxRedhat
- oracle92在redhat3,4下的安裝前必備步驟OracleRedhat
- Install oracle 10G in redhat 5.1Oracle 10gRedhat
- Fedora 14 x86-64 install oracle 10g 64 bitOracle 10g
- [Linux]Redhat AS4開啟telnet過程[轉載]LinuxRedhat
- [zt] Redhat AS4上安裝64位Oracle9204RedhatOracle
- install 11G ASM on RedHat step by stepASMRedhat
- Redhat as4 下oracle10g自啟動指令碼設定RedhatOracle指令碼
- Redhat AS4 for x86_64上安裝Oracle 9204 RAC概述RedhatOracle
- oracle92線上文件Oracle
- redhat as4 安裝oracle 9204 rac啟動Oracle Cluster Manager報錯!RedhatOracle
- 安裝Oracle10201 for REDHAT AS4 x86_64OracleRedhat
- 解決yum install redhat-lsb遇到的問題Redhat
- redhat as4 64位安裝oracle10.2.0.1建庫的時候報錯RedhatOracle
- workaround with install oracle database 10G on redhat ES5OracleDatabaseRedhat
- Oracle 10g 在linux redhat as4 系統安裝圖解全過程Oracle 10gLinuxRedhat圖解
- install emc powerpath on redhat linux and 'Found duplicate PV' 問題解決RedhatLinux
- MySAP erp 2005sr2 for Oracle install on RedHat Enterprise 5OracleRedhat
- Step By Step Install Oracle GC 10.2.0.5 on Redhat Linux 5.5 x86_64 (2/2)OracleGCRedhatLinux
- Install gc agent on client is getting 'Please specify a Unique Oracle Base directory'(redhat 5.3_x8GCclientOracleRedhat
- 在RedHat EL5上install 11gr2所需的rpm包Redhat
- Windows X86-64 System Call TableWindows
- Install 32bit 11.2.0.3 client on 64bit redhat 6.2需要(i386)解決方法clientRedhat