Oracle迁移(RAC变单机模式)

1.升级内核

systemctl stop firewalld
systemctl disable firewalldrpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum --enablerepo="elrepo-kernel" list --showduplicates | sort -r | grep kernel-ml.x86_64
yum --enablerepo=elrepo-kernel install kernel-ml-devel kernel-ml -yvi /etc/default/grub
# 把GRUB_DEFAULT=saved改成GRUB_0=saved
grub2-mkconfig -o /boot/grub2/grub.cfgawk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg
awk -F\' '$1=="menuentry " {print $2}' /boot/grub2/grub.cfggrub2-set-default 0
reboot
uname -r# 清理内核
rpm -qa | grep kernel
yum remove -y kernel-tools-3.10.0-1160.el7.x86_64 kernel-tools-libs-3.10.0-1160.el7.x86_64 kernel-3.10.0-1160.el7.x86_64

2.安装目标数据库

hostnamectl set-hostname cwfk01vi /etc/hosts
10.10.127.16 cwfk01grep SwapTotal /proc/meminfo
free
dd if=/dev/zero of=/home/swap bs=1M count=3072mkswap /home/swap
swapon /home/swap
chmod -R 0600 /home/swap
free –h
echo  "/home/swap   swap  swap  defaults  0  0" >>  /etc/fstabsed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config
cat /etc/selinux/config
setenforce 0
systemctl stop firewalld
systemctl disable firewalldyum -y install binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat unixODBC unixODBC-devel unzip wgetrpm -q binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat unixODBC unixODBC-devel | grep "not installed"cat << EOF >> /etc/security/limits.conf 
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft stack 10240
EOF# 计算kernel.shmmax=(内存总数)16G*1024*1024*1024*90% = 15461882265
# 计算kernel.shmmax=(内存总数)32G*1024*1024*1024*90% = 30923764531
# 计算kernel.shmmax=(内存总数)96G*1024*1024*1024*90% = 92771293593
# 计算kernel.shmmax=(内存总数)128G*1024*1024*1024*90% = 123695058126# 计算公式:kernel.shmall =  kernel.shmmax / 4096 = 15461882265/4096 = 3774873 
# 计算公式:kernel.shmall =  kernel.shmmax / 4096 = 30923764531/4096 = 7549747
# 计算公式:kernel.shmall =  kernel.shmmax / 4096 =  92771293593/4096 = 22649241
# 计算公式:kernel.shmall =  kernel.shmmax / 4096 = 123695058125/4096 = 30198988cat << EOF >> /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 30923764531
kernel.shmmni = 4096
kernel.shmall = 7549747
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
EOFsysctl -pcat << EOF >> /etc/pam.d/login
session  required   /lib64/security/pam_limits.so
session  required   pam_limits.so
EOFcat  << EOF >> /etc/profile
if [ \$USER = "oracle" ]; thenif [ \$SHELL = "/bin/ksh" ]; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fi
fi
EOFcat /etc/profilesource /etc/profilecat <<EOF>> /etc/csh.loginif ( \$USER == "oracle") thenlimit maxproc 16384limit descriptors 65536
endif
EOFcat /etc/csh.login#添加用户
groupadd oinstall
groupadd dba
useradd -g dba -m oracle
usermod -a -G oinstall oracle
passwd oracle
id oraclemkdir -p /u01/app/{oracle,inventory,src}
chown -R oracle.oinstall /u01/app
ll /u01/app
yum install -y tree
tree /u01/appcat << EOF >> /etc/oraInst.loc
inventory_loc=/u01/app/inventory
inst_group=oinstall
EOF# 注意ORACLE_HOSTNAME的值
su - oracle
cat << EOF>> ~/.bash_profile 
export ORACLE_HOSTNAME=cwfk01
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=\$ORACLE_BASE/product/11.2.0.4/db_1
export PATH=\$ORACLE_HOME/bin:/usr/sbin:\$HOME/.local/bin:\$HOME/bin:\$PATH
export LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/lib:/usr/lib:\$LD_LIBRARY_PATH
export ORACLE_SID=orcl
export ORACLE_UNQNAME=orcl
export ORACLE_OWNER=oracle
export ORACLE_TERM=vt100
export THREADS_FLAG=native
export LANG="zh_CN.UTF-8"
export NLS_LANG="SIMPLIFIED CHINESE_CHINA.AL32UTF8"
export NLS_DATE_FORMAT='yyyy-mm-dd hh24:mi:ss'
EOFcat ~/.bash_profile
source /home/oracle/.bash_profile# 上传并解压安装包
su -oracle
cd /u01/app/src
unzip p13390677_112040_Linux-x86-64_1of7.zip
unzip p13390677_112040_Linux-x86-64_2of7.zip
exit
chown -R oracle:oinstall /u01/app/src
chmod -R 775 /u01/app/oracle
chown -R oracle:oinstall /u01# 静默安装oracle11.2.0.4(附:db_install.rsp文件,为oracle安装应答文件)
su - oracle
/u01/app/src/database/runInstaller -silent -ignorePrereq -responseFile /u01/app/src/config/db_install.rsp # (附:netca.rsp文件,为oracle安装应答文件)
su - oracle
netca /silent /responseFile /u01/app/src/database/response/netca.rspexit
ss -ntl
yum install -y net-tools
netstat -tnulp | grep 1521su - oracle
lsnrctl start
lsnrctl status

