1[root@lucifer soft]# ./OracleShellInstall -lf enp0s5 `# local ip ifname`\
2> -n lucifer `# hostname`\
3> -op oracle `# oracle password`\
4> -d /u01 `# software base dir`\
5> -ord /oradata `# data dir`\
6-dp oracle `# sys/system password`\
7-ds AL32UTF8 `# database character`\
8-ns AL16UTF16 `# national character`\
9-redo 100 `# redo size`\
10-opa 33477185 `# oracle PSU/RU`\
11-opd Y `# optimize db`> -o oradb `# dbname`\
12> -dp oracle `# sys/system password`\
13> -ds AL32UTF8 `# database character`\
14> -ns AL16UTF16 `# national character`\
15> -redo 100 `# redo size`\
16> -opa 33477185 `# oracle PSU/RU`\
17> -opd Y `# optimize db`
18
19请选择安装模式 [单机(si)/集群(rac)] :
20si
21
22数据库安装模式: single
23
24
25请选择数据库版本 [11/12/19/21] :
2611
27
28数据库版本: 11
29
30
31#==============================================================#
32配置本地 YUM 源
33#==============================================================#
34
35[BaseOS]
36name=BaseOS
37baseurl=file:///mnt/BaseOS
38enabled=1
39gpgcheck=0
40[AppStream]
41name=AppStream
42baseurl=file:///mnt/AppStream
43enabled=1
44gpgcheck=0
45
46
47#==============================================================#
48禁用防火墙
49#==============================================================#
50
51● firewalld.service - firewalld - dynamic firewall daemon
52 Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
53 Active: inactive (dead)
54 Docs: man:firewalld(1)
55
56Feb 27 10:22:31 lucifer systemd[1]: Starting firewalld - dynamic firewall daemon...
57Feb 27 10:22:32 lucifer systemd[1]: Started firewalld - dynamic firewall daemon.
58Feb 27 10:22:33 lucifer firewalld[973]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now.
59Feb 27 11:00:48 lucifer systemd[1]: Stopping firewalld - dynamic firewall daemon...
60Feb 27 11:00:48 lucifer systemd[1]: firewalld.service: Succeeded.
61Feb 27 11:00:48 lucifer systemd[1]: Stopped firewalld - dynamic firewall daemon.
62
63#==============================================================#
64禁用 SELinux
65#==============================================================#
66
67SELINUX=disabled
68SELINUXTYPE=targeted
69
70#==============================================================#
71YUM 静默安装依赖包
72#==============================================================#
73
74warning: rpmdb: BDB2053 Freeing read locks for locker 0xae: 1765/140054324559808
75warning: rpmdb: BDB2053 Freeing read locks for locker 0xb0: 1765/140054324559808
76bc-1.07.1-5.el8.x86_64
77binutils-2.30-93.el8.x86_64
78package compat-libcap1 is not installed
79package compat-libstdc++-33 is not installed
80gcc-8.4.1-1.el8.x86_64
81gcc-c++-8.4.1-1.el8.x86_64
82elfutils-libelf-0.182-3.el8.x86_64
83elfutils-libelf-devel-0.182-3.el8.x86_64
84glibc-2.28-151.el8.x86_64
85glibc-devel-2.28-151.el8.x86_64
86libaio-0.3.112-1.el8.x86_64
87libaio-devel-0.3.112-1.el8.x86_64
88libgcc-8.4.1-1.el8.x86_64
89libstdc++-8.4.1-1.el8.x86_64
90libstdc++-devel-8.4.1-1.el8.x86_64
91libxcb-1.13.1-1.el8.x86_64
92libX11-1.6.8-4.el8.x86_64
93libXau-1.0.9-3.el8.x86_64
94libXi-1.7.10-1.el8.x86_64
95libXrender-0.9.10-7.el8.x86_64
96make-4.2.1-10.el8.x86_64
97net-tools-2.0-0.52.20160912git.el8.x86_64
98smartmontools-7.1-1.el8.x86_64
99sysstat-11.7.3-5.el8.x86_64
100e2fsprogs-1.45.6-1.el8.x86_64
101e2fsprogs-libs-1.45.6-1.el8.x86_64
102unzip-6.0-44.el8.x86_64
103openssh-clients-8.0p1-5.el8.x86_64
104readline-7.0-10.el8.x86_64
105readline-devel-7.0-10.el8.x86_64
106psmisc-23.1-5.el8.x86_64
107ksh-20120801-254.el8.x86_64
108nfs-utils-2.3.3-41.el8.x86_64
109tar-1.30-5.el8.x86_64
110device-mapper-multipath-0.8.4-10.el8.x86_64
111avahi-0.7-20.el8.x86_64
112package ntp is not installed
113chrony-3.5-2.el8.x86_64
114libXtst-1.2.3-7.el8.x86_64
115libXrender-devel-0.9.10-7.el8.x86_64
116fontconfig-devel-2.13.1-3.el8.x86_64
117policycoreutils-2.9-14.el8.x86_64
118package policycoreutils-python is not installed
119policycoreutils-python-utils-2.9-14.el8.noarch
120librdmacm-32.0-4.el8.x86_64
121package libnsl* is not installed
122libibverbs-32.0-4.el8.x86_64
123package compat-openssl10) is not installed
124
125#==============================================================#
126配置主机名
127#==============================================================#
128
129lucifer
130
131#==============================================================#
132配置 /etc/hosts 文件
133#==============================================================#
134
135127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
136::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
137
138## OracleBegin
139## Public IP
14010.211.55.200 lucifer
141
142#==============================================================#
143创建用户和组
144#==============================================================#
145
146oracle 用户:
147
148uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)
149
150
151#==============================================================#
152配置 Avahi-daemon 服务
153#==============================================================#
154
155● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
156 Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled)
157 Active: inactive (dead)
158
159Feb 27 10:22:36 lucifer avahi-daemon[923]: Registering new address record for fdb2:2c26:f4e4:0:21c:42ff:febd:df2a on enp0s5.*.
160Feb 27 10:22:36 lucifer avahi-daemon[923]: Withdrawing address record for fe80::21c:42ff:febd:df2a on enp0s5.
161Feb 27 11:01:38 lucifer systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
162Feb 27 11:01:38 lucifer avahi-daemon[923]: Got SIGTERM, quitting.
163Feb 27 11:01:38 lucifer avahi-daemon[923]: Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
164Feb 27 11:01:38 lucifer avahi-daemon[923]: Leaving mDNS multicast group on interface enp0s5.IPv6 with address fdb2:2c26:f4e4:0:21c:42ff:febd:df2a.
165Feb 27 11:01:38 lucifer avahi-daemon[923]: Leaving mDNS multicast group on interface enp0s5.IPv4 with address 10.211.55.200.
166Feb 27 11:01:38 lucifer avahi-daemon[923]: avahi-daemon 0.7 exiting.
167Feb 27 11:01:38 lucifer systemd[1]: avahi-daemon.service: Succeeded.
168Feb 27 11:01:38 lucifer systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
169
170#==============================================================#
171配置透明大页 && NUMA && 磁盘 IO 调度器
172#==============================================================#
173
174args="ro resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet numa=off transparent_hugepage=never elevator=deadline $tuned_params"
175-resume=/dev/mapper/rhel-swap
176-args="ro
177args="ro resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet numa=off transparent_hugepage=never elevator=deadline"
178-elevator=deadline"
179-transparent_hugepage=never
180
181#==============================================================#
182配置 sysctl.conf
183#==============================================================#
184
185fs.aio-max-nr = 1048576
186fs.file-max = 6815744
187kernel.shmall = 2097152
188kernel.shmmax = 8341315583
189kernel.shmmni = 4096
190kernel.sem = 250 32000 100 128
191net.ipv4.ip_local_port_range = 9000 65500
192net.core.rmem_default = 262144
193net.core.rmem_max = 4194304
194net.core.wmem_default = 262144
195net.core.wmem_max = 1048576
196vm.min_free_kbytes = 32583
197net.ipv4.conf.enp0s5.rp_filter = 1
198kernel.numa_balancing = 0
199
200#==============================================================#
201配置 nsysctl.conf
202#==============================================================#
203
204NOZEROCONF=yes
205
206#==============================================================#
207配置 RemoveIPC
208#==============================================================#
209
210[Login]
211RemoveIPC=no
212
213#==============================================================#
214配置 /etc/security/limits.conf 和 /etc/pam.d/login
215#==============================================================#
216
217查看 /etc/security/limits.conf
218
219oracle soft nofile 1024
220oracle hard nofile 65536
221oracle soft stack 10240
222oracle hard stack 32768
223oracle soft nproc 2047
224oracle hard nproc 16384
225oracle hard memlock unlimited
226oracle soft memlock unlimited
227
228查看 /etc/pam.d/login 文件
229
230auth substack system-auth
231auth include postlogin
232account required pam_nologin.so
233account include system-auth
234password include system-auth
235session required pam_selinux.so close
236session required pam_loginuid.so
237session optional pam_console.so
238session required pam_selinux.so open
239session required pam_namespace.so
240session optional pam_keyinit.so force revoke
241session include system-auth
242session include postlogin
243-session optional pam_ck_connector.so
244session required pam_limits.so
245session required /lib64/security/pam_limits.so
246
247#==============================================================#
248配置 /dev/shm
249#==============================================================#
250
251/dev/mapper/rhel-root / xfs defaults 0 0
252UUID=0c121be3-34c3-4736-a637-2264c24706a7 /boot xfs defaults 0 0
253/dev/mapper/rhel-swap none swap defaults 0 0
254tmpfs /dev/shm tmpfs size=8145816k 0 0
255
256#==============================================================#
257安装 rlwrap
258#==============================================================#
259
260
261成功安装 rlwrap: rlwrap 0.42
262
263#==============================================================#
264Root 用户环境变量
265#==============================================================#
266
267if [ -f ~/.bashrc ]; then
268 . ~/.bashrc
269fi
270PATH=$PATH:$HOME/bin
271export PATH
272alias so='su - oracle'
273export PS1="[`whoami`@`hostname`:"'\w]# '
274
275#==============================================================#
276Oracle 用户环境变量
277#==============================================================#
278
279if [ -f ~/.bashrc ]; then
280 . ~/.bashrc
281fi
282umask 022
283export TMP=/tmp
284export TMPDIR=$TMP
285export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
286export ORACLE_BASE=/u01/app/oracle
287export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
288export ORACLE_TERM=xterm
289export TNS_ADMIN=$ORACLE_HOME/network/admin
290export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
291export ORACLE_SID=oradb
292export PATH=/usr/sbin:$PATH
293export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATH
294export PERL5LIB=$ORACLE_HOME/perl/lib
295alias sas='sqlplus / as sysdba'
296alias awr='sqlplus / as sysdba @?/rdbms/admin/awrrpt'
297alias ash='sqlplus / as sysdba @?/rdbms/admin/ashrpt'
298alias alert='vi $ORACLE_BASE/diag/rdbms/*/$ORACLE_SID/trace/alert_$ORACLE_SID.log'
299export PS1="[`whoami`@`hostname`:"'\w]$ '
300export CV_ASSUME_DISTID=OL7
301alias sqlplus='rlwrap sqlplus'
302alias rman='rlwrap rman'
303alias adrci='rlwrap adrci'
304
305#==============================================================#
306静默解压 Oracle 软件包
307#==============================================================#
308
309正在静默解压缩 Oracle 软件包,请稍等:
310.---- -. -. . . . .
311( .',----- - - ' ' ' __
312 \_/ ;--:- __--------------------___ ____=========_||___
313__U__n_^_''__[. ooo___ | |_!_||_!_||_!_||_!_| | |..|_i_|..|_i_|..|
314c(_ ..(_ ..(_ ..( /,,,,,,] | |___||___||___||___| | | |
315,_\___________'_|,L______],|______________________|_i,!________________!_i
316/;_(@)(@)==(@)(@) (o)(o) (o)^(o)--(o)^(o) (o)(o)-(o)(o)
317""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"'""
318
319静默解压 Oracle 软件安装包: /soft/p13390677_112040_Linux-x86-64_1of7.zip,/soft/p13390677_112040_Linux-x86-64_2of7.zip
320静默解压 Oracle 软件补丁包:/soft/p33477185_112040_Linux-x86-64.zip
321
322静默解压 Oracle 软件补丁包:p33991024_11204220118_Generic.zip
323
324
325#==============================================================#
326Oracle 安装静默文件
327#==============================================================#
328
329oracle.install.option=INSTALL_DB_SWONLY
330UNIX_GROUP_NAME=oinstall
331INVENTORY_LOCATION=/u01/app/oraInventory
332ORACLE_BASE=/u01/app/oracle
333oracle.install.db.InstallEdition=EE
334oracle.install.db.DBA_GROUP=dba
335oracle.install.db.OPER_GROUP=oper
336oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
337SELECTED_LANGUAGES=en,zh_CN
338ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
339DECLINE_SECURITY_UPDATES=true
340oracle.installer.autoupdates.option=SKIP_UPDATES
341
342#==============================================================#
343静默安装数据库软件
344#==============================================================#
345
346Starting Oracle Universal Installer...
347
348Checking Temp space: must be greater than 120 MB. Actual 44363 MB Passed
349Checking swap space: must be greater than 150 MB. Actual 8187 MB Passed
350Preparing to launch Oracle Universal Installer from /tmp/OraInstall2023-02-27_11-02-50AM. Please wait ...You can find the log of this install session at:
351 /u01/app/oraInventory/logs/installActions2023-02-27_11-02-50AM.log
352
353Prepare in progress.
354.................................................. 9% Done.
355
356Prepare successful.
357
358Copy files in progress.
359.................................................. 14% Done.
360.................................................. 20% Done.
361.................................................. 26% Done.
362.................................................. 31% Done.
363.................................................. 36% Done.
364.................................................. 41% Done.
365.................................................. 47% Done.
366.................................................. 52% Done.
367.................................................. 57% Done.
368.................................................. 63% Done.
369.................................................. 68% Done.
370.................................................. 73% Done.
371.................................................. 78% Done.
372.................................................. 83% Done.
373..............................
374Copy files successful.
375
376Link binaries in progress.
377..........
378Link binaries successful.
379
380Setup files in progress.
381.................................................. 88% Done.
382.................................................. 94% Done.
383
384Setup files successful.
385The installation of Oracle Database 11g was successful.
386Please check '/u01/app/oraInventory/logs/silentInstall2023-02-27_11-02-50AM.log' for more details.
387
388Execute Root Scripts in progress.
389
390As a root user, execute the following script(s):
391 1. /u01/app/oraInventory/orainstRoot.sh
392 2. /u01/app/oracle/product/11.2.0/db/root.sh
393
394
395.................................................. 100% Done.
396
397Execute Root Scripts successful.
398Successfully Setup Software.
399
400#==============================================================#
401执行 root 脚本
402#==============================================================#
403
404Changing permissions of /u01/app/oraInventory.
405Adding read,write permissions for group.
406Removing read,write,execute permissions for world.
407
408Changing groupname of /u01/app/oraInventory to oinstall.
409The execution of the script is complete.
410Check /u01/app/oracle/product/11.2.0/db/install/root_lucifer_2023-02-27_11-04-41.log for the output of root script
411
412#==============================================================#
413Oracle 软件安装补丁
414#==============================================================#
415
416Oracle Interim Patch Installer version 11.2.0.3.41
417Copyright (c) 2023, Oracle Corporation. All rights reserved.
418
419
420Oracle Home : /u01/app/oracle/product/11.2.0/db
421Central Inventory : /u01/app/oraInventory
422 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
423OPatch version : 11.2.0.3.41
424OUI version : 11.2.0.4.0
425Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-04-44AM_1.log
426
427Verifying environment and performing prerequisite checks...
428OPatch continues with these patches: 17478514 18031668 18522509 19121551 19769489 20299013 20760982 21352635 21948347 22502456 23054359 24006111 24732075 25869727 26609445 26392168 26925576 27338049 27734982 28204707 28729262 29141056 29497421 29913194 30298532 30670774 31103343 31537677 31983472 32328626 32758711 33128584 33477185
429
430Do you want to proceed? [y|n]
431Y (auto-answered by -silent)
432User Responded with: Y
433All checks passed.
434
435Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
436(Oracle Home = '/u01/app/oracle/product/11.2.0/db')
437
438
439Is the local system ready for patching? [y|n]
440Y (auto-answered by -silent)
441User Responded with: Y
442Backing up files...
443Applying sub-patch '17478514' to OH '/u01/app/oracle/product/11.2.0/db'
444
445Patching component oracle.rdbms, 11.2.0.4.0...
446
447Patching component oracle.rdbms.rsf, 11.2.0.4.0...
448
449Patching component oracle.sdo, 11.2.0.4.0...
450
451Patching component oracle.sysman.agent, 10.2.0.4.5...
452
453Patching component oracle.xdk, 11.2.0.4.0...
454
455Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
456
457Patching component oracle.sdo.locator, 11.2.0.4.0...
458
459Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
460
461Patching component oracle.xdk.rsf, 11.2.0.4.0...
462
463Patching component oracle.rdbms.rman, 11.2.0.4.0...
464Applying sub-patch '18031668' to OH '/u01/app/oracle/product/11.2.0/db'
465
466Patching component oracle.rdbms, 11.2.0.4.0...
467
468Patching component oracle.rdbms.rsf, 11.2.0.4.0...
469
470Patching component oracle.ldap.rsf, 11.2.0.4.0...
471
472Patching component oracle.rdbms.crs, 11.2.0.4.0...
473
474Patching component oracle.precomp.common, 11.2.0.4.0...
475
476Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
477
478Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
479
480Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
481
482Patching component oracle.rdbms.rman, 11.2.0.4.0...
483Applying sub-patch '18522509' to OH '/u01/app/oracle/product/11.2.0/db'
484
485Patching component oracle.rdbms.rsf, 11.2.0.4.0...
486
487Patching component oracle.rdbms, 11.2.0.4.0...
488
489Patching component oracle.precomp.common, 11.2.0.4.0...
490
491Patching component oracle.rdbms.rman, 11.2.0.4.0...
492
493Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
494
495Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
496Applying sub-patch '19121551' to OH '/u01/app/oracle/product/11.2.0/db'
497
498Patching component oracle.precomp.common, 11.2.0.4.0...
499
500Patching component oracle.sysman.console.db, 11.2.0.4.0...
501
502Patching component oracle.rdbms.rsf, 11.2.0.4.0...
503
504Patching component oracle.rdbms.rman, 11.2.0.4.0...
505
506Patching component oracle.rdbms, 11.2.0.4.0...
507
508Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
509
510Patching component oracle.ordim.client, 11.2.0.4.0...
511
512Patching component oracle.ordim.jai, 11.2.0.4.0...
513Applying sub-patch '19769489' to OH '/u01/app/oracle/product/11.2.0/db'
514ApplySession: Optional component(s) [ oracle.sysman.agent, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
515
516Patching component oracle.precomp.common, 11.2.0.4.0...
517
518Patching component oracle.ovm, 11.2.0.4.0...
519
520Patching component oracle.xdk, 11.2.0.4.0...
521
522Patching component oracle.rdbms.util, 11.2.0.4.0...
523
524Patching component oracle.rdbms, 11.2.0.4.0...
525
526Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
527
528Patching component oracle.xdk.parser.java, 11.2.0.4.0...
529
530Patching component oracle.oraolap, 11.2.0.4.0...
531
532Patching component oracle.rdbms.rsf, 11.2.0.4.0...
533
534Patching component oracle.xdk.rsf, 11.2.0.4.0...
535
536Patching component oracle.rdbms.rman, 11.2.0.4.0...
537
538Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
539Applying sub-patch '20299013' to OH '/u01/app/oracle/product/11.2.0/db'
540
541Patching component oracle.rdbms.dv, 11.2.0.4.0...
542
543Patching component oracle.rdbms.oci, 11.2.0.4.0...
544
545Patching component oracle.precomp.common, 11.2.0.4.0...
546
547Patching component oracle.sysman.agent, 10.2.0.4.5...
548
549Patching component oracle.xdk, 11.2.0.4.0...
550
551Patching component oracle.sysman.common, 10.2.0.4.5...
552
553Patching component oracle.rdbms, 11.2.0.4.0...
554
555Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
556
557Patching component oracle.xdk.parser.java, 11.2.0.4.0...
558
559Patching component oracle.sysman.console.db, 11.2.0.4.0...
560
561Patching component oracle.xdk.rsf, 11.2.0.4.0...
562
563Patching component oracle.rdbms.rsf, 11.2.0.4.0...
564
565Patching component oracle.sysman.common.core, 10.2.0.4.5...
566
567Patching component oracle.rdbms.rman, 11.2.0.4.0...
568
569Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
570Applying sub-patch '20760982' to OH '/u01/app/oracle/product/11.2.0/db'
571
572Patching component oracle.sysman.console.db, 11.2.0.4.0...
573
574Patching component oracle.rdbms, 11.2.0.4.0...
575
576Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
577
578Patching component oracle.rdbms.rsf, 11.2.0.4.0...
579Applying sub-patch '21352635' to OH '/u01/app/oracle/product/11.2.0/db'
580
581Patching component oracle.sysman.agent, 10.2.0.4.5...
582
583Patching component oracle.rdbms.rsf, 11.2.0.4.0...
584
585Patching component oracle.rdbms.rman, 11.2.0.4.0...
586
587Patching component oracle.rdbms, 11.2.0.4.0...
588Applying sub-patch '21948347' to OH '/u01/app/oracle/product/11.2.0/db'
589ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
590
591Patching component oracle.sysman.agent, 10.2.0.4.5...
592
593Patching component oracle.ovm, 11.2.0.4.0...
594
595Patching component oracle.xdk, 11.2.0.4.0...
596
597Patching component oracle.rdbms, 11.2.0.4.0...
598
599Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
600
601Patching component oracle.xdk.parser.java, 11.2.0.4.0...
602
603Patching component oracle.sysman.console.db, 11.2.0.4.0...
604
605Patching component oracle.xdk.rsf, 11.2.0.4.0...
606
607Patching component oracle.rdbms.rsf, 11.2.0.4.0...
608
609Patching component oracle.sysman.oms.core, 10.2.0.4.5...
610Applying sub-patch '22502456' to OH '/u01/app/oracle/product/11.2.0/db'
611ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
612
613Patching component oracle.precomp.common, 11.2.0.4.0...
614
615Patching component oracle.oraolap.dbscripts, 11.2.0.4.0...
616
617Patching component oracle.rdbms.olap, 11.2.0.4.0...
618
619Patching component oracle.oraolap, 11.2.0.4.0...
620
621Patching component oracle.rdbms.rsf, 11.2.0.4.0...
622
623Patching component oracle.rdbms.rman, 11.2.0.4.0...
624
625Patching component oracle.rdbms, 11.2.0.4.0...
626
627Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
628Applying sub-patch '23054359' to OH '/u01/app/oracle/product/11.2.0/db'
629
630Patching component oracle.rdbms.dv, 11.2.0.4.0...
631
632Patching component oracle.rdbms, 11.2.0.4.0...
633
634Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
635
636Patching component oracle.rdbms.rsf, 11.2.0.4.0...
637Applying sub-patch '24006111' to OH '/u01/app/oracle/product/11.2.0/db'
638
639Patching component oracle.sqlplus.ic, 11.2.0.4.0...
640
641Patching component oracle.sqlplus, 11.2.0.4.0...
642
643Patching component oracle.rdbms.rsf, 11.2.0.4.0...
644
645Patching component oracle.rdbms, 11.2.0.4.0...
646
647Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
648Applying sub-patch '24732075' to OH '/u01/app/oracle/product/11.2.0/db'
649
650Patching component oracle.precomp.common, 11.2.0.4.0...
651
652Patching component oracle.sysman.plugin.db.main.agent, 11.2.0.4.0...
653
654Patching component oracle.sqlplus.ic, 11.2.0.4.0...
655
656Patching component oracle.sqlplus, 11.2.0.4.0...
657
658Patching component oracle.rdbms.rsf, 11.2.0.4.0...
659
660Patching component oracle.rdbms, 11.2.0.4.0...
661
662Patching component oracle.rdbms.util, 11.2.0.4.0...
663
664Patching component oracle.ordim.client, 11.2.0.4.0...
665
666Patching component oracle.ordim.jai, 11.2.0.4.0...
667
668Patching component oracle.ordim.server, 11.2.0.4.0...
669Applying sub-patch '25869727' to OH '/u01/app/oracle/product/11.2.0/db'
670ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
671
672Patching component oracle.ldap.rsf, 11.2.0.4.0...
673
674Patching component oracle.oracore.rsf, 11.2.0.4.0...
675
676Patching component oracle.rdbms, 11.2.0.4.0...
677
678Patching component oracle.rdbms.rsf, 11.2.0.4.0...
679
680Patching component oracle.rdbms.rman, 11.2.0.4.0...
681Applying sub-patch '26609445' to OH '/u01/app/oracle/product/11.2.0/db'
682
683Patching component oracle.oracore.rsf, 11.2.0.4.0...
684
685Patching component oracle.rdbms, 11.2.0.4.0...
686Applying sub-patch '26392168' to OH '/u01/app/oracle/product/11.2.0/db'
687ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
688
689Patching component oracle.network.rsf, 11.2.0.4.0...
690
691Patching component oracle.ldap.client, 11.2.0.4.0...
692
693Patching component oracle.sysman.agent, 10.2.0.4.5...
694
695Patching component oracle.xdk, 11.2.0.4.0...
696
697Patching component oracle.rdbms, 11.2.0.4.0...
698
699Patching component oracle.network.listener, 11.2.0.4.0...
700
701Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
702
703Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
704
705Patching component oracle.xdk.parser.java, 11.2.0.4.0...
706
707Patching component oracle.xdk.rsf, 11.2.0.4.0...
708
709Patching component oracle.rdbms.rsf, 11.2.0.4.0...
710
711Patching component oracle.rdbms.rman, 11.2.0.4.0...
712Applying sub-patch '26925576' to OH '/u01/app/oracle/product/11.2.0/db'
713
714Patching component oracle.rdbms, 11.2.0.4.0...
715
716Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
717
718Patching component oracle.rdbms.rman, 11.2.0.4.0...
719
720Patching component oracle.rdbms.rsf, 11.2.0.4.0...
721Applying sub-patch '27338049' to OH '/u01/app/oracle/product/11.2.0/db'
722
723Patching component oracle.assistants.server, 11.2.0.4.0...
724
725Patching component oracle.rdbms.rsf, 11.2.0.4.0...
726
727Patching component oracle.rdbms, 11.2.0.4.0...
728
729Patching component oracle.rdbms.rman, 11.2.0.4.0...
730
731Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
732Applying sub-patch '27734982' to OH '/u01/app/oracle/product/11.2.0/db'
733
734Patching component oracle.ctx, 11.2.0.4.0...
735
736Patching component oracle.rdbms.rsf, 11.2.0.4.0...
737
738Patching component oracle.ctx.rsf, 11.2.0.4.0...
739
740Patching component oracle.rdbms, 11.2.0.4.0...
741
742Patching component oracle.rdbms.rman, 11.2.0.4.0...
743Applying sub-patch '28204707' to OH '/u01/app/oracle/product/11.2.0/db'
744Applying changes to emctl script on the home: /u01/app/oracle/product/11.2.0/db ...
745
746Patching component oracle.rdbms, 11.2.0.4.0...
747
748Patching component oracle.oracore.rsf, 11.2.0.4.0...
749
750Patching component oracle.rdbms.rsf, 11.2.0.4.0...
751
752Patching component oracle.ldap.rsf, 11.2.0.4.0...
753
754Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
755
756Patching component oracle.network.rsf, 11.2.0.4.0...
757
758Patching component oracle.sysman.agent, 10.2.0.4.5...
759
760Patching component oracle.sysman.console.db, 11.2.0.4.0...
761
762Patching component oracle.ldap.security.osdt, 11.2.0.4.0...
763
764Patching component oracle.ldap.owm, 11.2.0.4.0...
765
766Patching component oracle.sqlplus.rsf, 11.2.0.4.0...
767
768Patching component oracle.ctx, 11.2.0.4.0...
769Applying sub-patch '28729262' to OH '/u01/app/oracle/product/11.2.0/db'
770INFO: Script isn't applicable to this port!
771
772Patching component oracle.rdbms, 11.2.0.4.0...
773
774Patching component oracle.rdbms.rsf, 11.2.0.4.0...
775
776Patching component oracle.rdbms.util, 11.2.0.4.0...
777
778Patching component oracle.ldap.rsf, 11.2.0.4.0...
779
780Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
781
782Patching component oracle.network.rsf, 11.2.0.4.0...
783
784Patching component oracle.rdbms.rman, 11.2.0.4.0...
785
786Patching component oracle.ctx, 11.2.0.4.0...
787Applying sub-patch '29141056' to OH '/u01/app/oracle/product/11.2.0/db'
788
789Patching component oracle.rdbms, 11.2.0.4.0...
790
791Patching component oracle.rdbms.rman, 11.2.0.4.0...
792
793Patching component oracle.oracore.rsf, 11.2.0.4.0...
794
795Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
796
797Patching component oracle.rdbms.rsf, 11.2.0.4.0...
798Applying sub-patch '29497421' to OH '/u01/app/oracle/product/11.2.0/db'
799
800Patching component oracle.rdbms, 11.2.0.4.0...
801
802Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
803
804Patching component oracle.rdbms.rman, 11.2.0.4.0...
805
806Patching component oracle.rdbms.rsf, 11.2.0.4.0...
807
808Patching component oracle.ldap.rsf, 11.2.0.4.0...
809
810Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
811
812Patching component oracle.oracore.rsf, 11.2.0.4.0...
813
814Patching component oracle.ctx, 11.2.0.4.0...
815Applying sub-patch '29913194' to OH '/u01/app/oracle/product/11.2.0/db'
816
817Patching component oracle.rdbms, 11.2.0.4.0...
818
819Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
820
821Patching component oracle.rdbms.rsf, 11.2.0.4.0...
822
823Patching component oracle.network.rsf, 11.2.0.4.0...
824
825Patching component oracle.ldap.rsf, 11.2.0.4.0...
826
827Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
828
829Patching component oracle.rdbms.util, 11.2.0.4.0...
830Applying sub-patch '30298532' to OH '/u01/app/oracle/product/11.2.0/db'
831ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
832
833Patching component oracle.rdbms.rsf, 11.2.0.4.0...
834
835Patching component oracle.rdbms, 11.2.0.4.0...
836
837Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
838
839Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...
840
841Patching component oracle.ldap.rsf, 11.2.0.4.0...
842
843Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
844Applying sub-patch '30670774' to OH '/u01/app/oracle/product/11.2.0/db'
845
846Patching component oracle.rdbms.rsf, 11.2.0.4.0...
847
848Patching component oracle.rdbms, 11.2.0.4.0...
849
850Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
851
852Patching component oracle.network.rsf, 11.2.0.4.0...
853
854Patching component oracle.ldap.rsf, 11.2.0.4.0...
855
856Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
857
858Patching component oracle.swd.oui, 11.2.0.4.0...
859
860Patching component oracle.ctx, 11.2.0.4.0...
861Applying sub-patch '31103343' to OH '/u01/app/oracle/product/11.2.0/db'
862
863Patching component oracle.rdbms, 11.2.0.4.0...
864
865Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
866
867Patching component oracle.rdbms.rsf, 11.2.0.4.0...
868Applying sub-patch '31537677' to OH '/u01/app/oracle/product/11.2.0/db'
869
870Patching component oracle.rdbms, 11.2.0.4.0...
871
872Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
873
874Patching component oracle.rdbms.rsf, 11.2.0.4.0...
875
876Patching component oracle.rdbms.dv, 11.2.0.4.0...
877
878Patching component oracle.rdbms.rman, 11.2.0.4.0...
879
880Patching component oracle.ldap.rsf, 11.2.0.4.0...
881
882Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
883
884Patching component oracle.oracore.rsf, 11.2.0.4.0...
885
886Patching component oracle.rdbms.util, 11.2.0.4.0...
887
888Patching component oracle.dbdev, 11.2.0.4.0...
889
890Patching component oracle.ctx, 11.2.0.4.0...
891
892Patching component oracle.buildtools.rsf, 11.2.0.4.0...
893Applying sub-patch '31983472' to OH '/u01/app/oracle/product/11.2.0/db'
894
895Patching component oracle.rdbms, 11.2.0.4.0...
896
897Patching component oracle.ctx, 11.2.0.4.0...
898Applying sub-patch '32328626' to OH '/u01/app/oracle/product/11.2.0/db'
899
900Patching component oracle.rdbms, 11.2.0.4.0...
901
902Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
903
904Patching component oracle.rdbms.rsf, 11.2.0.4.0...
905
906Patching component oracle.rdbms.dv, 11.2.0.4.0...
907
908Patching component oracle.rdbms.rman, 11.2.0.4.0...
909
910Patching component oracle.ldap.rsf, 11.2.0.4.0...
911
912Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
913Applying sub-patch '32758711' to OH '/u01/app/oracle/product/11.2.0/db'
914
915Patching component oracle.rdbms, 11.2.0.4.0...
916
917Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
918
919Patching component oracle.ctx, 11.2.0.4.0...
920
921Patching component oracle.network.rsf, 11.2.0.4.0...
922Applying sub-patch '33128584' to OH '/u01/app/oracle/product/11.2.0/db'
923
924Patching component oracle.rdbms, 11.2.0.4.0...
925
926Patching component oracle.rdbms.rsf, 11.2.0.4.0...
927
928Patching component oracle.ctx, 11.2.0.4.0...
929Applying sub-patch '33477185' to OH '/u01/app/oracle/product/11.2.0/db'
930
931Patching component oracle.rdbms, 11.2.0.4.0...
932
933Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
934
935Patching component oracle.rdbms.rsf, 11.2.0.4.0...
936
937Patching component oracle.network.rsf, 11.2.0.4.0...
938
939Patching component oracle.rdbms.dv, 11.2.0.4.0...
940Composite patch 33477185 successfully applied.
941Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-04-44AM_1.log
942
943OPatch succeeded.
944
945#==============================================================#
946Oracle 软件安装补丁 33991024
947#==============================================================#
948
949Oracle Interim Patch Installer version 11.2.0.3.41
950Copyright (c) 2023, Oracle Corporation. All rights reserved.
951
952
953Oracle Home : /u01/app/oracle/product/11.2.0/db
954Central Inventory : /u01/app/oraInventory
955 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
956OPatch version : 11.2.0.3.41
957OUI version : 11.2.0.4.0
958Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-06-58AM_1.log
959
960Verifying environment and performing prerequisite checks...
961OPatch continues with these patches: 33991024
962
963Do you want to proceed? [y|n]
964Y (auto-answered by -silent)
965User Responded with: Y
966All checks passed.
967
968Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
969(Oracle Home = '/u01/app/oracle/product/11.2.0/db')
970
971
972Is the local system ready for patching? [y|n]
973Y (auto-answered by -silent)
974User Responded with: Y
975Backing up files...
976Applying interim patch '33991024' to OH '/u01/app/oracle/product/11.2.0/db'
977
978Patching component oracle.rdbms.rsf, 11.2.0.4.0...
979
980Patching component oracle.buildtools.rsf, 11.2.0.4.0...
981
982Patching component oracle.has.db, 11.2.0.4.0...
983Patch 33991024 successfully applied.
984Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-06-58AM_1.log
985
986OPatch succeeded.
987
988#==============================================================#
989Oracle 执行 relink
990#==============================================================#
991
992writing relink log to: /u01/app/oracle/product/11.2.0/db/install/relink.log
993
994#==============================================================#
995Oracle 软件版本
996#==============================================================#
997
998
999SQL*Plus: Release 11.2.0.4.0 Production
1000
1001
1002#==============================================================#
1003OPatch 补丁信息
1004#==============================================================#
1005
100633991024;11204CERT ON OL8: LINKING ERRORS DURING 11204 FOR DB INSTALL ON OL8.2
100733477185;Database Patch Set Update : 11.2.0.4.220118 (33477185)
1008
1009OPatch succeeded.
1010
1011
1012#==============================================================#
1013配置监听
1014#==============================================================#
1015
1016
1017Parsing command line arguments:
1018 Parameter "silent" = true
1019 Parameter "responsefile" = /u01/app/oracle/product/11.2.0/db/assistants/netca/netca.rsp
1020Done parsing command line arguments.
1021Oracle Net Services Configuration:
1022Profile configuration complete.
1023Oracle Net Listener Startup:
1024 Running Listener Control:
1025 /u01/app/oracle/product/11.2.0/db/bin/lsnrctl start LISTENER
1026 Listener Control complete.
1027 Listener started successfully.
1028Listener configuration complete.
1029Oracle Net Services configuration successful. The exit code is 0
1030
1031检查监听状态:
1032
1033
1034LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 27-FEB-2023 11:07:35
1035
1036Copyright (c) 1991, 2013, Oracle. All rights reserved.
1037
1038Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
1039STATUS of the LISTENER
1040------------------------
1041Alias LISTENER
1042Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
1043Start Date 27-FEB-2023 11:07:34
1044Uptime 0 days 0 hr. 0 min. 0 sec
1045Trace Level off
1046Security ON: Local OS Authentication
1047SNMP OFF
1048Listener Parameter File /u01/app/oracle/product/11.2.0/db/network/admin/listener.ora
1049Listener Log File /u01/app/oracle/diag/tnslsnr/lucifer/listener/alert/log.xml
1050Listening Endpoints Summary...
1051 (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
1052 (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lucifer)(PORT=1521)))
1053The listener supports no services
1054The command completed successfully
1055
1056#==============================================================#
1057创建数据库
1058#==============================================================#
1059
1060Copying database files
10611% complete
10623% complete
106311% complete
106418% complete
106537% complete
1066Creating and starting Oracle instance
106740% complete
106845% complete
106950% complete
107055% complete
107156% complete
107260% complete
107362% complete
1074Completing Database Creation
107566% complete
107670% complete
107773% complete
107874% complete
107975% complete
108076% complete
108177% complete
108278% complete
108379% complete
108480% complete
108592% complete
1086100% complete
1087Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/oradb/oradb.log" for further details.
1088
1089#==============================================================#
1090配置在线重做日志
1091#==============================================================#
1092
1093数据库在线重做日志文件:
1094
1095
1096 THREAD# GROUP# MEMBER size(M)
1097---------- ---------- ------------------------------------------------------------ ----------
1098 1 3 /oradata/oradb/redo03.log 100
1099 1 2 /oradata/oradb/redo02.log 100
1100 1 1 /oradata/oradb/redo01.log 100
1101 1 11 /oradata/ORADB/onlinelog/o1_mf_11_kzr7rf8s_.log 100
1102 1 11 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_11_ 100
1103 kzr7rfc6_.log
1104
1105 1 12 /oradata/ORADB/onlinelog/o1_mf_12_kzr7rffh_.log 100
1106 1 15 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_15_ 100
1107 kzr7rgfk_.log
1108
1109 1 13 /oradata/ORADB/onlinelog/o1_mf_13_kzr7rflm_.log 100
1110 1 13 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_13_ 100
1111 kzr7rfo2_.log
1112
1113 1 14 /oradata/ORADB/onlinelog/o1_mf_14_kzr7rfqx_.log 100
1114 1 14 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_14_ 100
1115 kzr7rfw9_.log
1116
1117 1 15 /oradata/ORADB/onlinelog/o1_mf_15_kzr7rfyv_.log 100
1118 1 12 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_12_ 100
1119 kzr7rfjb_.log
1120
1121
1122#==============================================================#
1123配置 RMAN 备份任务
1124#==============================================================#
1125
1126## OracleBegin
112700 02 * * * /home/oracle/scripts/del_arch.sh
1128#00 00 * * 0 /home/oracle/scripts/dbbackup_lv0.sh
1129#00 00 * * 1,2,3,4,5,6 /home/oracle/scripts/dbbackup_lv1.sh
1130
1131#==============================================================#
1132配置 glogin.sql
1133#==============================================================#
1134
1135define _editor=vi
1136set serveroutput on size 1000000
1137set pagesize 9999
1138set long 99999
1139set trimspool on
1140col name format a80
1141set termout off
1142col global_name new_value gname
1143define gname=idle
1144select lower(user) || '@' || substr( global_name, 1, decode( dot, 0,length(global_name), dot-1) ) global_name from (select global_name, instr(global_name,'.') dot from global_name );
1145ALTER SESSION SET nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
1146set sqlprompt '&gname _DATE> '
1147set termout on
1148
1149#==============================================================#
1150优化数据库参数
1151#==============================================================#
1152
1153数据库参数:
1154
1155
1156NAME SID SPVALUE VALUE
1157-------------------------------------------------- ---------- -------------------------------------------------- --------------------------------------------------
1158_b_tree_bitmap_plans * FALSE FALSE
1159_datafile_write_errors_crash_instance * FALSE FALSE
1160audit_file_dest * /u01/app/oracle/admin/oradb/adump /u01/app/oracle/admin/oradb/adump
1161audit_trail * NONE DB
1162compatible * 11.2.0.4.0 11.2.0.4.0
1163control_file_record_keep_time * 31 31
1164db_block_size * 8192 8192
1165db_create_file_dest * /oradata /oradata
1166db_file_multiblock_read_count * 128
1167db_files * 5000 200
1168db_name * oradb oradb
1169db_recovery_file_dest * /u01/app/oracle/fast_recovery_area /u01/app/oracle/fast_recovery_area
1170db_recovery_file_dest_size * 4857004032 4857004032
1171db_writer_processes * 1
1172deferred_segment_creation * FALSE FALSE
1173diagnostic_dest * /u01/app/oracle /u01/app/oracle
1174dispatchers * (PROTOCOL=TCP) (SERVICE=oradbXDB) (PROTOCOL=TCP) (SERVICE=oradbXDB)
1175enable_ddl_logging * TRUE FALSE
1176event * 10949 trace name context forever,level 1
1177event * 28401 trace name context forever,level 1
1178fast_start_parallel_rollback * LOW
1179log_archive_dest_1 * location=/oradata/archivelog location=/oradata/archivelog
1180log_archive_format * %t_%s_%r.dbf %t_%s_%r.dbf
1181max_dump_file_size * unlimited
1182open_cursors * 1000 300
1183optimizer_index_caching * 0
1184optimizer_mode * ALL_ROWS
1185parallel_force_local * FALSE
1186parallel_max_servers * 64 64
1187pga_aggregate_target * 1333788672 1333788672
1188processes * 2000 150
1189remote_login_passwordfile * EXCLUSIVE EXCLUSIVE
1190resource_limit * TRUE FALSE
1191resource_manager_plan * force:
1192sec_case_sensitive_logon * FALSE TRUE
1193session_cached_cursors * 300 50
1194sessions * 248
1195sga_max_size * 5338300416 5351931904
1196sga_target * 5338300416 5351931904
1197spfile * /u01/app/oracle/product/11.2.0/db/dbs/spfileoradb.
1198 ora
1199
1200statistics_level * TYPICAL
1201undo_retention * 10800 900
1202
1203恭喜!Oracle 单机安装成功,现在是否重启主机:[Y/N]
1204y
1205正在重启 ......