【安裝】RedHat 5.1 部署Oracle 10.2.0.1
# rpm -q gcc make binutils libXp-1 openmotif setarch compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
gcc-4.1.2-14.el5
make-3.81-1.1
binutils-2.17.50.0.6-5.el5
package libXp-1 is not installed
package openmotif is not installed
setarch-2.0-1.1
package compat-db is not installed
package compat-gcc is not installed
package compat-gcc-c++ is not installed
package compat-libstdc++ is not installed
package compat-libstdc++-devel is not installed
# cd /media/RHEL_5.1/x86_64/DVD/Server/
# rpm -ivh setarch-2*
# rpm -ivh make-3*
# rpm -ivh glibc-2*
# rpm -ivh libaio-0*
# rpm -ivh compat-libstdc++-33-3*
# rpm -ivh compat-gcc-34-3*
# rpm -ivh compat-gcc-34-c++-3*
# rpm -ivh libXp-1*
# rpm -ivh openmotif-2*
# rpm -ivh compat-db-4*
------------------------------------------------------------------------
# vi /etc/sysctl.conf
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
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
# /sbin/sysctl -p
------------------------------------------------------------------------
# vi /etc/security/limits.conf
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
------------------------------------------------------------------------
# vi /etc/pam.d/login
session required /lib/security/pam_limits.so
------------------------------------------------------------------------
# vi /etc/selinux/config
SELINUX=disabled
#SELINUXTYPE=targeted(登出該行)
SELINUXTYPE=disabled
------------------------------------------------------------------------
# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -m -g oinstall -G dba oracle
# passwd oracle
輸入密碼:oracle
------------------------------------------------------------------------
# mkdir -p /oracle/app/oracle/product/10.2.0/db_1
# chown -R oracle:oinstall /oracle
# chmod -R 775 /oracle
------------------------------------------------------------------------
# vi /etc/redhat-release
點選insert後,把release 5 (Tikanga) 替換成 release 4 (Tikanga)
Oracle啟動後需要重新修改linux版本為Redhat 5
------------------------------------------------------------------------
訪問控制列表(逐一輸入)
# export DISPLAY=:0.0
# xhost local:oracle
------------------------------------------------------------------------
# gunzip 10201_database_linux_x86_64.cpio.gz
# cpio -idmv < 10201_database_linux_x86_64.cpio
------------------------------------------------------------------------
# su - oracle
# vi ~/.bash_profile
# Oracle Settings
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=orcl
export ORACLE_TERM=xterm
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
------------------------------------------------------------------------
VNC中進行如下操作
# su - oracle
$ cd oracle
$ ./runInstaller.sh
選擇高階安裝Advanced Installation
選擇Custom安裝
選定perform. type configuration
Custom Database
Specify Flash recovery Area
注意字符集:
Character Sets: WE8ISO8859P1-ISO 8859-1 West European
National Character set: AL16UTF16-Unicode UTF-16 Universal character set
------------------------------------------------------------------------
vi /etc/oratab 直接把orcl:/oracle/app/oracle/product/10.2.0/db 1:N改為Y
------------------------------------------------------------------------
如果配置開機啟動,可使用/oracle/app/oracle/product/10.2.0/db_1/bin/目錄下的啟動停止檔案
啟動:
#./dbstart
停止:
#./dbshut
-- The End --
gcc-4.1.2-14.el5
make-3.81-1.1
binutils-2.17.50.0.6-5.el5
package libXp-1 is not installed
package openmotif is not installed
setarch-2.0-1.1
package compat-db is not installed
package compat-gcc is not installed
package compat-gcc-c++ is not installed
package compat-libstdc++ is not installed
package compat-libstdc++-devel is not installed
# cd /media/RHEL_5.1/x86_64/DVD/Server/
# rpm -ivh setarch-2*
# rpm -ivh make-3*
# rpm -ivh glibc-2*
# rpm -ivh libaio-0*
# rpm -ivh compat-libstdc++-33-3*
# rpm -ivh compat-gcc-34-3*
# rpm -ivh compat-gcc-34-c++-3*
# rpm -ivh libXp-1*
# rpm -ivh openmotif-2*
# rpm -ivh compat-db-4*
------------------------------------------------------------------------
# vi /etc/sysctl.conf
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
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
# /sbin/sysctl -p
------------------------------------------------------------------------
# vi /etc/security/limits.conf
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
------------------------------------------------------------------------
# vi /etc/pam.d/login
session required /lib/security/pam_limits.so
------------------------------------------------------------------------
# vi /etc/selinux/config
SELINUX=disabled
#SELINUXTYPE=targeted(登出該行)
SELINUXTYPE=disabled
------------------------------------------------------------------------
# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -m -g oinstall -G dba oracle
# passwd oracle
輸入密碼:oracle
------------------------------------------------------------------------
# mkdir -p /oracle/app/oracle/product/10.2.0/db_1
# chown -R oracle:oinstall /oracle
# chmod -R 775 /oracle
------------------------------------------------------------------------
# vi /etc/redhat-release
點選insert後,把release 5 (Tikanga) 替換成 release 4 (Tikanga)
Oracle啟動後需要重新修改linux版本為Redhat 5
------------------------------------------------------------------------
訪問控制列表(逐一輸入)
# export DISPLAY=:0.0
# xhost local:oracle
------------------------------------------------------------------------
# gunzip 10201_database_linux_x86_64.cpio.gz
# cpio -idmv < 10201_database_linux_x86_64.cpio
------------------------------------------------------------------------
# su - oracle
# vi ~/.bash_profile
# Oracle Settings
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=orcl
export ORACLE_TERM=xterm
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
------------------------------------------------------------------------
VNC中進行如下操作
# su - oracle
$ cd oracle
$ ./runInstaller.sh
選擇高階安裝Advanced Installation
選擇Custom安裝
選定perform. type configuration
Custom Database
Specify Flash recovery Area
注意字符集:
Character Sets: WE8ISO8859P1-ISO 8859-1 West European
National Character set: AL16UTF16-Unicode UTF-16 Universal character set
------------------------------------------------------------------------
vi /etc/oratab 直接把orcl:/oracle/app/oracle/product/10.2.0/db 1:N改為Y
------------------------------------------------------------------------
如果配置開機啟動,可使用/oracle/app/oracle/product/10.2.0/db_1/bin/目錄下的啟動停止檔案
啟動:
#./dbstart
停止:
#./dbshut
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-607408/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 64位REDHAT 5.1企業版安裝ORACLE10.2.0.1RedhatOracle
- RedHat 5.1上安裝Oracle 10g 注意事項RedhatOracle 10g
- Oracle安裝部署之linux(redhat/centos)快速安裝oracle 11g racOracleLinuxRedhatCentOS
- 【NTP】Redhat5.1環境下網路時間服務NTP的安裝部署Redhat
- redhat as4 64位安裝oracle10.2.0.1建庫的時候報錯RedhatOracle
- aix6.1上安裝oracle 10.2.0.1AIOracle
- Linux as 4.0 下安裝Oracle 10.2.0.1LinuxOracle
- Install oracle 10G in redhat 5.1Oracle 10gRedhat
- redhat5 for x86-64bit安裝oracle10.2.0.1 for x86-64bit小記RedhatOracle
- ambari2.2.1 for redhat6.6安裝部署文件Redhat
- redhat as 5 +oracle 10.2.0.1 用裸裝置建庫出現的問題RedhatOracle
- Redhat+Oracle+SAP Netweaver 安裝RedhatOracle
- redhat 6.4 安裝oracle11g RAC 安裝RDACRedhatOracle
- (轉)redhat下安裝oracle,設定redhat核心引數RedhatOracle
- Centos6.5上安裝oracle 10.2.0.1小記CentOSOracle
- Redhat5下安裝ORACLE10.2.0.1報錯“libXp.so.6: cannot open shared object file”RedhatOracleObject
- REDHAT5.1 cluster配置Redhat
- Redhat 5 下 Oracle10g 安裝RedhatOracle
- RedHat AS3安裝Oracle 8iRedhatS3Oracle
- oracle 之 安裝10.2.0.1 且 升級到 10.2.0.4Oracle
- aix 5300-07上安裝oracle 10.2.0.1AIOracle
- redhat安裝dockerRedhatDocker
- mysql 5.1原始碼安裝MySql原始碼
- RedHat上靜默安裝Oracle11gRedhatOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- Oracle 18c_for_Redhat6.4 安裝失敗OracleRedhat
- RedHat 7 靜默安裝Oracle11gRedhatOracle
- RedHat6.5 安裝Oracle 12c RACRedhatOracle
- redhat6.2安裝oracle11.2.0.3RACRedhatOracle
- oracle11g 安裝(redhat linux 5)OracleRedhatLinux
- redhat開源版本(如centos)oracle安裝事宜RedhatCentOSOracle
- RedHat AS4 下安裝oracle10gRedhatOracle
- Redhat AS 4安裝Oracle 10g 10.2.0.3.0RedhatOracle 10g
- 在Redhat9下安裝Oracle9RedhatOracle
- Redhat Linux 9+Oracle 9.2 快速安裝RedhatLinuxOracle
- redhat 5.4 安裝oracle11g 步驟RedhatOracle
- 在Redhat 9上安裝 Oracle 817心(轉)RedhatOracle
- 【轉】redhat 5 安裝oracle10g方法RedhatOracle