3.备份源数据库

mkdir -p /backup/{script,rman_back2023}
chown -R oracle:oinstall /backupsu - oracle
vi /backup/script/rman_backup.sh#!/bin/bash
source ~/.bash_profile
backup_log=/home/oracle/ORCL_cwjs_full_`date +"%Y%m%d"`.log
###backup ORCL###
rman target / nocatalog msglog $backup_log append << EOF
run {
allocate channel ch1 type disk;
allocate channel ch2 type disk;
allocate channel ch3 type disk;
allocate channel ch4 type disk;
allocate channel ch5 type disk;
allocate channel ch6 type disk;
delete noprompt obsolete;
sql 'alter system archive log current';
backup AS COMPRESSED BACKUPSET incremental level=0 database  format '/backup/expimp2023/%d_FULL_%T_%s_%p.bak';
backup AS COMPRESSED BACKUPSET archivelog all format '/backup/rman_back2023/%d_ARC_%T_%s_%p.bak' delete input;
backup current controlfile format '/backup/rman_back2023/%d_CTL_%T_%s_%p.bak';
crosscheck backup;
delete noprompt expired backup;
release channel ch1;
release channel ch2;
release channel ch3;
release channel ch4;
release channel ch5;
release channel ch6;
}
exit;
EOFchmod +x /backup/script/rman_backup.sh#执行脚本
su - oracle
/backup/script/rman_backup.sh#执行成功后,在/backup/rman_back2023会产生完整备份集(包含控制文件、数据文件、归档文件的完整备份)
[root@cwfk2 ~]# cd /backup/rman_back2023
[root@cwfk2 rman_back2023]# ll
total 29045012
-rw-r----- 1 oracle asmadmin    2070016 Nov  3 13:49 CWFK_ARC_20231103_9206_1.bak
-rw-r----- 1 oracle asmadmin    2130432 Nov  3 13:49 CWFK_ARC_20231103_9207_1.bak
-rw-r----- 1 oracle asmadmin      22016 Nov  3 13:49 CWFK_ARC_20231103_9208_1.bak
-rw-r----- 1 oracle asmadmin      24064 Nov  3 13:49 CWFK_ARC_20231103_9209_1.bak
-rw-r----- 1 oracle asmadmin   10682368 Nov  3 13:49 CWFK_CTL_20231103_9210_1.bak
-rw-r----- 1 oracle asmadmin 3785023488 Nov  3 13:43 CWFK_FULL_20231103_9198_1.bak
-rw-r----- 1 oracle asmadmin 5940936704 Nov  3 13:48 CWFK_FULL_20231103_9199_1.bak
-rw-r----- 1 oracle asmadmin 5853978624 Nov  3 13:48 CWFK_FULL_20231103_9200_1.bak
-rw-r----- 1 oracle asmadmin 5875146752 Nov  3 13:48 CWFK_FULL_20231103_9201_1.bak
-rw-r----- 1 oracle asmadmin 2047090688 Nov  3 13:39 CWFK_FULL_20231103_9202_1.bak
-rw-r----- 1 oracle asmadmin 6223609856 Nov  3 13:49 CWFK_FULL_20231103_9203_1.bak
-rw-r----- 1 oracle asmadmin    1245184 Nov  3 13:39 CWFK_FULL_20231103_9204_1.bak
-rw-r----- 1 oracle asmadmin      98304 Nov  3 13:40 CWFK_FULL_20231103_9205_1.bak# 将完整备份传至目标服务器
scp -r /backup/rman_back2023/* root@10.10.127.16:/backup/rman_back2023/# 查询源数据库相关信息
查看DBID,并记录下来,后续步骤要使用
SQL> select dbid,name from v$database;DBID NAME
---------- ---------------------------
1638686943 CWFK# 查看数据文件、日志文件、临时文件,并记录下来,后续步骤要使用
select group#,member from v$logfile;
select file#,name from v$datafile;
select name from v$tempfile;

4.恢复至目标数据库

# 关闭目标数据库
shutdown immediate;# 创建相关目录
mkdir -p /u01/app/oracle/fast_recovery_area/{orcl,cwfk}
mkdir -p /u01/app/oracle/oradata/{orcl,cwfk}
mkdir -p /u01/app/oracle/admin/{orcl,cwfk}/adump
mkdir -p /u01/app/oracle/archivechown -R oracle:oinstall /backup/rman_back2023/ll /u01/app/oracle/fast_recovery_area/cwfk
ll /u01/app/oracle/oradata/cwfk
ll /u01/app/oracle/admin/cwfk/adump
ll /u01/app/oracle# 创建初始化文件(注意相关参数:audit_file_dest,control_files,db_name)
su - oracle
rm -rf /u01/app/oracle/product/11.2.0.4/db_1/dbs/initorcl.ora
cat << EOF >> /u01/app/oracle/product/11.2.0.4/db_1/dbs/initorcl.ora
*.audit_file_dest='/u01/app/oracle/admin/cwfk/adump'
*.audit_trail='NONE'
*.compatible='11.2.0.4'
*.control_files='/u01/app/oracle/oradata/cwfk/control01.dbf'
*.db_block_size=8192
*.db_create_file_dest='/u01/app/oracle/oradata/'
*.db_create_online_log_dest_1='/u01/app/oracle/oradata/'
*.db_domain=''
*.db_files=2000
*.db_name='cwfk'
*.shared_pool_size=2147483648
*.deferred_segment_creation=FALSE
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.enable_ddl_logging=TRUE
*.event='28401 TRACE NAME CONTEXT FOREVER, LEVEL 1'
*.log_archive_dest_1='LOCATION=/u01/app/oracle/archive'
*.log_archive_format='%t_%s_%r.dbf'
*.max_dump_file_size='1G'
*.open_cursors=300
*.pga_aggregate_target=288358400
*.processes=1500
*.remote_login_passwordfile='exclusive'
*.sec_case_sensitive_logon=FALSE
*.sessions=1655
*.sga_max_size=2976m
*.sga_target=2976mEOFcat /u01/app/oracle/product/11.2.0.4/db_1/dbs/initorcl.ora
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0.4/db_1/dbs/initorcl.oraSQL> startup nomount pfile='/u01/app/oracle/product/11.2.0.4/db_1/dbs/initorcl.ora';
SQL> create spfile from pfile;
SQL> shutdown immediate;
SQL> startup nomount;rman target /
RMAN> set DBID=1638686943;
RMAN> restore controlfile from '/backup/rman_back2023/CWFK_CTL_20231103_9210_1.bak'; 
RMAN> alter database mount;
RMAN> catalog start with '/backup/rman_back2023/';
RMAN> list backup;
RMAN> list backup of archivelog all;# 此步在源数据库上执行,查询结果在下一步要使用
---------------------------------------------------------
set pages 999
set line 500
select 'set newname for datafile ''' || name || ''' to ' || '''/u01/app/oracle/oradata/cwfk/' ||  substr(name,instr(name,'/', -1)+1,instr(name, '.', -1)-instr(name, '/', -1)-1) || '.dbf''' || ';' from v$datafile;--临时表空间文件路径转换脚本语句
set linesize 400;
set pagesize 2000;
SELECT    'set newname for tempfile '||''||''''||name||''''||''|| ' to '||''''|| '/u01/app/oracle/oradata/cwfk/'|| SUBSTR (name, INSTR (name, '/', -1) + 1)|| ''';' FROM v$tempfile ORDER BY FILE#;
---------------------------------------------------------# 继续在目标库服务器上执行
su - oracle
vi /backup/recover_orcl.sh#!/bin/bash
source ~/.bash_profile
backup_log=/home/oracle/recover_`date +"%Y%m%d"`.log
rman target / nocatalog msglog $backup_log append << EOF
run {
allocate channel ch1 type disk;
allocate channel ch2 type disk;
allocate channel ch3 type disk;
allocate channel ch4 type disk;set newname for datafile '+ASM_DATA01/cwfk/datafile/system.260.1073436213' to '/u01/app/oracle/oradata/cwfk/system.260.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/sysaux.261.1073436213' to '/u01/app/oracle/oradata/cwfk/sysaux.261.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/undotbs1.262.1073436213' to '/u01/app/oracle/oradata/cwfk/undotbs1.262.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/users.263.1073436213' to '/u01/app/oracle/oradata/cwfk/users.263.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/undotbs2.259.1073436211' to '/u01/app/oracle/oradata/cwfk/undotbs2.259.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.277.1073436521' to '/u01/app/oracle/oradata/cwfk/cwfk.277.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.278.1073436553' to '/u01/app/oracle/oradata/cwfk/cwfk.278.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.279.1073436563' to '/u01/app/oracle/oradata/cwfk/cwfk.279.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.280.1073436591' to '/u01/app/oracle/oradata/cwfk/cwfk.280.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.281.1073436615' to '/u01/app/oracle/oradata/cwfk/cwfk.281.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_data01.282.1073436635' to '/u01/app/oracle/oradata/cwfk/nnc_data01.282.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_data01.283.1073436655' to '/u01/app/oracle/oradata/cwfk/nnc_data01.283.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_data01.284.1073436677' to '/u01/app/oracle/oradata/cwfk/nnc_data01.284.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_data01.285.1073436699' to '/u01/app/oracle/oradata/cwfk/nnc_data01.285.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_data01.286.1073436719' to '/u01/app/oracle/oradata/cwfk/nnc_data01.286.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_index01.287.1073436743' to '/u01/app/oracle/oradata/cwfk/nnc_index01.287.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_index01.288.1073436761' to '/u01/app/oracle/oradata/cwfk/nnc_index01.288.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_index01.289.1073436783' to '/u01/app/oracle/oradata/cwfk/nnc_index01.289.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/nnc_index01.290.1073436807' to '/u01/app/oracle/oradata/cwfk/nnc_index01.290.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.291.1073437217' to '/u01/app/oracle/oradata/cwfk/cwfk.291.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.292.1073437233' to '/u01/app/oracle/oradata/cwfk/cwfk.292.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.293.1073437255' to '/u01/app/oracle/oradata/cwfk/cwfk.293.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.294.1073437279' to '/u01/app/oracle/oradata/cwfk/cwfk.294.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.295.1073437299' to '/u01/app/oracle/oradata/cwfk/cwfk.295.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.296.1073437323' to '/u01/app/oracle/oradata/cwfk/cwfk.296.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.297.1073437339' to '/u01/app/oracle/oradata/cwfk/cwfk.297.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.298.1073437367' to '/u01/app/oracle/oradata/cwfk/cwfk.298.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.299.1073437389' to '/u01/app/oracle/oradata/cwfk/cwfk.299.dbf';
set newname for datafile '+ASM_DATA01/cwfk/datafile/cwfk.300.1073437409' to '/u01/app/oracle/oradata/cwfk/cwfk.300.dbf';set newname for tempfile '+ASM_DATA01/cwfk/tempfile/temp.276.1073436481' to '/u01/app/oracle/oradata/cwfk/temp.276.1073436481';
set newname for tempfile '+ASM_DATA01/cwfk/tempfile/temp.301.1073438477' to '/u01/app/oracle/oradata/cwfk/temp.301.1073438477';
set newname for tempfile '+ASM_DATA01/cwfk/tempfile/temp.302.1073438479' to '/u01/app/oracle/oradata/cwfk/temp.302.1073438479';
set newname for tempfile '+ASM_DATA01/cwfk/tempfile/temp.303.1073438483' to '/u01/app/oracle/oradata/cwfk/temp.303.1073438483';restore database;
switch datafile all;
switch tempfile all;set archivelog destination to '/u01/app/oracle/archive';recover database;
release channel ch1;
release channel ch2;
release channel ch3;
release channel ch4;
}
exit;
EOF# 开始执行恢复脚本
chmod +x /backup/recover_orcl.sh
/backup/recover_orcl.sh# 如果一切正常,会有一个提示
RMAN> recover database until scn 1087645;

5.完成恢复

# recover后 数据库为mount状态 因为rman备份恢复并不能恢复redo日志 而此时查看redo信息 路径还是源端ASM磁盘组中redo日志的路径
# (目标数据库上执行)
col member for a60;
set line 300;
set pages 2000;
select group#,status,member from v$logfile;# 转换redo日志的路径,执行以下日志文件路径转换sql
set linesize 400;
set pagesize 2000;
SELECT   'alter database rename file '||''||''''||member||''''||''|| ' to '||''''|| '/u01/app/oracle/oradata/ATSDBA/'|| SUBSTR (member, INSTR (member, '/', -1) + 1)|| ''';' FROM v$logfile ORDER BY GROUP#;#  上面日志转换路径后,实际文件系统中并没有相应的日志文件,通过clear logfile来创建出redo日志 先看好redo日志组group号
# 进行CLEAR CLEAR后会自动创建出相对应的日志文件
select group#,bytes /1024/1024,members,archived,status from v$log;ALTER DATABASE CLEAR LOGFILE GROUP 1;
ALTER DATABASE CLEAR LOGFILE GROUP 2;
ALTER DATABASE CLEAR LOGFILE GROUP 3;
ALTER DATABASE CLEAR LOGFILE GROUP 4;# 删除standby日志文件 先看好standby日志租group号
select group#,status,used from v$standby_log;
# 根据组号进行drop
alter database drop logfile group 5;
alter database drop logfile group 6;
alter database drop logfile group 7;
alter database drop logfile group 8;
alter database drop logfile group 9;
alter database drop logfile group 10;

6.正常打开数据库

#现在可以正常用resetlogs方式打开数据库
RMAN> alter database open resetlogs;

7.验证目标数据

8.附件

8.1 initorcl.ora

####################################################################
## Copyright(c) Oracle Corporation 1998,2013. All rights reserved.##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## can help to populate the variables with the appropriate        ##
## values.							  ##
##                                                                ##
## IMPORTANT NOTE: This file contains plain text passwords and    ##
## should be secured to have read permission only by oracle user  ##
## or db administrator who owns this installation.                ##
##                                                                ##
#####################################################################------------------------------------------------------------------------------
# Do not change the following system generated value. 
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0#------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
#   - INSTALL_DB_SWONLY
#   - INSTALL_DB_AND_CONFIG
#   - UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames 
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=cwfk01#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.  
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/u01/app/oracle/oraInventory#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.             
# 
# en   : English                  ja   : Japanese                  
# fr   : French                   ko   : Korean                    
# ar   : Arabic                   es   : Latin American Spanish    
# bn   : Bengali                  lv   : Latvian                   
# pt_BR: Brazilian Portuguese     lt   : Lithuanian                
# bg   : Bulgarian                ms   : Malay                     
# fr_CA: Canadian French          es_MX: Mexican Spanish           
# ca   : Catalan                  no   : Norwegian                 
# hr   : Croatian                 pl   : Polish                    
# cs   : Czech                    pt   : Portuguese                
# da   : Danish                   ro   : Romanian                  
# nl   : Dutch                    ru   : Russian                   
# ar_EG: Egyptian                 zh_CN: Simplified Chinese        
# en_GB: English (Great Britain)  sk   : Slovak                    
# et   : Estonian                 sl   : Slovenian                 
# fi   : Finnish                  es_ES: Spanish                   
# de   : German                   sv   : Swedish                   
# el   : Greek                    th   : Thai                      
# iw   : Hebrew                   zh_TW: Traditional Chinese       
# hu   : Hungarian                tr   : Turkish                   
# is   : Icelandic                uk   : Ukrainian                 
# in   : Indonesian               vi   : Vietnamese                
# it   : Italian                                                   
#
# all_langs   : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs  
#------------------------------------------------------------------------------
SELECTED_LANGUAGES=en,zh_CN#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#------------------------------------------------------------------------------
ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/db_1#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base. 
#------------------------------------------------------------------------------
ORACLE_BASE=/u01/app/oracle#------------------------------------------------------------------------------
# Specify the installation edition of the component.                        
#                                                             
# The value should contain only one of these choices.        
#   - EE     : Enterprise Edition                                
#   - SE     : Standard Edition                                  
#   - SEONE  : Standard Edition One
#   - PE     : Personal Edition (WINDOWS ONLY)
#------------------------------------------------------------------------------
oracle.install.db.InstallEdition=EE#------------------------------------------------------------------------------
# This variable is used to enable or disable custom install and is considered
# only if InstallEdition is EE.
#
# true  : Components mentioned as part of 'optionalComponents' property
#         are considered for install.
# false : Value for 'optionalComponents' is not considered.
#------------------------------------------------------------------------------
oracle.install.db.EEOptionsSelection=false#------------------------------------------------------------------------------
# This variable is considered only if 'EEOptionsSelection' is set to true. 
#
# Description: List of Enterprise Edition Options you would like to enable.
#
#              The following choices are available. You may specify any
#              combination of these choices.  The components you choose should
#              be specified in the form "internal-component-name:version"
#              Below is a list of components you may specify to enable.
#        
#              oracle.oraolap:11.2.0.4.0 - Oracle OLAP
#              oracle.rdbms.dm:11.2.0.4.0 - Oracle Data Mining
#              oracle.rdbms.dv:11.2.0.4.0 - Oracle Database Vault
#              oracle.rdbms.lbac:11.2.0.4.0 - Oracle Label Security
#              oracle.rdbms.partitioning:11.2.0.4.0 - Oracle Partitioning
#              oracle.rdbms.rat:11.2.0.4.0 - Oracle Real Application Testing
#------------------------------------------------------------------------------
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0###############################################################################
#                                                                             #
# PRIVILEGED OPERATING SYSTEM GROUPS                                  	      #
# ------------------------------------------                                  #
# Provide values for the OS groups to which OSDBA and OSOPER privileges       #
# needs to be granted. If the install is being performed as a member of the   #		
# group "dba", then that will be used unless specified otherwise below.	      #
#                                                                             #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System.                                                           #
#                                                                             #
################################################################################------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.DBA_GROUP=dba#------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OPER_GROUP=dba#------------------------------------------------------------------------------
# Specify the cluster node names selected during the installation.
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
oracle.install.db.CLUSTER_NODES=#------------------------------------------------------------------------------
# This variable is used to enable or disable RAC One Node install.
#
#   - true  : Value of RAC One Node service name is used.
#   - false : Value of RAC One Node service name is not used.
#
# If left blank, it will be assumed to be false
#------------------------------------------------------------------------------
oracle.install.db.isRACOneInstall=#------------------------------------------------------------------------------
# Specify the name for RAC One Node Service. 
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName=#------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
#   - GENERAL_PURPOSE/TRANSACTION_PROCESSING             
#   - DATA_WAREHOUSE                                
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=#------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name. 
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=#------------------------------------------------------------------------------
# Specify the Starter Database SID.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=#------------------------------------------------------------------------------
# Specify the Starter Database character set.
#                                              
# It can be one of the following:
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=AL32UTF8#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management 
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=true#------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available 
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=#------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=false#------------------------------------------------------------------------------
# This variable includes enabling audit settings, configuring password profiles
# and revoking some grants to public. These settings are provided by default. 
# These settings may also be disabled.    
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableSecuritySettings=true###############################################################################
#                                                                             #
# Passwords can be supplied for the following four schemas in the	      #
# starter database:      						      #
#   SYS                                                                       #
#   SYSTEM                                                                    #
#   SYSMAN (used by Enterprise Manager)                                       #
#   DBSNMP (used by Enterprise Manager)                                       #
#                                                                             #
# Same password can be used for all accounts (not recommended) 		      #
# or different passwords for each account can be provided (recommended)       #
#                                                                             #
################################################################################------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=#-------------------------------------------------------------------------------
# Specify the SYSMAN password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSMAN=#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=#-------------------------------------------------------------------------------
# Specify the management option to be selected for the starter database. 
# It can be one of the following:
#   - GRID_CONTROL
#   - DB_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.control=DB_CONTROL#-------------------------------------------------------------------------------
# Specify the Management Service to use if Grid Control is selected to manage 
# the database.      
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=###############################################################################
#                                                                             #
# SPECIFY BACKUP AND RECOVERY OPTIONS                                 	      #
# ------------------------------------		                              #
# Out-of-box backup and recovery options for the database can be mentioned    #
# using the entries below.						      #	
#                                                                             #
################################################################################------------------------------------------------------------------------------
# This variable is to be set to false if automated backup is not required. Else 
# this can be set to true.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.enable=false#------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if 
# automated backups are enabled, a job will be scheduled to run daily to backup 
# the database. This job will run as the operating system user that is 
# specified in this variable.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.osuid=#-------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if 
# automated backups are enabled, a job will be scheduled to run daily to backup 
# the database. This job will run as the operating system user specified by the 
# above entry. The following entry stores the password for the above operating 
# system user.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.ospwd=#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
#   - FILE_SYSTEM_STORAGE
#   - ASM_STORAGE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.         
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE 
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=#-------------------------------------------------------------------------------
# Specify the backup and recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE 
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.                  
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE 
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
#
#  Example   : MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
#
# Example    : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
#
# Example    : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=#------------------------------------------------------------------------------
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise. 
#
# The value can be either true or false. If left blank it will be assumed
# to be false.
#
# Example    : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example    : PROXY_HOST=proxy.domain.com 
#------------------------------------------------------------------------------
PROXY_HOST=#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example    : PROXY_PORT=25 
#------------------------------------------------------------------------------
PROXY_PORT=#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD 
# blank if your proxy server requires no authentication.
#
# Example    : PROXY_USER=username 
#------------------------------------------------------------------------------
PROXY_USER=#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD  
# blank if your proxy server requires no authentication.
#
# Example    : PROXY_PWD=password 
#------------------------------------------------------------------------------
PROXY_PWD=#------------------------------------------------------------------------------
# Specify the proxy realm. This value is used if auto-updates option is selected.
#
# Example    : PROXY_REALM=metalink 
#------------------------------------------------------------------------------
PROXY_REALM=#------------------------------------------------------------------------------
# Specify the Oracle Support Hub URL. 
# 
# Example    : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=#------------------------------------------------------------------------------
# Specify the auto-updates option. It can be one of the following:
#   - MYORACLESUPPORT_DOWNLOAD
#   - OFFLINE_UPDATES
#   - SKIP_UPDATES
#------------------------------------------------------------------------------
oracle.installer.autoupdates.option=SKIP_UPDATES
#------------------------------------------------------------------------------
# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
# the updates are to be downloaded.
# In case OFFLINE_UPDATES option is chosen, specify the location where the updates 
# are present.
#------------------------------------------------------------------------------
oracle.installer.autoupdates.downloadUpdatesLoc=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username which has the patches download privileges  
# to be used for software updates.
#  Example   : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_USERNAME=#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password which has the patches download privileges  
# to be used for software updates.
#
# Example    : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

8.2 netca.rsp

###################################################################### 
## Copyright(c) 1998, 2011 Oracle Corporation. All rights reserved. ## 
##                                                                  ## 
## Specify values for the variables listed below to customize your  ## 
## installation.                                                    ## 
##                                                                  ## 
## Each variable is associated with a comment. The comment          ## 
## identifies the variable type.                                    ## 
##                                                                  ## 
## Please specify the values in the following format:               ## 
##                                                                  ## 
##         Type         Example                                     ## 
##         String       "Sample Value"                              ## 
##         Boolean      True or False                               ## 
##         Number       1000                                        ## 
##         StringList   {"String value 1","String Value 2"}         ## 
##                                                                  ## 
######################################################################
##                                                                  ## 
## This sample response file causes the Oracle Net Configuration    ##
## Assistant (NetCA) to complete an Oracle Net configuration during ##
## a custom install of the Oracle11g server which is similar to     ##
## what would be created by the NetCA during typical Oracle11g      ##
## install. It also documents all of the NetCA response file        ##
## variables so you can create your own response file to configure  ##
## Oracle Net during an install the way you wish.                   ##
##                                                                  ## 
###################################################################### [GENERAL]
RESPONSEFILE_VERSION="11.2"
CREATE_TYPE="CUSTOM"#-------------------------------------------------------------------------------
# Name       : SHOW_GUI
# Datatype   : Boolean
# Description: This variable controls appearance/suppression of the NetCA GUI,
# Pre-req    : N/A
# Default    : TRUE
# Note:
# This must be set to false in order to run NetCA in silent mode. 
# This is a substitute of "/silent" flag in the NetCA command line.
# The command line flag has precedence over the one in this response file.
# This feature is present since 10.1.0.3.
#-------------------------------------------------------------------------------
#SHOW_GUI=false#-------------------------------------------------------------------------------
# Name       : LOG_FILE
# Datatype   : String
# Description: If present, NetCA will log output to this file in addition to the
#	       standard out.
# Pre-req    : N/A
# Default    : NONE
# Note:
# 	This is a substitute of "/log" in the NetCA command line.
# The command line argument has precedence over the one in this response file.
# This feature is present since 10.1.0.3.
#-------------------------------------------------------------------------------
#LOG_FILE=""/oracle11gHome/network/tools/log/netca.log""[oracle.net.ca]
#INSTALLED_COMPONENTS;StringList;list of installed components
# The possible values for installed components are:
# "net8","server","client","aso", "cman", "javavm" 
INSTALLED_COMPONENTS={"server","net8","javavm"}#INSTALL_TYPE;String;type of install
# The possible values for install type are:
# "typical","minimal" or "custom"
INSTALL_TYPE=""typical""#LISTENER_NUMBER;Number;Number of Listeners
# A typical install sets one listener 
LISTENER_NUMBER=1#LISTENER_NAMES;StringList;list of listener names
# The values for listener are:
# "LISTENER","LISTENER1","LISTENER2","LISTENER3", ...
# A typical install sets only "LISTENER" 
LISTENER_NAMES={"LISTENER"}#LISTENER_PROTOCOLS;StringList;list of listener addresses (protocols and parameters separated by semicolons)
# The possible values for listener protocols are:
# "TCP;1521","TCPS;2484","NMP;ORAPIPE","IPC;IPCKEY","VI;1521" 
# A typical install sets only "TCP;1521" 
LISTENER_PROTOCOLS={"TCP;1521"}#LISTENER_START;String;name of the listener to start, in double quotes
LISTENER_START=""LISTENER""#NAMING_METHODS;StringList;list of naming methods
# The possible values for naming methods are: 
# LDAP, TNSNAMES, ONAMES, HOSTNAME, NOVELL, NIS, DCE
# A typical install sets only: "TNSNAMES","ONAMES","HOSTNAMES" 
# or "LDAP","TNSNAMES","ONAMES","HOSTNAMES" for LDAP
NAMING_METHODS={"TNSNAMES","ONAMES","HOSTNAME"}#NOVELL_NAMECONTEXT;String;Novell Directory Service name context, in double quotes
# A typical install does not use this variable. 
#NOVELL_NAMECONTEXT = ""NAMCONTEXT""#SUN_METAMAP;String; SUN meta map, in double quotes
# A typical install does not use this variable. 
#SUN_METAMAP = ""MAP""#DCE_CELLNAME;String;DCE cell name, in double quotes
# A typical install does not use this variable. 
#DCE_CELLNAME = ""CELL""#NSN_NUMBER;Number;Number of NetService Names
# A typical install sets one net service name
NSN_NUMBER=1#NSN_NAMES;StringList;list of Net Service names
# A typical install sets net service name to "EXTPROC_CONNECTION_DATA"
NSN_NAMES={"EXTPROC_CONNECTION_DATA"}#NSN_SERVICE;StringList;Oracle11g database's service name
# A typical install sets Oracle11g database's service name to "PLSExtProc"
NSN_SERVICE={"PLSExtProc"}#NSN_PROTOCOLS;StringList;list of coma separated strings of Net Service Name protocol parameters
# The possible values for net service name protocol parameters are:
# "TCP;HOSTNAME;1521","TCPS;HOSTNAME;2484","NMP;COMPUTERNAME;ORAPIPE","VI;HOSTNAME;1521","IPC;IPCKEY"  
# A typical install sets parameters to "IPC;EXTPROC"
NSN_PROTOCOLS={"TCP;HOSTNAME;1521"}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/138703.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

鸿蒙原生应用开发-DevEco Studio远程模拟器的使用

使用单设备模拟器运行应用/服务 Remote Emulator支持Phone、Wearable、Tablet、TV等设备类型&#xff0c;但不同区域&#xff08;开发者帐号注册地&#xff09;支持的设备类型可能不同&#xff0c;请以实际可申请的设备类型为准。 Remote Emulator中的单设备模拟器&#xff08…

图扑智慧农业:农林牧数据可视化监控平台

数字农业是一种现代农业方式&#xff0c;它将信息作为农业生产的重要元素&#xff0c;并利用现代信息技术进行农业生产过程的实时可视化、数字化设计和信息化管理。能将信息技术与农业生产的各个环节有机融合&#xff0c;对于改造传统农业和改变农业生产方式具有重要意义。 图…

语音识别与自然语言处理(NLP):技术前沿与未来趋势

语音识别与自然语言处理&#xff08;NLP&#xff09;&#xff1a;技术前沿与未来趋势 随着科技的快速发展&#xff0c;语音识别与自然语言处理&#xff08;NLP&#xff09;技术逐渐成为人工智能领域的研究热点。这两项技术的结合&#xff0c;使得机器能够更好地理解和处理人类语…

Leetcode Hot100之六:42.接雨水

题目 给定 n 个非负整数表示每个宽度为 1 的柱子的高度图&#xff0c;计算按此排列的柱子&#xff0c;下雨之后能接多少雨水。 提示&#xff1a; n height.length 1 < n < 2 * 10^4 0 < height[i] < 10^5 思路 暴力循环&#xff1a; 原本的思路是左边界i从左到…

C语言--有3个候选人,每个选民只能投票选一人,要求编一个统计选票的程序,先后输入被选人的名字,最后输出各人得票结果。

一.解体思路 设一个结构体数组&#xff0c;数组中包含3个元素; 每个元素中的信息应包括候选人的姓名和得票数;输入被选人的姓名&#xff0c;然后与数组元素中的“姓名”成员比较&#xff0c;如果相同&#xff0c;就给这个元素中的“得票数”成 员的值加1;输出所有元素的信息。 …

[Linux打怪升级之路]-信号的保存和递达

前言 作者&#xff1a;小蜗牛向前冲 名言&#xff1a;我可以接受失败&#xff0c;但我不能接受放弃 如果觉的博主的文章还不错的话&#xff0c;还请点赞&#xff0c;收藏&#xff0c;关注&#x1f440;支持博主。如果发现有问题的地方欢迎❀大家在评论区指正 目录 一、信号的保…

设计模式是测试模式咩?

设计模式和测试模式概述 软件的生命周期为什么要进行测试&#xff08;测试的目的&#xff09;&#xff1f;软件的设计模式1. **瀑布模型**3. 增量和迭代模型4. 敏捷模型5. 喷泉模型 测试模型V模型W模型 一个应用程序从出生到“死亡”会经过非常漫长的流程…… 软件的生命周期 …

从windows iso文件中提取install.wim

1、首先从微软官方下载需要的windows镜像 https://www.microsoft.com/zh-cn/software-download/windows10/ 2、在下载的iso文件右键&#xff0c;打开压缩包&#xff0c;在sources文件夹下&#xff0c;应该就可以看到install.wim了。但似乎在最新的win10版本&#xff0c;微软采…

Vue3使用vue-print-nb插件打印功能

插件官网地址https://www.npmjs.com/package/vue-print-nb 效果展示: 打印效果 根据不同的Vue版本安装插件 //Vue2.0版本安装方法 npm install vue-print-nb --save pnpm install vue-print-nb --save yarn add vue-print-nb//Vue3.0版本安装方法&#xff1a; npm install vue3…

低代码平台,业务开发的“银弹”

目录 一、为什么需要低代码平台 二、低代码平台的搭建能力 三、低代码其他能力 四、写在最后 随着互联网和信息技术的快速发展&#xff0c;各行各业都在积极拥抱数字化转型。在这个过程中&#xff0c;软件开发成为企业实现数字化转型的关键环节。然而&#xff0c;传统的软件开发…

C语言 每日一题 PTA 11.8 day14

1.矩阵A乘以B 给定两个矩阵A和B&#xff0c;要求你计算它们的乘积矩阵AB。需要注意的是&#xff0c;只有规模匹配的矩阵才可以相乘。 即若A有Ra​行、Ca列&#xff0c;B有Rb行、Cb列&#xff0c;则只有Ca与Rb​相等时&#xff0c;两个矩阵才能相乘。 输入格式&#xff1a; 输入…

【Java】IntelliJ IDEA使用JDBC连接MySQL数据库并写入数据

目录 0 准备工作1 创建Java项目2 添加JDBC 驱动程序3 创建数据库连接配置文件4 创建一个 Java 类来连接和操作数据库5 运行应用程序 在 IntelliJ IDEA 中连接 MySQL 数据库并将数据存储在数据表中&#xff0c;使用 Java 和 JDBC&#xff08;Java Database Connectivity&#xf…

Android拖放startDragAndDrop拖拽Glide加载堆叠圆角图,Kotlin(5)

Android拖放startDragAndDrop拖拽Glide加载堆叠圆角图&#xff0c;Kotlin&#xff08;5&#xff09; import android.content.ClipData import android.graphics.Canvas import android.graphics.Point import android.os.Bundle import android.util.Log import android.view.…

Echarts柱状体实现滚动条动态滚动

当我们柱状图中X轴数据太多的时候&#xff0c;会自动把柱形的宽度挤的很细&#xff0c;带来的交互非常不好&#xff0c;因此就有一个属性来解决&#xff1a;dataZoom 第一种简易的版本&#xff0c;横向滚动。 dataZoom: {show: true, // 为true 滚动条出现realtime: true, // 实…

RabbitMQ集群配置以及负载均衡配置

RabbitMQ集群配置以及负载均衡配置 环境配置集群配置安装rabbitmq启动rabbitmq开启远程登录添加用户并且授权用户添加数据存放目录和日志存放目录查看端口拷⻉erlang.cookie将mq-2、mq-3作为内存节点加⼊mq-1节点集群中查看集群状态添加一个新的队列 RabbitMq负载均衡配置-HAPr…

【ChatGLM2-6B】小白入门及Docker下部署

【ChatGLM2-6B】小白入门及Docker下部署 一、简介1、ChatGLM2是什么2、组成部分3、相关地址 二、基于Docker安装部署1、前提2、CentOS7安装NVIDIA显卡驱动1&#xff09;查看服务器版本及显卡信息2&#xff09;相关依赖安装3&#xff09;显卡驱动安装 2、 CentOS7安装NVIDIA-Doc…

自主开发刷题应用网站H5源码(无需后端无需数据库)

该应用使用JSON作为题库的存储方式&#xff0c;层次清晰、结构简单易懂。 配套的word模板和模板到JSON转换工具可供使用&#xff0c;方便将题库从word格式转换为JSON格式。 四种刷题模式包括顺序刷题、乱序刷题、错题模式和背题模式&#xff0c;可以根据自己的需求选择适合的模…

计网----累积应答,TCP的流量控制--滑动窗口,粘包问题,心跳机制,Nagle算法,拥塞控制,TCP协议总结,UDP和TCP对比,中介者模式

计网----累积应答&#xff0c;TCP的流量控制–滑动窗口&#xff0c;粘包问题&#xff0c;心跳机制&#xff0c;Nagle算法&#xff0c;拥塞控制&#xff0c;TCP协议总结&#xff0c;UDP和TCP对比&#xff0c;中介者模式 一.累积应答 1.什么是累计应答 每次发一些包&#xff0…

Leetcode刷题详解—— 组合总和

1. 题目链接&#xff1a;39. 组合总和 2. 题目描述&#xff1a; 给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target &#xff0c;找出 candidates 中可以使数字和为目标数 target 的 所有 不同组合 &#xff0c;并以列表形式返回。你可以按 任意顺序 返回这些…

uniapp蓝牙搜索设备并列表展示

1.需求&#xff1a;3.0的桩可以值扫码通过蓝牙名字直接绑定&#xff0c;2.0的桩二维码无蓝牙名称则需通过蓝牙列表来绑定 2.碰到问题 1.0 蓝牙列表需要去重&#xff08;蓝牙列表通过deviceId去重再放进展示列表&#xff09; 2.0页面会卡顿&#xff08;调用my.stopBluetoothDevi…