Oracle迁移(RAC变单机模式)

news2024/11/20 0:31:51

1.升级内核

systemctl stop firewalld
systemctl disable firewalld

rpm --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 -y

vi /etc/default/grub
# 把GRUB_DEFAULT=saved改成GRUB_0=saved
grub2-mkconfig -o /boot/grub2/grub.cfg

awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg
awk -F\' '$1=="menuentry " {print $2}' /boot/grub2/grub.cfg

grub2-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 cwfk01

vi /etc/hosts
10.10.127.16 cwfk01

grep SwapTotal /proc/meminfo
free
dd if=/dev/zero of=/home/swap bs=1M count=3072

mkswap /home/swap
swapon /home/swap
chmod -R 0600 /home/swap
free –h
echo  "/home/swap   swap  swap  defaults  0  0" >>  /etc/fstab

sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config
cat /etc/selinux/config
setenforce 0
systemctl stop firewalld
systemctl disable firewalld

yum -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 wget

rpm -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 = 30198988

cat << 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
EOF

sysctl -p

cat << EOF >> /etc/pam.d/login
session  required   /lib64/security/pam_limits.so
session  required   pam_limits.so
EOF

cat  << EOF >> /etc/profile
if [ \$USER = "oracle" ]; then
        if [ \$SHELL = "/bin/ksh" ]; then
                ulimit -p 16384
                ulimit -n 65536
        else
                ulimit -u 16384 -n 65536
        fi
fi
EOF

cat /etc/profile

source /etc/profile

cat <<EOF>> /etc/csh.login

if ( \$USER == "oracle") then
        limit maxproc 16384
        limit descriptors 65536
endif
EOF

cat /etc/csh.login

#添加用户
groupadd oinstall
groupadd dba
useradd -g dba -m oracle
usermod -a -G oinstall oracle
passwd oracle
id oracle

mkdir -p /u01/app/{oracle,inventory,src}
chown -R oracle.oinstall /u01/app
ll /u01/app
yum install -y tree
tree /u01/app

cat << 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'
EOF

cat ~/.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.rsp

exit
ss -ntl
yum install -y net-tools
netstat -tnulp | grep 1521

su - oracle
lsnrctl start
lsnrctl status

3.备份源数据库

mkdir -p /backup/{script,rman_back2023}
chown -R oracle:oinstall /backup

su - 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;
EOF

chmod +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/archive

chown -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=2976m

EOF

cat /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.ora


SQL> 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.coloradmin.cn/o/1195973.html

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

相关文章

【C++】STL的基本用法

目录结构 1. STL概念 1.2 常见容器 1.3 六大组件 2. STL容器之vector 1. vector 2. 基本用法示例 3. STL容器之map 1. map 2. 基本用法示例 1. STL概念 C中的STL是指标准模板库的缩写。STL提供了一组通用的模板类和函数&#xff0c;用于实现常见的数据结构和算法&…

Clickhouse学习笔记(3)—— Clickhouse表引擎

前言&#xff1a; 有关Clickhouse的前置知识详见&#xff1a; 1.ClickHouse的安装启动_clickhouse后台启动_THE WHY的博客-CSDN博客 2.ClickHouse目录结构_clickhouse 目录结构-CSDN博客 Cickhouse创建表时必须指定表引擎 表引擎&#xff08;即表的类型&#xff09;决定了&…

【MATLAB源码-第75期】基于模拟退火算法(SA)的栅格路径规划,输出做短路径图和适应度曲线。

操作环境&#xff1a; MATLAB 2022a 1、算法描述 模拟退火算法是一种启发式优化算法&#xff0c;通常用于解决组合优化问题&#xff0c;例如旅行商问题和图着色问题。它模拟了固体材料在退火过程中逐渐冷却达到稳定状态的行为&#xff0c;以寻找问题的全局最优解。 以下是模…

【MATLAB源码-第76期】基于模拟退火算法(SA)的无人机三维地图路径规划,输出最短路径和适应度曲线

操作环境&#xff1a; MATLAB 2022a 1、算法描述 模拟退火算法是一种启发式优化算法&#xff0c;通常用于解决组合优化问题&#xff0c;例如旅行商问题和图着色问题。它模拟了固体材料在退火过程中逐渐冷却达到稳定状态的行为&#xff0c;以寻找问题的全局最优解。 以下是模…

Unity 场景优化策略

Unity 场景优化策略 GPU instancing 使用GPU Instancing可以将多个网格相同、材质相同、材质属性可以不同的物体合并为一个批次&#xff0c;从而减少Draw Calls的次数。这可以提高性能和渲染效率。 GPU instancing可用于绘制在场景中多次出现的几何体&#xff0c;例如树木或…

软件工程的舞台上,《人月神话》的美学纷飞

前言&#xff1a; Hello大家好&#xff0c;我是Dream。 今天给大家分享一本书&#xff1a;《人月神话》——软件工程的经典之作。 《人月神话》是一本具有深远影响力的软件工程著作&#xff0c;无论是软件开发者、管理者还是学习软件工程的人士&#xff0c;都能从中获得宝贵的启…

电脑想要微信多开——打开多个微信的必胜法宝!

一个不知名大学生&#xff0c;江湖人称菜狗 original author: Jacky Li Email : 3435673055qq.com Time of completion&#xff1a;2023.11.11 Last edited: 2023.11.11 导读&#xff1a;在生活当中经常遇到工作和生活相撞的事情&#xff0c;导致在处理私人的事情同时不得不处理…

redis学习指南--概览篇

