ORACLE-12C-RAC INSTALL
OS:
Oracle Linux Server release 5.7
DB:
12.1.0.1.0
掛載映象:
mkdir /media/disk
mount /dev/cdrom /media/disk
安裝oracle-linux依賴的所有包:
vi /etc/yum.repos.d/public-yum-el5.repo
[oel5]
name = Enterprise Linux 5.7 DVD
baseurl=file:///media/disk/Server/
gpgcheck=0
enabled=1
yum install oracle-validated --執行並安裝依賴的包
修改hosts,配置域名:
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 rac1 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost
192.168.228.161 rac1
192.168.228.168 rac1-vip
1.1.1.161 rac1-priv
192.168.228.162 rac2
192.168.228.169 rac2-vip
1.1.1.162 rac2-priv
192.168.228.170 rac-scan
建立使用者和組:
groupadd -g 5000 asmadmin
groupadd -g 5001 asmdba
groupadd -g 5002 asmoper
groupadd -g 6000 oinstall
groupadd -g 6001 dba
groupadd -g 6002 oper
useradd -g oinstall -G asmadmin,asmdba,asmoper grid
useradd -g oinstall -G dba,asmdba oracle
配置資訊:
[root@rac1 u01]# su - grid
[root@rac1 u01]# more .bash_profile
CRS_HOME=/u02/grid/app/11.2.0/grid
ORACLE_HOME=/u02/grid/app/11.2.0/grid
ORACLE_BASE=/orabase
ORACLE_SID=+ASM1
PATH=$CRS_HOME/bin:$PATH:$HOME/bin
export PATH CRS_HOME ORACLE_BASE ORACLE_SID ORACLE_HOME
[root@rac2 CVU_12.1.0.1.0_grid]# su - grid
[grid@rac2 ~]$ more .bash_profile
CRS_HOME=/u02/grid/app/11.2.0/grid
ORACLE_HOME=/u02/grid/app/11.2.0/grid
ORACLE_BASE=/orabase
ORACLE_SID=+ASM2
PATH=$CRS_HOME/bin:$PATH:$HOME/bin
export PATH CRS_HOME ORACLE_BASE ORACLE_SID ORACLE_HOME
[root@rac1 u01]# su - oracle
[oracle@rac1 ~]$ more .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
ORACLE_BASE=/u01
ORACLE_HOME=/u01/oracle/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=yoon_1
PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/bin:$PATH:$HOME/bin
export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID
[root@rac2 ~]# su - oracle
[oracle@rac2 ~]$ more .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
ORACLE_BASE=/u01
ORACLE_HOME=/u01/oracle/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=yoon_2
PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/bin:$PATH:$HOME/bin
export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID
安裝grid:
安裝資料庫,步驟如同11G-RAC,下面就不寫了,可以參照我的11G-RAC.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28939273/viewspace-1061469/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle-12c-rac 報:ORA-01078Oracle
- semantic-ui@2.4.2 install: `gulp install`UI
- go install: no install location for directory outside GOPATHGoIDE
- pip install 提示:Could not install packages due to an EnvironmentErrorPackageError
- ORACLE EBS INSTALL of ebs12 install packagesOraclePackage
- oracle installOracle
- habitat install
- install qdrant
- Install clickhouse
- Fatal Error: TXK Install Service,Cannot install Oracle Database HomeErrorOracleDatabase
- Deepin Qt InstallQT
- mvn install 命令
- ubuntu install fontsUbuntu
- install mongodb on macosMongoDBMac
- install mysql on centosMySqlCentOS
- Install Oracle On RedhatOracleRedhat
- postgreSQL install pgvectorSQL
- pip install METIS
- openwrt install lsblk
- 《CMake實踐》筆記二:INSTALL/CMAKE_INSTALL_PREFIX筆記
- Python:conda install 和pip install的區別Python
- before install octave package you must be install gcc-fortranPackageGC
- npm install -g 和npm install --save-dev的關係NPMdev
- [Install] HP Unix Install Oracle11g(Single Instance)Oracle
- SDK Manager:failed to installAI
- centos yum install nginxCentOSNginx
- Install MySQL 5.7 in the DockerMySqlDocker
- Install Chisel Tools on UbuntuUbuntu
- pmm_docker_installDocker
- ubuntu for DP tools installUbuntu
- Mac OS install treeMac
- install_nginx_phpNginxPHP
- nuget packages batch installPackageBAT
- ORACLE RAC with NFS installOracleNFS
- oracle install/uninstallOracle
- install mysql from sourceMySql
- Linux Install MemcachedLinux
- install golang plugin in webstromGolangPluginWeb