参考原链接,
安装过程中如果用的oracleasm建的disk 搜索路径是/dev/oracleasm/disks/*
GRID中由于SCAN IP还没有,DNS也没有配,所以FAIlED,但不影响RAC使用的,TNS可以配置SCAN-VIP,修改windows hosts文件加上就可以
操作系统配置
环境信息
修改hosts文件
内核参数修改
禁用 Transparent HugePages服务
禁用selinux
创建用户
安装软件服务
禁用不必需要的服务
用户ulimit配置
创建相关目录
配置环境变量
使用udev映射磁盘
虚拟机配置
安装GI
图形化安装
执行root.sh
asmca创建磁盘组
安装数据库软件
上传软件,修改权限
启动安装图形化
执行root.sh
dbca建库
建库后配置
安装补丁
替换opatch
操作系统配置
环境信息
#环境信息
修改hosts文件
1、添加netork文件
echo “HOSTNAME=19crac2”>>/etc/sysconfig/network
echo “NOZEROCONF=yes”>>/etc/sysconfig/network
2、编辑hosts文件
[root@19crac1 19c]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.1.11.22 19crac1
10.1.11.23 19crac2
10.1.11.27 19crac1-vip
10.1.11.28 19crac2-vip
10.1.11.29 rac19c-scan
192.168.1.22 19crac1-priv
192.168.1.23 19crac2-priv
内核参数修改
echo "fs.file-max = 6815744
kernel.sem = 10000 10240000 10000 1024
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 751619276800
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 16777216
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.wmem_default = 16777216
fs.aio-max-nr = 6194304
vm.dirty_ratio=20
vm.dirty_background_ratio=3
vm.dirty_writeback_centisecs=100
vm.dirty_expire_centisecs=500
vm.swappiness=10
vm.min_free_kbytes=524288
net.core.netdev_max_backlog = 30000
net.core.netdev_budget = 600
#vm.nr_hugepages =
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
net.ipv4.ipfrag_time = 120
net.ipv4.ipfrag_low_thresh = 41943040
net.ipv4.ipfrag_high_thresh = 40894464
net.ipv4.ipfrag_max_dist = 1024
">> /etc/sysctl.d/oracle.conf && sysctl --system
禁用 Transparent HugePages服务
vi /etc/default/grub
在GRUB_CMDLINE_LINUX添加transparent_hugepage=never
如:
[root@crm3db1 ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="( s e d ′ s , r e l e a s e . ∗ (sed 's, release .*(sed
′
s,release.∗,g’ /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=“console”
-------GRUB_CMDLINE_LINUX=“crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rd.lvm.lv=rhel/usr rhgb quiet net.ifnames=0 ipv6.disable=1 biosdevname=0 transparent_hugepage=never intel_pstate=disable”
GRUB_CMDLINE_LINUX=“crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rd.lvm.lv=rhel/usr rhgb quiet transparent_hugepage=never intel_pstate=disable”
GRUB_DISABLE_RECOVERY=“true”
使其生效:
grub2-mkconfig -o /boot/grub2/grub.cfg
重启:
reboot;
查看当前Transparent hugepage状态:
cat /sys/kernel/mm/transparent_hugepage/enabled
禁用selinux
cp /etc/selinux/config /etc/selinux/config_date +"%Y%m%d_%H%M%S"&& sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/selinux/config
创建用户
/usr/sbin/groupadd -g 501 oinstall
/usr/sbin/groupadd -g 502 dba
/usr/sbin/useradd -u 502 -g oinstall -G dba oracle -m -s /bin/bash
/usr/sbin/useradd -u 501 -g oinstall -G dba grid -m -s /bin/bash
echo “oracle”|passwd oracle --stdin
echo “oracle”|passwd grid --stdin
------------------------ 组太少了 不够 grid
安装软件服务
1、配置yum源
[root@19crac1 19c]# cat /etc/yum.repos.d/base.repo
[base]
name=base
baseurl=file:///mnt
enabled=1
gpgcheck=0
2、安装软件
yum install -y bc binutils compat-libcap1 compat-libstdc++ elfutils-libelf elfutils-libelf-devel fontconfig-devel glibc glibc-devel ksh libaio libaio-devel libX11 libXau libXi libXtst libXrender libXrender-devel libgcc librdmacm-devel libstdc++ libstdc+±devel libxcb make net-tools smartmontools sysstat
注意:compat-libstdc镜像里面没有,需从本地上传,rpm安装
禁用不必需要的服务
systemctl stop tuned.service ktune.service
systemctl stop firewalld.service
systemctl stop postfix.service
systemctl stop avahi-daemon.socket
systemctl stop avahi-daemon.service
systemctl stop atd.service
systemctl stop bluetooth.service
systemctl stop wpa_supplicant.service
systemctl stop accounts-daemon.service
systemctl stop atd.service cups.service
systemctl stop postfix.service
systemctl stop ModemManager.service
systemctl stop debug-shell.service
systemctl stop rtkit-daemon.service
systemctl stop rpcbind.service
systemctl stop rngd.service
systemctl stop upower.service
systemctl stop rhsmcertd.service
systemctl stop rtkit-daemon.service
systemctl stop ModemManager.service
systemctl stop mcelog.service
systemctl stop colord.service
systemctl stop gdm.service
systemctl stop libstoragemgmt.service
systemctl stop ksmtuned.service
systemctl stop brltty.service
systemctl stop avahi-dnsconfd.service
systemctl disable tuned.service ktune.service
systemctl disable firewalld.service
systemctl disable postfix.service
systemctl disable avahi-daemon.socket
systemctl disable avahi-daemon.service
systemctl disable atd.service
systemctl disable bluetooth.service
systemctl disable wpa_supplicant.service
systemctl disable accounts-daemon.service
systemctl disable atd.service cups.service
systemctl disable postfix.service
systemctl disable ModemManager.service
systemctl disable debug-shell.service
systemctl disable rtkit-daemon.service
systemctl disable rpcbind.service
systemctl disable rngd.service
systemctl disable upower.service
systemctl disable rhsmcertd.service
systemctl disable rtkit-daemon.service
systemctl disable ModemManager.service
systemctl disable mcelog.service
systemctl disable colord.service
systemctl disable gdm.service
systemctl disable libstoragemgmt.service
systemctl disable ksmtuned.service
systemctl disable brltty.service
systemctl disable avahi-dnsconfd.service
下面是时间内服务器,请确认环境中使用的那种方式
systemctl disable ntpd.service
systemctl stop ntpd.service
或者是
systemctl stop chronyd.service
systemctl disable chronyd.service
用户ulimit配置
echo "
oracle soft nproc 655350
oracle hard nproc 655350
oracle soft nofile 655360
oracle hard nofile 655360
grid soft nproc 655350
grid hard nproc 655350
grid soft nofile 655360
grid hard nofile 655360
oracle soft stack 102400
oracle hard stack 327680
grid soft stack 102400
grid hard stack 327680
oracle soft memlock -1
oracle hard memlock -1
grid soft memlock -1
grid hard memlock -1
root soft memlock -1
root hard memlock -1" >>/etc/security/limits.conf
cp /etc/profile /etc/profile_date +"%Y%m%d_%H%M%S"
echo "
if [ $USER = “oracle” ] || [ $USER = “grid” ] || [ $USER = “root” ]; then
if [ $SHELL = “/bin/ksh” ]; then
ulimit -p 655350
ulimit -n 655350
else
ulimit -u 655350 -n 655350
fi
fi">>/etc/profile
sed -i ‘s/* soft nproc 4096/* soft nproc 655350/’ /etc/security/limits.d/20-nproc.conf----换下面好
sed -i 's/4096/655350/' /etc/security/limits.d/20-nproc.conf
创建相关目录
mkdir -p /u01/app/grid
mkdir -p /u01/app/19c/grid
mkdir -p /u01/app/oracle/product/19c/dbhome_1
chown grid:oinstall /u01/app
chown grid:oinstall /u01/app/grid
chown grid:oinstall /u01/app/19c/grid
chown -R grid:oinstall /u01/app/19c/grid
chown -R oracle:oinstall /u01/app/oracle
配置环境变量
echo “export PATH
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19c/dbhome_1
export ORACLE_SID=ora19c1
export PATH=$ORACLE_HOME/bin:$PATH
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/lib/usr/lib:/usr/local/lib
set -o vi
stty erase ^h
if [ -t 0 ]; then
stty intr ^C
fi
umask 022”>>/home/oracle/.bash_profile
echo “export PATH
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/19c/grid
export ORACLE_SID=+ASM1
export PATH=$ORACLE_HOME/bin:$PATH
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/lib/usr/lib:/usr/local/lib
set -o vi
stty erase ^h
if [ -t 0 ]; then
stty intr ^C
fi
umask 022” >>/home/grid/.bash_profile
使用udev映射磁盘
[root@19crac2 network-scripts]# cat /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd?", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$name", RESULT=="36000c297317e21bab50bb1b121987702", SYMLINK+="asm_ocr1", OWNER="grid", GROUP="oinstall", MODE="0660"
KERNEL=="sd?", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$name", RESULT=="36000c29c3c2531bf8a6b32d5c043acbd", SYMLINK+="asm_ocr2", OWNER="grid", GROUP="oinstall", MODE="0660"
KERNEL=="sd?", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$name", RESULT=="36000c29918c51869b946d534f191995a", SYMLINK+="asm_ocr3", OWNER="grid", GROUP="oinstall", MODE="0660"
KERNEL=="sd?", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$name", RESULT=="36000c29f795c54872af1a5ae34661b43", SYMLINK+="asm_arch01", OWNER="grid", GROUP="oinstall", MODE="0660"
KERNEL=="sd?", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$name", RESULT=="36000c29e1c3fab1ec014e3d8778b4685", SYMLINK+="asm_data01", OWNER="grid", GROUP="oinstall", MODE="0660"
1
2
3
4
5
6
注意修改result的结果,提前输出个磁盘的wwid。
重启udev
udevadm control --reload-rules
/sbin/udevadm trigger --type=devices --action=change
虚拟机配置
在虚拟机的安装路径下,用文本编辑器打开下面文件:
添加以下参数(设置共享盘):
disk.locking = “false”
diskLib.dataCacheMaxSize = “0”
diskLib.dataCacheMaxReadAheadSize = “0”
diskLib.DataCacheMinReadAheadSize = “0”
diskLib.dataCachePageSize = “4096”
diskLib.maxUnsyncedWrites = “0”
disk.EnableUUID = “TRUE”
scsi1:0.deviceType = “disk”
scsi1:1.deviceType = “disk”
scsi1:2.deviceType = “disk”
scsi1:3.deviceType = “disk”
scsi1:4.deviceType = “disk”
磁盘如果有多个,scsi这里按添加时候的号,顺序编写即可
安装GI
图形化安装
[grid@19crac1 grid]$ export DISPLAY=10.1.11.2:0.0
[grid@19crac1 grid]$ ./gridSetup.sh
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
Launching Oracle Grid Infrastructure Setup Wizard…
The response file for this session can be found at:
/u01/app/19c/grid/install/response/grid_2020-07-10_11-16-11AM.rsp
You can find the log of this install session at:
/tmp/GridSetupActions2020-07-10_11-16-11AM/gridSetupActions2020-07-10_11-16-11AM.log
执行root.sh
在1,2节点
[root@19crac1 ~]# /tmp/GridSetupActions2020-07-10_11-16-11AM/CVU_19.0.0.0.0_grid/runfixup.sh
All Fix-up operations were completed successfully.
[root@19crac2 ~]# /tmp/GridSetupActions2020-07-10_11-16-11AM/CVU_19.0.0.0.0_grid/runfixup.sh
All Fix-up operations were completed successfully.
1节点:
[root@19crac1 19c]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
2节点:
[root@19crac2 19c]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
1节点:
[root@19crac1 19c]# /u01/app/19c/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/19c/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin …
Copying oraenv to /usr/local/bin …
Copying coraenv to /usr/local/bin …
Creating /etc/oratab file…
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19c/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/19crac1/crsconfig/rootcrs_19crac1_2020-07-10_11-30-19AM.log
2020/07/10 11:30:26 CLSRSC-594: Executing installation step 1 of 19: ‘SetupTFA’.
2020/07/10 11:30:26 CLSRSC-594: Executing installation step 2 of 19: ‘ValidateEnv’.
2020/07/10 11:30:26 CLSRSC-363: User ignored prerequisites during installation
2020/07/10 11:30:26 CLSRSC-594: Executing installation step 3 of 19: ‘CheckFirstNode’.
2020/07/10 11:30:27 CLSRSC-594: Executing installation step 4 of 19: ‘GenSiteGUIDs’.
2020/07/10 11:30:28 CLSRSC-594: Executing installation step 5 of 19: ‘SetupOSD’.
2020/07/10 11:30:28 CLSRSC-594: Executing installation step 6 of 19: ‘CheckCRSConfig’.
2020/07/10 11:30:28 CLSRSC-594: Executing installation step 7 of 19: ‘SetupLocalGPNP’.
2020/07/10 11:30:49 CLSRSC-594: Executing installation step 8 of 19: ‘CreateRootCert’.
2020/07/10 11:30:53 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2020/07/10 11:30:54 CLSRSC-594: Executing installation step 9 of 19: ‘ConfigOLR’.
2020/07/10 11:31:06 CLSRSC-594: Executing installation step 10 of 19: ‘ConfigCHMOS’.
2020/07/10 11:31:06 CLSRSC-594: Executing installation step 11 of 19: ‘CreateOHASD’.
2020/07/10 11:31:10 CLSRSC-594: Executing installation step 12 of 19: ‘ConfigOHASD’.
2020/07/10 11:31:10 CLSRSC-330: Adding Clusterware entries to file ‘oracle-ohasd.service’
2020/07/10 11:31:48 CLSRSC-594: Executing installation step 13 of 19: ‘InstallAFD’.
2020/07/10 11:31:52 CLSRSC-594: Executing installation step 14 of 19: ‘InstallACFS’.
2020/07/10 11:32:36 CLSRSC-594: Executing installation step 15 of 19: ‘InstallKA’.
2020/07/10 11:32:41 CLSRSC-594: Executing installation step 16 of 19: ‘InitConfig’.
ASM has been created and started successfully.
[DBT-30001] Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-200710AM113312.log for details.
2020/07/10 11:34:04 CLSRSC-482: Running command: ‘/u01/app/19c/grid/bin/ocrconfig -upgrade grid oinstall’
CRS-4256: Updating the profile
Successful addition of voting disk c9472c9d09d34f76bfa060b0678150c1.
Successful addition of voting disk b00f995b5b474f3dbf620d8834ccbf0b.
Successful addition of voting disk f26b0de438db4f68bfba6af4badf43ca.
Successfully replaced voting disk group with +ocrdg.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##STATE File Universal Id File Name Disk group
ONLINE c9472c9d09d34f76bfa060b0678150c1 (/dev/sdb) [OCRDG]
ONLINE b00f995b5b474f3dbf620d8834ccbf0b (/dev/sdc) [OCRDG]
ONLINE f26b0de438db4f68bfba6af4badf43ca (/dev/sdd) [OCRDG]
Located 3 voting disk(s).
2020/07/10 11:35:28 CLSRSC-594: Executing installation step 17 of 19: ‘StartCluster’.
2020/07/10 11:36:35 CLSRSC-343: Successfully started Oracle Clusterware stack
2020/07/10 11:36:35 CLSRSC-594: Executing installation step 18 of 19: ‘ConfigNode’.
2020/07/10 11:37:46 CLSRSC-594: Executing installation step 19 of 19: ‘PostConfig’.
2020/07/10 11:38:11 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster … succeeded
如果此处有报错,可以具体查看日志:/u01/app/grid/crsdata/19crac1/crsconfig/rootcrs_19crac1_2020-07-10_11-30-19AM.log。这是root.sh脚本执行的后台日志,里面会有具体报错。然后进行相应解决
2节点:
[root@19crac2 19c]# /u01/app/19c/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/19c/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin …
Copying oraenv to /usr/local/bin …
Copying coraenv to /usr/local/bin …
Creating /etc/oratab file…
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19c/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/19crac2/crsconfig/rootcrs_19crac2_2020-07-10_11-38-42AM.log
2020/07/10 11:38:45 CLSRSC-594: Executing installation step 1 of 19: ‘SetupTFA’.
2020/07/10 11:38:45 CLSRSC-594: Executing installation step 2 of 19: ‘ValidateEnv’.
2020/07/10 11:38:45 CLSRSC-363: User ignored prerequisites during installation
2020/07/10 11:38:45 CLSRSC-594: Executing installation step 3 of 19: ‘CheckFirstNode’.
2020/07/10 11:38:46 CLSRSC-594: Executing installation step 4 of 19: ‘GenSiteGUIDs’.
2020/07/10 11:38:46 CLSRSC-594: Executing installation step 5 of 19: ‘SetupOSD’.
2020/07/10 11:38:47 CLSRSC-594: Executing installation step 6 of 19: ‘CheckCRSConfig’.
2020/07/10 11:38:47 CLSRSC-594: Executing installation step 7 of 19: ‘SetupLocalGPNP’.
2020/07/10 11:38:48 CLSRSC-594: Executing installation step 8 of 19: ‘CreateRootCert’.
2020/07/10 11:38:48 CLSRSC-594: Executing installation step 9 of 19: ‘ConfigOLR’.
2020/07/10 11:38:56 CLSRSC-594: Executing installation step 10 of 19: ‘ConfigCHMOS’.
2020/07/10 11:38:56 CLSRSC-594: Executing installation step 11 of 19: ‘CreateOHASD’.
2020/07/10 11:38:57 CLSRSC-594: Executing installation step 12 of 19: ‘ConfigOHASD’.
2020/07/10 11:38:58 CLSRSC-330: Adding Clusterware entries to file ‘oracle-ohasd.service’
2020/07/10 11:39:09 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2020/07/10 11:39:33 CLSRSC-594: Executing installation step 13 of 19: ‘InstallAFD’.
2020/07/10 11:39:34 CLSRSC-594: Executing installation step 14 of 19: ‘InstallACFS’.
2020/07/10 11:40:12 CLSRSC-594: Executing installation step 15 of 19: ‘InstallKA’.
2020/07/10 11:40:13 CLSRSC-594: Executing installation step 16 of 19: ‘InitConfig’.
2020/07/10 11:40:22 CLSRSC-594: Executing installation step 17 of 19: ‘StartCluster’.
2020/07/10 11:41:09 CLSRSC-343: Successfully started Oracle Clusterware stack
2020/07/10 11:41:09 CLSRSC-594: Executing installation step 18 of 19: ‘ConfigNode’.
2020/07/10 11:41:25 CLSRSC-594: Executing installation step 19 of 19: ‘PostConfig’.
2020/07/10 11:41:32 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster … succeeded
安装完成,可以查看下GI的状态
[grid@19crac1 grid]$ crsctl stat res -t
Name Target State Server State details
Local Resources
ora.LISTENER.lsnr
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.chad
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.net1.network
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.ons
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.proxy_advm
OFFLINE OFFLINE 19crac1 STABLE
OFFLINE OFFLINE 19crac2 STABLE
Cluster Resources
ora.19crac1.vip
1 ONLINE ONLINE 19crac1 STABLE
ora.19crac2.vip
1 ONLINE ONLINE 19crac2 STABLE
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
3 OFFLINE OFFLINE STABLE
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE 19crac1 STABLE
ora.OCRDG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
3 OFFLINE OFFLINE STABLE
ora.asm(ora.asmgroup)
1 ONLINE ONLINE 19crac1 Started,STABLE
2 ONLINE ONLINE 19crac2 Started,STABLE
3 OFFLINE OFFLINE STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
3 OFFLINE OFFLINE STABLE
ora.cvu
1 ONLINE ONLINE 19crac1 STABLE
ora.qosmserver
1 ONLINE ONLINE 19crac1 STABLE
ora.scan1.vip
1 ONLINE ONLINE 19crac1 STABLE
asmca创建磁盘组
[grid@19crac1 grid]$ asmca
查看集群资源:
[grid@19crac1 grid]$ srvctl modify asm -count ALL
[grid@19crac1 grid]$ crsctl stat res -t
Name Target State Server State details
Local Resources
ora.LISTENER.lsnr
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.chad
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.net1.network
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.ons
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.proxy_advm
OFFLINE OFFLINE 19crac1 STABLE
OFFLINE OFFLINE 19crac2 STABLE
Cluster Resources
ora.19crac1.vip
1 ONLINE ONLINE 19crac1 STABLE
ora.19crac2.vip
1 ONLINE ONLINE 19crac2 STABLE
ora.ARCHDG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.DATADG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE 19crac1 STABLE
ora.OCRDG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.asm(ora.asmgroup)
1 ONLINE ONLINE 19crac1 Started,STABLE
2 ONLINE ONLINE 19crac2 Started,STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.cvu
1 ONLINE ONLINE 19crac1 STABLE
ora.qosmserver
1 ONLINE ONLINE 19crac1 STABLE
ora.scan1.vip
1 ONLINE ONLINE 19crac1 STABLE
安装数据库软件
上传软件,修改权限
[root@19crac1 soft]# chown oracle:oinstall V982063-01.zip
[root@19crac1 soft]# chmod 755 V982063-01.zip
[root@19crac1 soft]# su - oracle
Last login: Fri Jul 10 12:40:45 CST 2020 on pts/0
[oracle@19crac1 dbhome_1]$ unzip V982063-01.zip -d $ORACLE_HOME
启动安装图形化
[oracle@19crac1 ~]$ cd O R A C L E H O M E [ o r a c l e @ 19 c r a c 1 d b h o m e 1 ] ORACLE_HOME [oracle@19crac1 dbhome_1]ORACLE
H
OME[oracle@19crac1dbhome
1
] ./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[oracle@19crac1 dbhome_1]$ export DISPLAY=10.1.11.2:0.0
[oracle@19crac1 dbhome_1]$ ./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
Launching Oracle Database Setup Wizard…
step1:此处选择仅安装数据库软件,后面我们再创建数据库
step2:选择安装oracle rac
step3:选择所有待安装节点。注意,点击 select all。
先配置等效性,输入密码,然后点击setup
正在配置等效性
配置成功
如果此处报错,可以选择手动配置等效性,并测试。
step 4:选择企业版
step 5:选择oracle_base,默认取用户得环境变量
step6:选择组
step7:此处不选择集群安装完成后,自动执行root.sh脚本。
step8:
点击OK,他就会重新再校验一次
防火墙打开,关闭后,这一步恢复正常
执行root.sh
[root@19crac1 19c]# /u01/app/oracle/product/19c/dbhome_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/19c/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of “dbhome” have not changed. No need to overwrite.
The contents of “oraenv” have not changed. No need to overwrite.
The contents of “coraenv” have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
节点2:
[root@19crac2 19c]# /u01/app/oracle/product/19c/dbhome_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/19c/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of “dbhome” have not changed. No need to overwrite.
The contents of “oraenv” have not changed. No need to overwrite.
The contents of “coraenv” have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
dbca建库
"ORA-17502 /ORA-01017: invalid username/password; logon denied " While Creating 19c Database (Doc ID 2545858.1)
建库后配置
1、修改数据库参数
2、修改监听配置
3、修改redo大小和组
4、修改定时任务
安装补丁
替换opatch
1、oracle用户的
[root@19crac1 soft]# cd /u01/soft/
[root@19crac1 soft]# ll
total 2654720
-rw-r–r-- 1 root root 2606745994 Jul 10 10:56 p30783556_190000_Linux-x86-64.zip
-rw-r–r-- 1 root root 111682884 Aug 4 2019 p6880880_190000_Linux-x86-64.zip
[root@19crac1 soft]# chown oracle:oinstall p6880880_190000_Linux-x86-64.zip
[root@19crac1 soft]# chmod 755 p6880880_190000_Linux-x86-64.zip
[root@19crac1 soft]# su - oracle
Last login: Fri Jul 10 12:52:16 CST 2020
[oracle@19crac1 ~]$ cd O R A C L E H O M E [ o r a c l e @ 19 c r a c 1 d b h o m e 1 ] ORACLE_HOME [oracle@19crac1 dbhome_1]ORACLE
H
OME[oracle@19crac1dbhome
1
] rm -rf OPatch/
[oracle@19crac1 dbhome_1]$ unip /u01/soft/p6880880_190000_Linux-x86-64.zip -d .
-bash: unip: command not found
[oracle@19crac1 dbhome_1]$ unzip /u01/soft/p6880880_190000_Linux-x86-64.zip -d .
Archive: /u01/soft/p6880880_190000_Linux-x86-64.zip
2、grid用户的
[root@19crac1 soft]# cd /u01/soft/
[root@19crac1 soft]# chown grid:oinstall p6880880_190000_Linux-x86-64.zip
[root@19crac1 soft]# su - grid
Last login: Fri Jul 10 14:08:31 CST 2020
[grid@19crac1 ~]$ cd O R A C L E H O M E [ g r i d @ 19 c r a c 1 g r i d ] ORACLE_HOME [grid@19crac1 grid]ORACLE
H
OME[grid@19crac1grid] rm -rf OPatch/
rm: cannot remove Patch/ Permission denied
[grid@19crac1 grid]$ logout
[root@19crac1 soft]# cd /u01/app/19c/grid/
[root@19crac1 grid]# rm -rf OPatch/
[root@19crac1 grid]# pwd
/u01/app/19c/grid
[root@19crac1 grid]# unzip /u01/soft/p6880880_190000_Linux-x86-64.zip -d .
[root@19crac1 grid]# chown -R grid:oinstall OPatch/
[root@19crac1 grid]# chmod -R 755 OPatch/
再另一个节点执行上述步骤。
[root@19crac1 soft]# unzip p30783556_190000_Linux-x86-64.zip
[root@19crac1 soft]# chown grid:oinstall -R 30783556/
[root@19crac1 soft]# chmod -R 777 30783556/
---------------oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm 需要访问redhat repo
[root@localhost ~]# yum -y install oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: oracle-database-preinstall-19c-1.0-1.el7.x86_64
Marking oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Processing Dependency: bind-utils for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
--> Processing Dependency: libstdc++-devel for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: nfs-utils for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: psmisc for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: unzip for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: xorg-x11-utils for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: xorg-x11-xauth for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Running transaction check
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7 will be installed
--> Processing Dependency: bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7 for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: bind-libs(x86-64) = 32:9.11.4-26.P2.el7 for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: liblwres.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libisccfg.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libisc.so.169()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libirs.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libdns.so.1102()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libbind9.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libGeoIP.so.1()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be installed
---> Package nfs-utils.x86_64 1:1.3.0-0.68.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: gssproxy >= 0.7.0-3 for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: rpcbind for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: quota for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libnfsidmap for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libevent for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: keyutils for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libnfsidmap.so.0()(64bit) for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libevent-2.0.so.5()(64bit) for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
---> Package psmisc.x86_64 0:22.20-17.el7 will be installed
---> Package unzip.x86_64 0:6.0-21.el7 will be installed
---> Package xorg-x11-utils.x86_64 0:7.5-23.el7 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXrandr.so.2()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXinerama.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed
--> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
--> Running transaction check
---> Package GeoIP.x86_64 0:1.5.0-14.el7 will be installed
--> Processing Dependency: geoipupdate for package: GeoIP-1.5.0-14.el7.x86_64
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7 will be installed
--> Processing Dependency: bind-license = 32:9.11.4-26.P2.el7 for package: 32:bind-libs-9.11.4-26.P2.el7.x86_64
---> Package bind-libs-lite.x86_64 32:9.11.4-26.P2.el7 will be installed
---> Package gssproxy.x86_64 0:0.7.0-29.el7 will be installed
--> Processing Dependency: libini_config >= 1.3.1-31 for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libverto-module-base for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libref_array.so.1(REF_ARRAY_0.1.1)(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libini_config.so.3(INI_CONFIG_1.2.0)(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libini_config.so.3(INI_CONFIG_1.1.0)(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libref_array.so.1()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libini_config.so.3()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libcollection.so.2()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libbasicobjects.so.0()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
---> Package keyutils.x86_64 0:1.5.8-3.el7 will be installed
---> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed
---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed
--> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.2-2.el7.x86_64
---> Package libXrandr.x86_64 0:1.5.1-2.el7 will be installed
---> Package libXv.x86_64 0:1.0.11-1.el7 will be installed
---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed
---> Package libXxf86misc.x86_64 0:1.0.3-7.1.el7 will be installed
---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed
---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed
---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
---> Package libnfsidmap.x86_64 0:0.25-19.el7 will be installed
---> Package libtirpc.x86_64 0:0.2.4-0.16.el7 will be installed
---> Package quota.x86_64 1:4.01-19.el7 will be installed
--> Processing Dependency: quota-nls = 1:4.01-19.el7 for package: 1:quota-4.01-19.el7.x86_64
--> Processing Dependency: tcp_wrappers for package: 1:quota-4.01-19.el7.x86_64
---> Package rpcbind.x86_64 0:0.2.0-49.el7 will be installed
--> Running transaction check
---> Package bind-license.noarch 32:9.11.4-26.P2.el7 will be installed
---> Package geoipupdate.x86_64 0:2.5.0-1.el7 will be installed
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64
---> Package libbasicobjects.x86_64 0:0.1.1-32.el7 will be installed
---> Package libcollection.x86_64 0:0.7.0-32.el7 will be installed
---> Package libini_config.x86_64 0:1.3.1-32.el7 will be installed
--> Processing Dependency: libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit) for package: libini_config-1.3.1-32.el7.x86_64
--> Processing Dependency: libpath_utils.so.1()(64bit) for package: libini_config-1.3.1-32.el7.x86_64
---> Package libref_array.x86_64 0:0.1.5-32.el7 will be installed
---> Package libverto-libevent.x86_64 0:0.2.5-4.el7 will be installed
---> Package quota-nls.noarch 1:4.01-19.el7 will be installed
---> Package tcp_wrappers.x86_64 0:7.6-77.el7 will be installed
--> Running transaction check
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libpath_utils.x86_64 0:0.2.1-32.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================================================
Installing:
oracle-database-preinstall-19c x86_64 1.0-1.el7 /oracle-database-preinstall-19c-1.0-1.el7.x86_64 55 k
Installing for dependencies:
GeoIP x86_64 1.5.0-14.el7 localiso 1.5 M
bind-libs x86_64 32:9.11.4-26.P2.el7 localiso 156 k
bind-libs-lite x86_64 32:9.11.4-26.P2.el7 localiso 1.1 M
bind-license noarch 32:9.11.4-26.P2.el7 localiso 90 k
bind-utils x86_64 32:9.11.4-26.P2.el7 localiso 260 k
geoipupdate x86_64 2.5.0-1.el7 localiso 35 k
gssproxy x86_64 0.7.0-29.el7 localiso 111 k
keyutils x86_64 1.5.8-3.el7 localiso 54 k
libICE x86_64 1.0.9-9.el7 localiso 66 k
libSM x86_64 1.2.2-2.el7 localiso 39 k
libXinerama x86_64 1.1.3-2.1.el7 localiso 14 k
libXmu x86_64 1.1.2-2.el7 localiso 71 k
libXrandr x86_64 1.5.1-2.el7 localiso 27 k
libXt x86_64 1.1.5-3.el7 localiso 173 k
libXv x86_64 1.0.11-1.el7 localiso 19 k
libXxf86dga x86_64 1.1.4-2.1.el7 localiso 19 k
libXxf86misc x86_64 1.0.3-7.1.el7 localiso 19 k
libXxf86vm x86_64 1.1.4-1.el7 localiso 18 k
libbasicobjects x86_64 0.1.1-32.el7 localiso 26 k
libcollection x86_64 0.7.0-32.el7 localiso 42 k
libdmx x86_64 1.1.3-3.el7 localiso 16 k
libevent x86_64 2.0.21-4.el7 localiso 214 k
libini_config x86_64 1.3.1-32.el7 localiso 64 k
libnfsidmap x86_64 0.25-19.el7 localiso 50 k
libpath_utils x86_64 0.2.1-32.el7 localiso 28 k
libref_array x86_64 0.1.5-32.el7 localiso 27 k
libstdc++-devel x86_64 4.8.5-44.el7 localiso 1.5 M
libtirpc x86_64 0.2.4-0.16.el7 localiso 89 k
libverto-libevent x86_64 0.2.5-4.el7 localiso 8.9 k
nfs-utils x86_64 1:1.3.0-0.68.el7 localiso 412 k
psmisc x86_64 22.20-17.el7 localiso 141 k
quota x86_64 1:4.01-19.el7 localiso 179 k
quota-nls noarch 1:4.01-19.el7 localiso 90 k
rpcbind x86_64 0.2.0-49.el7 localiso 60 k
tcp_wrappers x86_64 7.6-77.el7 localiso 79 k
unzip x86_64 6.0-21.el7 localiso 171 k
xorg-x11-utils x86_64 7.5-23.el7 localiso 114 k
xorg-x11-xauth x86_64 1:1.0.9-1.el7 localiso 30 k
Transaction Summary
=================================================================================================================================================================================================================
Install 1 Package (+38 Dependent packages)
Total size: 7.1 M
Total download size: 7.0 M
Installed size: 22 M
Downloading packages:
Error downloading packages:
libdmx-1.1.3-3.el7.x86_64: [Errno 256] No more mirrors to try.
libXv-1.0.11-1.el7.x86_64: [Errno 256] No more mirrors to try.
psmisc-22.20-17.el7.x86_64: [Errno 256] No more mirrors to try.
libbasicobjects-0.1.1-32.el7.x86_64: [Errno 256] No more mirrors to try.
GeoIP-1.5.0-14.el7.x86_64: [Errno 256] No more mirrors to try.
libevent-2.0.21-4.el7.x86_64: [Errno 256] No more mirrors to try.
tcp_wrappers-7.6-77.el7.x86_64: [Errno 256] No more mirrors to try.
libXxf86misc-1.0.3-7.1.el7.x86_64: [Errno 256] No more mirrors to try.
libpath_utils-0.2.1-32.el7.x86_64: [Errno 256] No more mirrors to try.
geoipupdate-2.5.0-1.el7.x86_64: [Errno 256] No more mirrors to try.
32:bind-libs-lite-9.11.4-26.P2.el7.x86_64: [Errno 256] No more mirrors to try.
keyutils-1.5.8-3.el7.x86_64: [Errno 256] No more mirrors to try.
xorg-x11-utils-7.5-23.el7.x86_64: [Errno 256] No more mirrors to try.
libstdc++-devel-4.8.5-44.el7.x86_64: [Errno 256] No more mirrors to try.
libXt-1.1.5-3.el7.x86_64: [Errno 256] No more mirrors to try.
libref_array-0.1.5-32.el7.x86_64: [Errno 256] No more mirrors to try.
libverto-libevent-0.2.5-4.el7.x86_64: [Errno 256] No more mirrors to try.
libcollection-0.7.0-32.el7.x86_64: [Errno 256] No more mirrors to try.
gssproxy-0.7.0-29.el7.x86_64: [Errno 256] No more mirrors to try.
libini_config-1.3.1-32.el7.x86_64: [Errno 256] No more mirrors to try.
libtirpc-0.2.4-0.16.el7.x86_64: [Errno 256] No more mirrors to try.
rpcbind-0.2.0-49.el7.x86_64: [Errno 256] No more mirrors to try.
1:nfs-utils-1.3.0-0.68.el7.x86_64: [Errno 256] No more mirrors to try.
1:xorg-x11-xauth-1.0.9-1.el7.x86_64: [Errno 256] No more mirrors to try.
libXmu-1.1.2-2.el7.x86_64: [Errno 256] No more mirrors to try.
libXxf86vm-1.1.4-1.el7.x86_64: [Errno 256] No more mirrors to try.
libICE-1.0.9-9.el7.x86_64: [Errno 256] No more mirrors to try.
32:bind-license-9.11.4-26.P2.el7.noarch: [Errno 256] No more mirrors to try.
unzip-6.0-21.el7.x86_64: [Errno 256] No more mirrors to try.
libXrandr-1.5.1-2.el7.x86_64: [Errno 256] No more mirrors to try.
1:quota-4.01-19.el7.x86_64: [Errno 256] No more mirrors to try.
libnfsidmap-0.25-19.el7.x86_64: [Errno 256] No more mirrors to try.
libXxf86dga-1.1.4-2.1.el7.x86_64: [Errno 256] No more mirrors to try.
libSM-1.2.2-2.el7.x86_64: [Errno 256] No more mirrors to try.
1:quota-nls-4.01-19.el7.noarch: [Errno 256] No more mirrors to try.
32:bind-libs-9.11.4-26.P2.el7.x86_64: [Errno 256] No more mirrors to try.
libXinerama-1.1.3-2.1.el7.x86_64: [Errno 256] No more mirrors to try.
32:bind-utils-9.11.4-26.P2.el7.x86_64: [Errno 256] No more mirrors to try.
[root@localhost ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
repo id repo name status
localiso redhat_local 5,230
repolist: 5,230
[root@localhost ~]# mount /dev/cdrom /mnt
mount: /dev/sr0 is write-protected, mounting read-only
[root@localhost ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
localiso | 2.8 kB 00:00:00
repo id repo name status
localiso redhat_local 5,230
repolist: 5,230
[root@localhost ~]# yum -y install oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: oracle-database-preinstall-19c-1.0-1.el7.x86_64
Marking oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Processing Dependency: bind-utils for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: libstdc++-devel for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: nfs-utils for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: psmisc for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: unzip for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: xorg-x11-utils for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Processing Dependency: xorg-x11-xauth for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64
--> Running transaction check
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7 will be installed
--> Processing Dependency: bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7 for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: bind-libs(x86-64) = 32:9.11.4-26.P2.el7 for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: liblwres.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libisccfg.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libisc.so.169()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libirs.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libdns.so.1102()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libbind9.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
--> Processing Dependency: libGeoIP.so.1()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7.x86_64
---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be installed
---> Package nfs-utils.x86_64 1:1.3.0-0.68.el7 will be installed
--> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: gssproxy >= 0.7.0-3 for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: rpcbind for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: quota for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libnfsidmap for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libevent for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: keyutils for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libnfsidmap.so.0()(64bit) for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
--> Processing Dependency: libevent-2.0.so.5()(64bit) for package: 1:nfs-utils-1.3.0-0.68.el7.x86_64
---> Package psmisc.x86_64 0:22.20-17.el7 will be installed
---> Package unzip.x86_64 0:6.0-21.el7 will be installed
---> Package xorg-x11-utils.x86_64 0:7.5-23.el7 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXrandr.so.2()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXinerama.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed
--> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
--> Running transaction check
---> Package GeoIP.x86_64 0:1.5.0-14.el7 will be installed
--> Processing Dependency: geoipupdate for package: GeoIP-1.5.0-14.el7.x86_64
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7 will be installed
--> Processing Dependency: bind-license = 32:9.11.4-26.P2.el7 for package: 32:bind-libs-9.11.4-26.P2.el7.x86_64
---> Package bind-libs-lite.x86_64 32:9.11.4-26.P2.el7 will be installed
---> Package gssproxy.x86_64 0:0.7.0-29.el7 will be installed
--> Processing Dependency: libini_config >= 1.3.1-31 for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libverto-module-base for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libref_array.so.1(REF_ARRAY_0.1.1)(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libini_config.so.3(INI_CONFIG_1.2.0)(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libini_config.so.3(INI_CONFIG_1.1.0)(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libref_array.so.1()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libini_config.so.3()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libcollection.so.2()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
--> Processing Dependency: libbasicobjects.so.0()(64bit) for package: gssproxy-0.7.0-29.el7.x86_64
---> Package keyutils.x86_64 0:1.5.8-3.el7 will be installed
---> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed
---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed
--> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.2-2.el7.x86_64
---> Package libXrandr.x86_64 0:1.5.1-2.el7 will be installed
---> Package libXv.x86_64 0:1.0.11-1.el7 will be installed
---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed
---> Package libXxf86misc.x86_64 0:1.0.3-7.1.el7 will be installed
---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed
---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed
---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
---> Package libnfsidmap.x86_64 0:0.25-19.el7 will be installed
---> Package libtirpc.x86_64 0:0.2.4-0.16.el7 will be installed
---> Package quota.x86_64 1:4.01-19.el7 will be installed
--> Processing Dependency: quota-nls = 1:4.01-19.el7 for package: 1:quota-4.01-19.el7.x86_64
--> Processing Dependency: tcp_wrappers for package: 1:quota-4.01-19.el7.x86_64
---> Package rpcbind.x86_64 0:0.2.0-49.el7 will be installed
--> Running transaction check
---> Package bind-license.noarch 32:9.11.4-26.P2.el7 will be installed
---> Package geoipupdate.x86_64 0:2.5.0-1.el7 will be installed
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64
---> Package libbasicobjects.x86_64 0:0.1.1-32.el7 will be installed
---> Package libcollection.x86_64 0:0.7.0-32.el7 will be installed
---> Package libini_config.x86_64 0:1.3.1-32.el7 will be installed
--> Processing Dependency: libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit) for package: libini_config-1.3.1-32.el7.x86_64
--> Processing Dependency: libpath_utils.so.1()(64bit) for package: libini_config-1.3.1-32.el7.x86_64
---> Package libref_array.x86_64 0:0.1.5-32.el7 will be installed
---> Package libverto-libevent.x86_64 0:0.2.5-4.el7 will be installed
---> Package quota-nls.noarch 1:4.01-19.el7 will be installed
---> Package tcp_wrappers.x86_64 0:7.6-77.el7 will be installed
--> Running transaction check
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libpath_utils.x86_64 0:0.2.1-32.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================================================
Installing:
oracle-database-preinstall-19c x86_64 1.0-1.el7 /oracle-database-preinstall-19c-1.0-1.el7.x86_64 55 k
Installing for dependencies:
GeoIP x86_64 1.5.0-14.el7 localiso 1.5 M
bind-libs x86_64 32:9.11.4-26.P2.el7 localiso 156 k
bind-libs-lite x86_64 32:9.11.4-26.P2.el7 localiso 1.1 M
bind-license noarch 32:9.11.4-26.P2.el7 localiso 90 k
bind-utils x86_64 32:9.11.4-26.P2.el7 localiso 260 k
geoipupdate x86_64 2.5.0-1.el7 localiso 35 k
gssproxy x86_64 0.7.0-29.el7 localiso 111 k
keyutils x86_64 1.5.8-3.el7 localiso 54 k
libICE x86_64 1.0.9-9.el7 localiso 66 k
libSM x86_64 1.2.2-2.el7 localiso 39 k
libXinerama x86_64 1.1.3-2.1.el7 localiso 14 k
libXmu x86_64 1.1.2-2.el7 localiso 71 k
libXrandr x86_64 1.5.1-2.el7 localiso 27 k
libXt x86_64 1.1.5-3.el7 localiso 173 k
libXv x86_64 1.0.11-1.el7 localiso 19 k
libXxf86dga x86_64 1.1.4-2.1.el7 localiso 19 k
libXxf86misc x86_64 1.0.3-7.1.el7 localiso 19 k
libXxf86vm x86_64 1.1.4-1.el7 localiso 18 k
libbasicobjects x86_64 0.1.1-32.el7 localiso 26 k
libcollection x86_64 0.7.0-32.el7 localiso 42 k
libdmx x86_64 1.1.3-3.el7 localiso 16 k
libevent x86_64 2.0.21-4.el7 localiso 214 k
libini_config x86_64 1.3.1-32.el7 localiso 64 k
libnfsidmap x86_64 0.25-19.el7 localiso 50 k
libpath_utils x86_64 0.2.1-32.el7 localiso 28 k
libref_array x86_64 0.1.5-32.el7 localiso 27 k
libstdc++-devel x86_64 4.8.5-44.el7 localiso 1.5 M
libtirpc x86_64 0.2.4-0.16.el7 localiso 89 k
libverto-libevent x86_64 0.2.5-4.el7 localiso 8.9 k
nfs-utils x86_64 1:1.3.0-0.68.el7 localiso 412 k
psmisc x86_64 22.20-17.el7 localiso 141 k
quota x86_64 1:4.01-19.el7 localiso 179 k
quota-nls noarch 1:4.01-19.el7 localiso 90 k
rpcbind x86_64 0.2.0-49.el7 localiso 60 k
tcp_wrappers x86_64 7.6-77.el7 localiso 79 k
unzip x86_64 6.0-21.el7 localiso 171 k
xorg-x11-utils x86_64 7.5-23.el7 localiso 114 k
xorg-x11-xauth x86_64 1:1.0.9-1.el7 localiso 30 k
Transaction Summary
=================================================================================================================================================================================================================
Install 1 Package (+38 Dependent packages)
Total size: 7.1 M
Total download size: 7.0 M
Installed size: 22 M
Downloading packages:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 61 MB/s | 7.0 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libcollection-0.7.0-32.el7.x86_64 1/39
Installing : libref_array-0.1.5-32.el7.x86_64 2/39
Installing : libevent-2.0.21-4.el7.x86_64 3/39
Installing : 32:bind-license-9.11.4-26.P2.el7.noarch 4/39
Installing : libbasicobjects-0.1.1-32.el7.x86_64 5/39
Installing : libICE-1.0.9-9.el7.x86_64 6/39
Installing : libtirpc-0.2.4-0.16.el7.x86_64 7/39
Installing : rpcbind-0.2.0-49.el7.x86_64 8/39
Installing : libSM-1.2.2-2.el7.x86_64 9/39
Installing : libXt-1.1.5-3.el7.x86_64 10/39
Installing : libXmu-1.1.2-2.el7.x86_64 11/39
Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 12/39
Installing : libverto-libevent-0.2.5-4.el7.x86_64 13/39
Installing : 1:quota-nls-4.01-19.el7.noarch 14/39
Installing : psmisc-22.20-17.el7.x86_64 15/39
Installing : libstdc++-devel-4.8.5-44.el7.x86_64 16/39
Installing : tcp_wrappers-7.6-77.el7.x86_64 17/39
Installing : 1:quota-4.01-19.el7.x86_64 18/39
Installing : keyutils-1.5.8-3.el7.x86_64 19/39
Installing : libXxf86dga-1.1.4-2.1.el7.x86_64 20/39
Installing : libnfsidmap-0.25-19.el7.x86_64 21/39
Installing : libpath_utils-0.2.1-32.el7.x86_64 22/39
Installing : libini_config-1.3.1-32.el7.x86_64 23/39
Installing : gssproxy-0.7.0-29.el7.x86_64 24/39
Installing : 1:nfs-utils-1.3.0-0.68.el7.x86_64 25/39
Installing : libXrandr-1.5.1-2.el7.x86_64 26/39
Installing : unzip-6.0-21.el7.x86_64 27/39
Installing : libXxf86vm-1.1.4-1.el7.x86_64 28/39
Installing : libXv-1.0.11-1.el7.x86_64 29/39
Installing : libXinerama-1.1.3-2.1.el7.x86_64 30/39
Installing : geoipupdate-2.5.0-1.el7.x86_64 31/39
Installing : GeoIP-1.5.0-14.el7.x86_64 32/39
Installing : 32:bind-libs-lite-9.11.4-26.P2.el7.x86_64 33/39
Installing : 32:bind-libs-9.11.4-26.P2.el7.x86_64 34/39
Installing : 32:bind-utils-9.11.4-26.P2.el7.x86_64 35/39
Installing : libdmx-1.1.3-3.el7.x86_64 36/39
Installing : libXxf86misc-1.0.3-7.1.el7.x86_64 37/39
Installing : xorg-x11-utils-7.5-23.el7.x86_64 38/39
Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64 39/39
Verifying : 32:bind-libs-9.11.4-26.P2.el7.x86_64 1/39
Verifying : libtirpc-0.2.4-0.16.el7.x86_64 2/39
Verifying : libXxf86misc-1.0.3-7.1.el7.x86_64 3/39
Verifying : libdmx-1.1.3-3.el7.x86_64 4/39
Verifying : libICE-1.0.9-9.el7.x86_64 5/39
Verifying : geoipupdate-2.5.0-1.el7.x86_64 6/39
Verifying : libXinerama-1.1.3-2.1.el7.x86_64 7/39
Verifying : libXv-1.0.11-1.el7.x86_64 8/39
Verifying : libXxf86vm-1.1.4-1.el7.x86_64 9/39
Verifying : 1:nfs-utils-1.3.0-0.68.el7.x86_64 10/39
Verifying : libXt-1.1.5-3.el7.x86_64 11/39
Verifying : libbasicobjects-0.1.1-32.el7.x86_64 12/39
Verifying : 32:bind-utils-9.11.4-26.P2.el7.x86_64 13/39
Verifying : rpcbind-0.2.0-49.el7.x86_64 14/39
Verifying : GeoIP-1.5.0-14.el7.x86_64 15/39
Verifying : 32:bind-license-9.11.4-26.P2.el7.noarch 16/39
Verifying : xorg-x11-utils-7.5-23.el7.x86_64 17/39
Verifying : oracle-database-preinstall-19c-1.0-1.el7.x86_64 18/39
Verifying : 32:bind-libs-lite-9.11.4-26.P2.el7.x86_64 19/39
Verifying : libini_config-1.3.1-32.el7.x86_64 20/39
Verifying : unzip-6.0-21.el7.x86_64 21/39
Verifying : libevent-2.0.21-4.el7.x86_64 22/39
Verifying : libverto-libevent-0.2.5-4.el7.x86_64 23/39
Verifying : libXmu-1.1.2-2.el7.x86_64 24/39
Verifying : libXrandr-1.5.1-2.el7.x86_64 25/39
Verifying : gssproxy-0.7.0-29.el7.x86_64 26/39
Verifying : libref_array-0.1.5-32.el7.x86_64 27/39
Verifying : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 28/39
Verifying : libpath_utils-0.2.1-32.el7.x86_64 29/39
Verifying : 1:quota-4.01-19.el7.x86_64 30/39
Verifying : libnfsidmap-0.25-19.el7.x86_64 31/39
Verifying : libSM-1.2.2-2.el7.x86_64 32/39
Verifying : libXxf86dga-1.1.4-2.1.el7.x86_64 33/39
Verifying : libcollection-0.7.0-32.el7.x86_64 34/39
Verifying : keyutils-1.5.8-3.el7.x86_64 35/39
Verifying : tcp_wrappers-7.6-77.el7.x86_64 36/39
Verifying : libstdc++-devel-4.8.5-44.el7.x86_64 37/39
Verifying : psmisc-22.20-17.el7.x86_64 38/39
Verifying : 1:quota-nls-4.01-19.el7.noarch 39/39
Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-1.el7
Dependency Installed:
GeoIP.x86_64 0:1.5.0-14.el7 bind-libs.x86_64 32:9.11.4-26.P2.el7 bind-libs-lite.x86_64 32:9.11.4-26.P2.el7 bind-license.noarch 32:9.11.4-26.P2.el7 bind-utils.x86_64 32:9.11.4-26.P2.el7
geoipupdate.x86_64 0:2.5.0-1.el7 gssproxy.x86_64 0:0.7.0-29.el7 keyutils.x86_64 0:1.5.8-3.el7 libICE.x86_64 0:1.0.9-9.el7 libSM.x86_64 0:1.2.2-2.el7
libXinerama.x86_64 0:1.1.3-2.1.el7 libXmu.x86_64 0:1.1.2-2.el7 libXrandr.x86_64 0:1.5.1-2.el7 libXt.x86_64 0:1.1.5-3.el7 libXv.x86_64 0:1.0.11-1.el7
libXxf86dga.x86_64 0:1.1.4-2.1.el7 libXxf86misc.x86_64 0:1.0.3-7.1.el7 libXxf86vm.x86_64 0:1.1.4-1.el7 libbasicobjects.x86_64 0:0.1.1-32.el7 libcollection.x86_64 0:0.7.0-32.el7
libdmx.x86_64 0:1.1.3-3.el7 libevent.x86_64 0:2.0.21-4.el7 libini_config.x86_64 0:1.3.1-32.el7 libnfsidmap.x86_64 0:0.25-19.el7 libpath_utils.x86_64 0:0.2.1-32.el7
libref_array.x86_64 0:0.1.5-32.el7 libstdc++-devel.x86_64 0:4.8.5-44.el7 libtirpc.x86_64 0:0.2.4-0.16.el7 libverto-libevent.x86_64 0:0.2.5-4.el7 nfs-utils.x86_64 1:1.3.0-0.68.el7
psmisc.x86_64 0:22.20-17.el7 quota.x86_64 1:4.01-19.el7 quota-nls.noarch 1:4.01-19.el7 rpcbind.x86_64 0:0.2.0-49.el7 tcp_wrappers.x86_64 0:7.6-77.el7
unzip.x86_64 0:6.0-21.el7 xorg-x11-utils.x86_64 0:7.5-23.el7 xorg-x11-xauth.x86_64 1:1.0.9-1.el7
Complete!
————————————————
版权声明:本文为CSDN博主「P10ZHUO」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/fanzhuozhuo/article/details/107247478