redis怎么学 官方学习网站&#xff1a; redis.cn 1、整体了解redis redis是一个内存数据库、kv数据库&#xff0c;数据结构数据库&#xff0c;redis中数据都是存储在redis中&#xff0c;可以通过key查找value&#xff0c;value可以有多种数据结构&#xff0c;有&#xff1a;…

牛客、赛码网OJ调试(全)

现在无论开发还是测试&#xff0c;面试的时候都需要考察代码能力。 从测试的职业发展来看&#xff0c;现在市场上对于纯功能测试的需求很少&#xff0c;招聘方均要求面试者一方面具备测试基础能力&#xff0c;也要求有点代码能力。 对于测试来说&#xff0c;除了测试开发&#…

C语言计算字符串中数字字符的个数

文章目录 1-9题前言例题10例题11答案例题10答案答案1答案2 例题11答案 1-9题 C语言基础例题1-3题-指针篇 C语言基础例题4-5题-二维数组篇 C语言基础例题6-7题-结构体篇 C语言基础例题8-9题-大作业篇 前言 下列题目需要学习字符串、指针后才可练习。 例题10 请编写一个程序…

【Java】I/O流—转换流、序列化流的初学者指南及RandomAccessFile类

&#x1f33a;个人主页&#xff1a;Dawn黎明开始 &#x1f380;系列专栏&#xff1a;Java ⭐每日一句&#xff1a;我不在意你曾堕落&#xff0c;我只在意你是否会崛起 &#x1f4e2;欢迎大家&#xff1a;关注&#x1f50d;点赞&#x1f44d;评论&#x1f4dd;收藏⭐️ 文章目录…

【算法与设计模式】

一、数据结构与算法 1、算法性能评估 时间复杂度、空间复杂度 2、数据结构 数组与列表 队列 堆栈 链表 二叉树 多叉树 递归算法 二、设计模式 1、单例 &#xff08;1&#xff09;GIL&#xff1a;线程互斥锁。保证同一时刻只有一个线程在进行。 &#xff08;2&#xff09…

嵌入式CTS测试

1.概述 CTS是一套开源测试套件&#xff0c;可以实现对OpenGL、ES、OpenCL、Vulkan的兼容性测试。OpenGL ES CTS的测试集&#xff0c;其测试用例涵盖了各种OpenGL ES 的功能和特性。这些功能包括着色器编译和链接、图元绘制、纹理操作、帧缓冲操作、深度测试、模板测试以及其他一…

中国智能驾驶的“突围赛”打响,这家本土厂商为何能成为“先行者”?

中国本土厂商正在成为全球智能汽车产业链的“核心力量”。 根据《高工智能汽车研究院》数据显示&#xff0c;今年1-6月&#xff0c;自主品牌标配L2&#xff08;含L2&#xff09;级辅助驾驶交付新车155.34万辆。其中&#xff0c;搭载中国本土智能驾驶解决方案提供商&#xff08…

Clickhouse 学习笔记(6)—— ClickHouse 分片集群

前置知识&#xff1a; Clickhouse学习笔记&#xff08;5&#xff09;—— ClickHouse 副本-CSDN博客 与副本对比&#xff1a; 副本虽然能够提高数据的可用性&#xff0c;降低丢失风险&#xff0c;但是每台服务器实际上必须容纳全量数据&#xff0c;对数据的横向扩容没有解决 …

自适应AI chatGPT智能聊天创作官网html源码/最新AI创作系统/ChatGPT商业版网站源码

源码简介&#xff1a; 自适应AI chatGPT智能聊天创作官网html源码&#xff0c;这是最新AI创作系统&#xff0c;作为ChatGPT商业版网站源码&#xff0c;它是支持创作、编写、翻译、写代码等。是一个智能聊天系统项目源码。 注意&#xff1a;这个只是网站html源码&#xff0c;要…

leetcode 刷题 - 有效三角形个数 - 长度最小的子数组 - 无重复字符的最长子串

l611. 有效三角形的个数 - 力扣&#xff08;LeetCode&#xff09; 给定一个包含非负整数的数组 nums &#xff0c;返回其中可以组成三角形三条边的三元组个数。 示例 1:输入: nums [2,2,3,4] 输出: 3 解释:有效的组合是: 2,3,4 (使用第一个 2) 2,3,4 (使用第二个 2) 2,2,3示…

【vue】vue项目批量下载二维码,且打包成压缩包.

一. 先看效果演示 二. 下插件 npm i vue-qr -S // 二维码显示插件 我的版本^4.0.9 npm i html2canvas -S // 将二维码转为图片 我的版本^1.4.1 npm i file-saver -S // 下载图片 我的版本^2.0.5 npm i jszip -S // 打包成压缩包 我的版本^3.10.1 // 一次性下载 npm i vue-qr h…

利用中断做数码表

功能要求:1.按下KEY1&#xff0c;显示数字开始每0.5秒加1&#xff0c;加到&#xff08;10学号&#xff09;返回0&#xff0c;0显示2秒后继续开始重复加1。 2. 任何时候按下KEY2数字清零&#xff0c;并停止加1。 3. KEY1和KEY2分别采用查询和外部中断方式。 要求程序中有硬件…

最新宝塔面板第三方云端站点程序源码/第三方宝塔面板PHP源码/全开源ThinkPHP框架

源码简介&#xff1a; 实现宝塔面板第三方云端站点程序源码,这个是第三方宝塔面板 btcloud PHP源码&#xff0c;它还有云端使用记录、IP黑白名单、定时任务等功能。 这是一个使用PHP开发的宝塔面板第三方云端站点程序。 您可以利用此程序搭建属于自己的宝塔面板第三方云端&a…