Redhat AS 4安裝Oracle 10g 10.2.0.3.0
1、32位Redhat AS4作業系統,所有包全安裝,核心版本:2.6.9-42.ELsmp
2、Oracle 10g 10.2.0.1.0安裝程式:10201_database_linux32.zip
Oracle 10g 10.2.0.3.0補丁:p5337014_10203_LINUX.zip
安裝步驟:
1、對於我們這個版本的RHEL4,核心已經確定為2.6.9-42.ELsmp,所以前面的檢查就省略了。
直接到確認所需軟體包是否已經安裝,需要確定的有:
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
方法是:# rpm -qa | grep package_name
其中package_name可以打部分名稱,系統核心中的包版本可能會和以上列出的不一致,不會影響安裝。
2、確定主機名:
#hostname
設定主機名環境變數
$ ORACLE_HOSTNAME=本機的主機名
$ export ORACLE_HOSTNAME
3、建立使用者組及使用者
#groupadd oinstall
#groupadd dba
#useradd -g oinstall -G dba oracle
#passwd oracle
4、配置核心引數
#vi /etc/sysctl.conf
增加以下內容
kernel.shmall = 2097152
kernel.shmmax = 2147483648(此處的數值等於作業系統記憶體大小的一半位元組數,此處記憶體為4G)
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
執行以下命令使得上面改動生效
#sysctl -p
5、增大shell對使用者oracle的限制
#vi /etc/security/limits.conf
新增以下幾行
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
#vi /etc/pam.d/login
增加以下內容:
session required /lib/security/pam_limits.so
session required pam_limits.so
#vi /etc/profile
新增以下內容
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
6、建立安裝目錄
# mkdir -p /oracle/product/10.2.0
# chown -R oracle:oinstall /oracle
# chmod -R 775 /oracle
建立臨時目錄
# mkdir /oracle/tmp
# chmod a+wr /oracle/tmp
7、配置Oracle使用者環境變數
在/home/oracle/.bash_profile檔案結尾增加以下內容:
export TMP=/oracle/tmp
export TMPDIR=/oracle/tmp
export NLS_LANG='SIMPLIFIED CHINESE_CHINA.ZHS16GBK'
export ORACLE_SID=zjoadb
export ORACLE_BASE=/oracle
export ORACLE_HOME=/oracle/product/10.2.0
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/usr/local/lib
umask 022
執行以下命令是的新增環境變數生效:
source /home/oracle/.bash_profile
8、將安裝檔案database目錄傳輸到伺服器上/oracle目錄中,開始安裝
$cd /oracle/database
$./runInstaller
如果傳輸過程中安裝程式中需要執行的指令碼失去了可執行許可權,使用如下命令賦權。
$chmod -R a+x /oracle/database
進入圖形安裝介面,此時只安裝軟體,不建立資料庫,以方便之後安裝10.2.0.3.0補丁。
9、安裝10.2.0.3.0補丁
將補丁安裝程式Disk1目錄傳輸到伺服器上/oracle目錄中,開始安裝補丁
$cd /oracle/Disk1
$./runInstaller
進入影像安裝介面。
10、如果在打補丁之前安裝了資料庫,需要參考下一篇文章來Upgrade資料庫。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11411056/viewspace-733373/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 10g 在linux redhat as4 系統安裝圖解全過程Oracle 10gLinuxRedhat圖解
- ISO 映象安裝oracle 10gOracle 10g
- RedHat上靜默安裝Oracle11gRedhatOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- windows2008R2安裝oracle 10gWindowsOracle 10g
- redhat安裝dockerRedhatDocker
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- centOS(同redhat)安裝 dockerCentOSRedhatDocker
- oracle 10g在linux下的安裝及簡單命令Oracle 10gLinux
- RedHat Advance Server上安裝Oracle 9204 RAC參考手冊(轉)RedhatServerOracle
- [重慶思莊每日技術分享]-Redhat Linux 6.5安裝ORACLE ASMLIBRedhatLinuxOracleASM
- RedHat FC5安裝xmmsRedhat
- PostgreSQL:Redhat 8.5 + PostgreSQL 14.5 安裝SQLRedhat
- Redhat 7 下安裝達夢7Redhat
- RedHat 7.6作業系統安裝Redhat作業系統
- redhat 5.4下安裝MYSQL全過程RedhatMySql
- oracle 10g flashback databaseOracle 10gDatabase
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)線上安裝方式LinuxRedhatCentOSMySql
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)離線安裝方式LinuxRedhatCentOSMySql
- ORACLE windows和linux環境下 10g升級到11.2.0.4 並安裝11.2.0.4.19補丁OracleWindowsLinux
- Centos7或RedHat7下安裝MysqlCentOSRedhatMySql
- SYBASE12.5.2 FOR REDHAT AS4.0 安裝步驟(zt)Redhat
- redhat7.4下離線安裝MHA0.58Redhat
- Scheduler in Oracle Database 10g(轉)OracleDatabase
- Oracle 10g 下載地址Oracle 10g
- oracle 10G特性之awrOracle 10g
- oracle安裝配置Oracle
- Oracle RUR 安裝Oracle
- Linux安裝oracleLinuxOracle
- golang oracle 安裝GolangOracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- Mac VirtualBox 7.0 下安裝Redhat 8.5虛擬機器MacRedhat虛擬機
- 「Oracle」Oracle 資料庫安裝Oracle資料庫
- oracle 19c 安裝、解除安裝Oracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- Oracle 10g RAC故障處理Oracle 10g