Oracle GoldenGate 12.3.0.1.4 安装配置 之02 (oracle 11.2.0.4实例创建)
1.修改主机名(从克隆过来的vm)
[ ~]# cat /etc/hostname xag100 [ ~]$ cat /etc/sysconfig/network # Created by anaconda NETWORKING=yes HOSTNAME=xag100 # oracle-rdbms-server-11gR2-preinstall : Add NOZEROCONF=yes NOZEROCONF=yes vim /etc/hosts #增加如下 192.168.40.100 xag100
2.網卡配置
[ ~]# cd /etc/sysconfig/network-scripts/ [ network-scripts]# cat ifcfg-ens33 TYPE="Ethernet" PROXY_METHOD="none" BROWSER_ONLY="no" BOOTPROTO="static" DEFROUTE="yes" IPV4_FAILURE_FATAL="no" NAME="ens33" UUID="0224e944-0b68-47d5-b327-71d0e5560845" DEVICE="ens33" ONBOOT="yes" IPADDR="192.168.40.100" GATEWAY="192.168.40.2" NETMASK="255.255.255.0" DNS1="8.8.8.8" #重啟網卡 [ network-scripts]# service network restart
2.安装监听
[ ~]$ export DISPLAY=192.168.0.7:0.0 [ ~]$ netca
3.修改环境变量
[ ~]$ cat scripts/setEnv.sh TMP=/tmp; export TMP TMPDIR=/tmp; export TMPDIR ORACLE_HOSTNAME=xag100; export ORACLE_HOSTNAME ORACLE_UNQNAME=DB100; export ORACLE_UNQNAME ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/db_1; export ORACLE_HOME ORACLE_SID=DB100; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:/u01/app/oracle/product/11.2.0.4/db_1/bin:/usr/sbin:/u01/app/oracle/product/11.2.0.4/db_1/bin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oracle/.local/bin:/home/oracle/bin; export PATH PATH=/u01/app/oracle/product/11.2.0.4/db_1/bin:/u01/app/oracle/product/11.2.0.4/db_1/bin:/usr/sbin:/u01/app/oracle/product/11.2.0.4/db_1/bin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oracle/.local/bin:/home/oracle/bin; export PATH LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0.4/db_1/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=/u01/app/oracle/product/11.2.0.4/db_1/JRE:/u01/app/oracle/product/11.2.0.4/db_1/jlib:/u01/app/oracle/product/11.2.0.4/db_1/rdbms/jlib; export CLASSPATH alias sqlplus=‘rlwrap sqlplus‘ alias rman=‘rlwrap rman‘ [ ~]$ source .bash_profile [ ~]$ echo $ORACLE_SID DB1100
4.创建实例(dbca)
[ ~]$ dbca
5.重复上面步骤1到4 创建 主机:xag101,实例:DB101
相关推荐
lklong 2020-11-22
oraclemch 2020-11-06
shilukun 2020-10-10
周嘉笙 2020-11-09
iilegend 2020-10-19
EricRay 2020-10-16
zhuzhufxz 2020-09-16
dataminer 2020-08-17
bfcady 2020-08-16
Hody 2020-08-16
FightFourEggs 2020-08-16
数据库设计 2020-08-16
Seandba 2020-08-16
Omega 2020-08-16
zjyzz 2020-08-16
yanghuatong 2020-08-16
ktyl000 2020-08-16
dbasunny 2020-08-16