使用的Linux 7 vagrant box,软件是Oracle Database 12.2.0.1版。
安装响应文件是从vagrant数据库安装中“偷”来的,如下:

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0
oracle.install.option=INSTALL_DB_SWONLY //只安装数据库软件
UNIX_GROUP_NAME=dba
INVENTORY_LOCATION=###ORACLE_BASE###/oraInventory
SELECTED_LANGUAGES=en
ORACLE_BASE=###ORACLE_BASE###
ORACLE_HOME=###ORACLE_HOME###
oracle.install.db.InstallEdition=###ORACLE_EDITION###
oracle.install.db.DBA_GROUP=dba
oracle.install.db.BACKUPDBA_GROUP=dba
oracle.install.db.DGDBA_GROUP=dba
oracle.install.db.KMDBA_GROUP=dba
oracle.install.db.OSRACDBA_GROUP=dba
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

其中###参数###是需要根据实际环境修改的,ORACLE_BASE设为/u01/app/oracle,ORACLE_HOME改为/u01/app/oracle/product/12.2.0.1/dbhome_1:

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0
oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=dba
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/dbhome_1
oracle.install.db.InstallEdition=EE
oracle.install.db.DBA_GROUP=dba
oracle.install.db.BACKUPDBA_GROUP=dba
oracle.install.db.DGDBA_GROUP=dba
oracle.install.db.KMDBA_GROUP=dba
oracle.install.db.OSRACDBA_GROUP=dba
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

将此文件存于/tmp/oracle/db_install.rsp
注意几个原则:

  1. ORACLE_HOME应在ORACLE_BASE中
  2. INVENTORY_LOCATION不要在ORACLE_BASE中
    否则安装时会有警告:
   ACTION: Oracle recommends installing Oracle software within the Oracle base directory. Adjust the Oracle home or Oracle base accordingly.
[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.

静默安装

确认主机名

一定要确认主机名可以正确的解析,都是小写。确保以下地址可以ping通,且不是127.0.0.1:

ping $(hostname)

在实验环境中,我采用/etc/hosts解析,定义如下(注意第一行被注释了):

# cat /etc/hosts
#127.0.0.1      ol7-vagrant     ol7-vagrant
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.2.15       ol7-vagrant

安装先决条件包

vagrant供应的是一个裸的Linux主机,因此先安装先决条件包:

# yum info oracle-database-server-12cR2-preinstall
Available Packages
Name        : oracle-database-server-12cR2-preinstall
Arch        : x86_64
Version     : 1.0
Release     : 5.el7
Size        : 19 k
Repo        : ol7_latest/x86_64
Summary     : Sets the system for Oracle Database single instance and Real Application Cluster install for Oracle Linux 7
License     : GPLv2
Description : The Oracle Preinstallation RPM package installs software packages and sets system parameters required for Oracle Database single instance and: Oracle Real Application Clusters installations version 12cR2 on Oracle Linux Release 7 Files affected: /etc/sysctl.conf, /boot/grub/menu.lst OR: /boot/grub2/grub.cfg Files added: /etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf# yum install oracle-database-server-12cR2-preinstall

确认oracle用户已创建:

# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)

设置oracle用户口令:

# passwd oracle

创建目录结构

使用root用户

mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01
chmod -R 755 /u01

解压安装包

此处使用oracle用户
解压到/tmp/oracle目录下,安装完成后记得删除此临时目录。另外,从18c开始,解压即安装,因此直接解压到$ORACLE_HOME下,而不是临时目录。

$ mkdir /tmp/oracle
$ unzip /vagrant/linuxx64_12201_database.zip -d /tmp/oracle

开始安装

整个过程执行了8分钟左右。

$ cd /tmp/oracle/database/
$ ./runInstaller -help$ ./runInstaller -silent -showProgress -responseFile /tmp/oracle/db_install.rsp
Starting Oracle Universal Installer...Checking Temp space: must be greater than 500 MB.   Actual 24789 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4094 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-09-05_04-42-31AM. Please wait ...[oracle@ol7-vagrant database]$ You can find the log of this install session at:/u01/app/oraInventory/logs/installActions2019-09-05_04-42-31AM.logPrepare in progress.
..................................................   8% Done.Prepare successful.Copy files in progress.
..................................................   17% Done.
..................................................   22% Done.
..................................................   27% Done.
..................................................   32% Done.
..................................................   40% Done.
..................................................   45% Done.
..................................................   50% Done.
..................................................   55% Done.
..................................................   60% Done.
..................................................   65% Done.
..................................................   70% Done.
..................................................   75% Done.
..................................................   80% Done.
....................
Copy files successful.Link binaries in progress.
..........
Link binaries successful.Setup files in progress.
..............................
Setup files successful.Setup Inventory in progress.Setup Inventory successful.Finish Setup successful.
The installation of Oracle Database 12c was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2019-09-05_04-42-31AM.log' for more details.Setup Oracle Base in progress.Setup Oracle Base successful.
..................................................   95% Done.As a root user, execute the following script(s):1. /u01/app/oraInventory/orainstRoot.sh2. /u01/app/oracle/product/12.2.0.1/dbhome_1/root.sh..................................................   100% Done.
Successfully Setup Software.

如上提示,安装完成后还需以root用户执行脚本:

# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to dba.
The execution of the script is complete.
# /u01/app/oracle/product/12.2.0.1/dbhome_1/root.sh
Check /u01/app/oracle/product/12.2.0.1/dbhome_1/install/root_ol7-vagrant_2019-09                                                                              -05_04-58-24-681923494.log for the output of root script

这些脚本的目的之一是需要在/etc目录下创建一些文件:

$ ls -l /etc/ora*
-rw-r--r--. 1 root   root      32 Aug  8 15:11 /etc/oracle-release
-rw-r--r--. 1 root   root      51 Sep  5 04:58 /etc/oraInst.loc
-rw-rw-r--. 1 oracle oinstall 741 Sep  5 04:58 /etc/oratab$ cat /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=dba$ cat /etc/oratab
## This file is used by ORACLE utilities.  It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third field indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#

虽然是静默安装,但还是会进行先决条件检查。可能会有一些警告,如:

[WARNING] [INS-13014] Target environment does not meet some optional requirements.CAUSE: Some of the optional prerequisites are not met. See logs for details. installActions2019-09-07_06-19-13AM.logACTION: Identify the list of failed prerequisite checks from the log: installActions2019-09-07_06-19-13AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
You can find the log of this install session at:/u01/app/oraInventory/logs/installActions2019-09-07_06-19-13AM.log

可以从日志文件中查看详细信息,本例是由于swap空间不够,这时可以忽略的:

$ grep VERIFICATION_FAILED /u01/app/oraInventory/logs/installActions2019-09-07_06-19-13AM.log
INFO: INFO: OverallStatus:VERIFICATION_FAILED
INFO: TaskSwapSize:Swap Size[CHECK_SWAP_SIZE]:TASK_SUMMARY:FAILED:IGNORABLE:VERIFICATION_FAILED:Total time taken [161 Milliseconds]
INFO: INFO: OverallStatus:VERIFICATION_FAILED

设置环境变量:

echo 'export ORACLE_BASE=/u01/app/oracle' >> ~/.bash_profile
echo 'export ORACLE_HOME=$ORACLE_BASE/product/12.2.0.1/dbhome_1' >> ~/.bash_profile
echo 'export PATH=$ORACLE_HOME/bin:$PATH' >> ~/.bash_profile

环境变量设置成功,则可以找到dbca的路径,下一个实验我们将使用其来创建数据库。

$ which dbca
/u01/app/oracle/product/12.2.0.1/dbhome_1/bin/dbca

清理临时安装文件

$ rm -fr /tmp/oracle

打补丁

首先给OPatch打补丁。打之前是12.2.0.1.4。

$ ./opatch version
OPatch Version: 12.2.0.1.6

然后给数据库打补丁。打之前的版本为(此时数据库软件已安装,但数据库未创建):

$ ./opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2019, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/12.2.0.1/dbhome_1
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/12.2.0.1/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.17
OUI version       : 12.2.0.1.4
Log file location : /u01/app/oracle/product/12.2.0.1/dbhome_1/cfgtoollogs/opatch/opatch2019-09-07_10-30-07AM_1.logLsinventory Output file location : /u01/app/oracle/product/12.2.0.1/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2019-09-07_10-30-07AM.txt--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ol7-vagrant
ARU platform id: 226
ARU platform description:: Linux x86-64Installed Top-level Products (1):Oracle Database 12c                                                  12.2.0.1.0
There are 1 products installed in this Oracle Home.There are no Interim patches installed in this Oracle Home.--------------------------------------------------------------------------------OPatch succeeded.

打补丁后:

$ ./opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2019, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/12.2.0.1/dbhome_1
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/12.2.0.1/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.17
OUI version       : 12.2.0.1.4
Log file location : /u01/app/oracle/product/12.2.0.1/dbhome_1/cfgtoollogs/opatch/opatch2019-09-07_12-20-18PM_1.logLsinventory Output file location : /u01/app/oracle/product/12.2.0.1/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2019-09-07_12-20-18PM.txt--------------------------------------------------------------------------------
Local Machine Information::
Hostname: ol7-vagrant
ARU platform id: 226
ARU platform description:: Linux x86-64Installed Top-level Products (1):Oracle Database 12c                                                  12.2.0.1.0
There are 1 products installed in this Oracle Home.Interim patches (1) :Patch  29757449     : applied on Sat Sep 07 12:09:07 UTC 2019
Unique Patch ID:  23009673
Patch description:  "Database Jul 2019 Release Update : 12.2.0.1.190716 (29757449)"Created on 9 Jul 2019, 21:38:38 hrs PST8PDTBugs fixed:8480838, 8932139, 12763598, 13554903, 14221306, 14690846, 1593175616002385, 16438495, 16727454, 16942578, 17027695, 17533661, 1794787118308268, 18521691, 18594510, 18774543, 18878420, 19072655, 1921143319285025, 19327292, 19526548, 19614243, 19647894, 19649997, 1970220119721304, 20003668, 20087519, 20118035, 20120236, 20324049, 2043650820532077, 20588486, 20591151, 20617383, 20620169, 20736227, 2075630520866970, 20976443, 21089435, 21095391, 21143725, 21147908, 2115990721178363, 21186167, 21197098, 21216226, 21320338, 21433452, 2147970621517767, 21520266, 21547051, 21638600, 21744603, 21882528, 2198152921985256, 22007324, 22070473, 22070853, 22072543, 22087683, 2210486622179537, 22310426, 22347493, 22364044, 22367053, 22379010, 2244645522495673, 22503283, 22503297, 22504793, 22522515, 22530986, 2256433622568728, 22581771, 22594071, 22599050, 22628825, 22645009, 2265447522700845, 22726044, 22729345, 22826067, 22843979, 22845846, 2286430322898198, 22950945, 22970869, 22981722, 23019710, 23026585, 2303524923055900, 23061453, 23065002, 23066146, 23080557, 23104033, 2310553823110523, 23125560, 23126545, 23127945, 23151677, 23169712, 2317792323179662, 23184263, 23197730, 23234232, 23237091, 23249829, 2327120323278750, 23300142, 23306590, 23310101, 23312077, 23328639, 2333655923481673, 23491861, 23499004, 23499160, 23521523, 23527363, 2353364723548817, 23567857, 23572982, 23581777, 23588722, 23599216, 2360086123602213, 23645516, 23665623, 23709062, 23715460, 23715518, 2373096123733981, 23735292, 23741944, 23746128, 23749454, 23761724, 2401003024289874, 24294174, 24303148, 24307571, 24308349, 24326444, 2432684624328857, 24332831, 24334708, 24336249, 24337882, 24341675, 2434390524345420, 24346821, 24348685, 24350620, 24352981, 24355111, 2435734824368004, 24371491, 24373528, 24373756, 24374976, 24376875, 2437687824385983, 24401351, 24403922, 24409977, 24415926, 24416451, 2442166824423416, 24425056, 24425998, 24435982, 24437162, 24443539, 2445759724460392, 24461826, 24467122, 24468470, 24470606, 24471079, 2447147324473736, 24485034, 24485161, 24485174, 24486059, 24486237, 2450905624534401, 24554533, 24555417, 24556967, 24560906, 24563422, 2457021424570598, 24573817, 24578718, 24578797, 24589081, 24589590, 2459150624593740, 24595699, 24600330, 24609592, 24609996, 24611527, 2461663724617969, 24623975, 24624166, 24642495, 24654629, 24655717, 2466421124668398, 24669189, 24674197, 24674955, 24676172, 24677696, 2468095924689376, 24692973, 24693290, 24697323, 24699619, 24710696, 2471338124714096, 24717183, 24717859, 24718260, 24719799, 24735430, 2473706424737403, 24737581, 24744383, 24744686, 24757934, 24759556, 2476040724764085, 24766309, 24786669, 24792678, 24793511, 24796092, 2479711924800423, 24801152, 24802934, 24811725, 24812047, 24827228, 2482765424831514, 24835919, 24841671, 24843188, 24844549, 24844841, 2484515724848746, 24848923, 24850622, 24907917, 24908321, 24911709, 2491258824922704, 24923080, 24923215, 24923338, 24923790, 24924667, 2492699924929210, 24938784, 24940060, 24942749, 24953434, 24957555, 2496004424965426, 24966594, 24966788, 24967993, 24968162, 24976007, 2497810025022574, 25027852, 25028996, 25029022, 25029423, 25032818, 2503439625036474, 25042823, 25044977, 25045228, 25050160, 25051465, 2505162825057811, 25058080, 25062592, 25063971, 25065563, 25072986, 2507861125086233, 25087436, 25092777, 25093872, 25098160, 25099339, 2509949725099758, 25100063, 25100579, 25103996, 25107662, 25110233, 2511456125120284, 25120668, 25120742, 25121089, 25123585, 25124363, 2512992525140197, 25145163, 25145215, 25150925, 25159176, 25162645, 2516429325166187, 25171041, 25171084, 25175723, 25176408, 25178032, 2517810125178179, 25179774, 25182817, 25184555, 25186079, 25191872, 2519204425192528, 25192729, 25199585, 25201454, 25202355, 25203656, 2520686425207410, 25209912, 25210268, 25210499, 25211628, 25223839, 2522424225225795, 25226665, 25227381, 25230870, 25230945, 25237577, 2524018825240590, 25241448, 25241625, 25244807, 25248384, 25251648, 2525708525259611, 25262869, 25263960, 25265499, 25283790, 25287072, 2529365925296876, 25299227, 25299807, 25300427, 25303756, 25305405, 2530736825309116, 25313154, 25313411, 25316758, 25317989, 25320555, 2532352525328518, 25329664, 25335249, 25335360, 25335790, 25337332, 2533764025348956, 25353983, 25356118, 25357142, 25360661, 25362958, 2536758825367721, 25382812, 25383204, 25384462, 25386748, 25388896, 2539253525395696, 25397936, 25398306, 25404202, 25405100, 25405687, 2540581325410017, 25410180, 25410802, 25410877, 25411036, 25415713, 2541705025417056, 25417958, 25425451, 25425760, 25427662, 25429959, 2543012025433696, 25435038, 25437699, 25440818, 25442559, 25444961, 2544516825451531, 25455795, 25457409, 25459958, 25462714, 25463844, 2547211225476149, 25477657, 25478885, 25479164, 25482971, 25489342, 2548936725489607, 25492379, 25498930, 25498994, 25516250, 25524955, 2552883825530080, 25530814, 25535668, 25536819, 25537470, 25539063, 2554073825546580, 25546608, 25547901, 25551676, 25553616, 25554787, 2555525225557886, 25558986, 25560487, 25561296, 25569149, 25570929, 2557534825575369, 25575628, 25579458, 25579761, 25594901, 25597525, 2559847325599425, 25600342, 25600421, 25602488, 25603923, 25606091, 2560772625612095, 25614866, 25616268, 25616359, 25616417, 25616645, 2563193325633101, 25634317, 25634348, 25635149, 25638456, 25639019, 2564381825643889, 25643931, 25646373, 25647325, 25648731, 25653109, 2565445925654936, 25655390, 25655966, 25659655, 25660847, 25661819, 2566208825662101, 25662524, 25663488, 25669791, 25670786, 25671354, 2567264025674386, 25680221, 25685152, 25686739, 25687460, 25691904, 2569420625695903, 25699321, 25700654, 25709368, 25710420, 25715167, 2571737125722055, 25722608, 25722720, 25723158, 25728085, 25729507, 2573496325736747, 25739065, 25741955, 25743479, 25747569, 25749273, 2575275525754606, 25757748, 25760195, 25762221, 25764020, 25766822, 2576868125772669, 25774077, 25775213, 25780343, 25783447, 25784002, 2578533125785441, 25788879, 25789041, 25789277, 25789579, 25790353, 2579291125795865, 25797092, 25797124, 25797305, 25800464, 25802510, 2580354525807997, 25810263, 25810704, 25811650, 25813931, 25818707, 2582241025823754, 25825910, 25826740, 25830492, 25832935, 25834581, 2583536525838361, 25838755, 25852885, 25856821, 25858672, 25861398, 2586578525870579, 25871177, 25871639, 25871753, 25872127, 25872389, 2587333625874050, 25874678, 25882264, 25883438, 25885148, 25888073, 2588898425890056, 25890673, 25894239, 25895224, 25897615, 25904273, 2590449025906117, 25906886, 25908728, 25911724, 25914276, 25919622, 2593252425932728, 25933494, 25941836, 25943271, 25945130, 25947799, 2595157125953857, 25954022, 25954054, 25957038, 25963024, 25964954, 2596754425967985, 25970731, 25971286, 25973152, 25975723, 25977302, 2598060525980770, 25981498, 25982666, 25986062, 25990907, 25995938, 2599781026006257, 26007010, 26019148, 26024732, 26024784, 26025681, 2602907526029777, 26029780, 26032573, 26034119, 26036748, 26037215, 2603808626039623, 26040483, 26045732, 26051656, 26078437, 26078493, 2608041026083298, 26088426, 26088836, 26090767, 26091640, 26091786, 2609532726095405, 26096382, 26108080, 26108337, 26110259, 26110632, 2611184226112621, 26115103, 26121990, 26124078, 26137367, 26138085, 2614990426153977, 26168933, 26169341, 26169345, 26170659, 26170715, 2617600226187943, 26189861, 26198757, 26198926, 26201113, 26203182, 2622303926237338, 26237431, 26237773, 26238195, 26242031, 26243698, 2624411526245237, 26248143, 26249718, 26256131, 26257953, 26259265, 2626132726263328, 26263721, 26268756, 26269790, 26271001, 26275023, 2627541526277439, 26281476, 26285062, 26285933, 26308650, 26309047, 2631799126318627, 26323308, 26324206, 26324769, 26327624, 26330994, 2633174326333141, 26336977, 26338953, 26351334, 26353617, 26358670, 2635909126362155, 26362821, 26366517, 26367012, 26367460, 26371725, 2637479126375052, 26375250, 26380097, 26385189, 26388538, 26396790, 2639962626399691, 26406387, 26407408, 26412540, 26418088, 26420561, 2642166726422277, 26423085, 26426526, 26426967, 26430323, 26430737, 2643443626434999, 26435073, 26436168, 26438612, 26439748, 26440169, 2644074926442308, 26444601, 26444887, 26446098, 26452606, 26474662, 2647470326475419, 26476244, 26478970, 26479173, 26482376, 26486365, 2649286626493289, 26498354, 26513067, 26513709, 26521043, 26522439, 2652343226526726, 26526799, 26536320, 26537307, 26542135, 26542236, 2654482326545688, 26546070, 26546664, 26546754, 26548363, 26556014, 2656922526575788, 26580633, 26582460, 26584641, 26597140, 26599395, 2660813726608238, 26609942, 26615291, 26615690, 26617804, 26623652, 2662687926629381, 26633355, 26633558, 26635897, 26637273, 26637824, 2663916726641610, 26650226, 26654363, 26658759, 26659182, 26680105, 2671233126714486, 26714910, 26717528, 26725687, 26727397, 26729494, 2672961126740700, 26744595, 26745002, 26751106, 26751171, 26755171, 2675819326764561, 26765212, 26775602, 26784509, 26794786, 26797591, 2679851626802503, 26816582, 26820076, 26822620, 26828994, 26829845, 2683393226837702, 26840654, 26844406, 26844870, 26849779, 26875822, 2688345626895149, 26896659, 26898563, 26907327, 26908788, 26909100, 2690950426911000, 26939314, 26943004, 26944190, 26958896, 26963310, 2696661626966916, 26967713, 26969321, 26970175, 26970717, 26981902, 2698325926985002, 26986173, 26992964, 27006120, 27006664, 27009164, 2701314627028251, 27032785, 27034890, 27037839, 27038986, 27039712, 2704429727052607, 27058530, 27060167, 27060859, 27061736, 27073314, 2707914027087426, 27090765, 27092508, 27093423, 27097854, 27101105, 2710590027106179, 27110878, 27115422, 27117822, 27119621, 27122162, 2712462427125872, 27133662, 27134734, 27135647, 27135993, 27138325, 2714237327142529, 27151826, 27153641, 27161071, 27162390, 27162405, 2716392827165231, 27169796, 27170305, 27181537, 27181897, 27199245, 2720095927207110, 27208795, 27213224, 27216046, 27223075, 27229389, 2723105127236722, 27242226, 27244337, 27248917, 27249531, 27250547, 2725169027255377, 27256000, 27258578, 27259307, 27262945, 27266245, 2727445627274536, 27275533, 27276231, 27283960, 27284499, 27285244, 2728863827292213, 27293599, 27302711, 27302730, 27303287, 27304410, 2730503927308088, 27314206, 27314390, 27320576, 27321179, 27329612, 2733310627334316, 27338912, 27338946, 27339115, 27345231, 27346709, 2734808127349393, 27350267, 27351628, 27359178, 27364854, 27367194, 2737096527375542, 27381498, 27386467, 27394703, 27395416, 27396624, 2739667227396813, 27397048, 27400416, 27400598, 27404668, 27405645, 2741699727423251, 27424405, 27426363, 27432062, 27433870, 27434193, 2743983527441326, 27442041, 27445727, 27457891, 27466597, 27468303, 2749367427501373, 27501413, 27502420, 27504770, 27505229, 27508985, 2751095927525909, 27533819, 27534509, 27540613, 27544973, 27548131, 2755407427555481, 27558861, 27560602, 27562488, 27565906, 27567477, 2757634227593501, 27595973, 27607563, 27611612, 27613080, 27613530, 2761797827620808, 27629756, 27634676, 27634991, 27658186, 27666312, 2767163327680669, 27686599, 27687880, 27688036, 27688099, 27688692, 2769192027691939, 27693416, 27693713, 27695063, 27698953, 27700466, 2770423727709046, 27710072, 27726780, 27740424, 27748954, 27751755, 2775756727757888, 27758972, 27759077, 27793533, 27799032, 27801337, 2782454027824543, 27825241, 27829295, 27833672, 27834551, 27835925, 2784629827846499, 27847259, 27855490, 27861226, 27882176, 27898015, 2793129927940876, 27945870, 27951817, 27959048, 27959594, 27966472, 2798681727994325, 27995215, 27995248, 27997875, 27998003, 27999073, 2799963828000269, 28022101, 28023081, 28023399, 28023482, 28026866, 2803342928040776, 28045903, 28067846, 28072567, 28074713, 28090453, 2809966228108003, 28111583, 28120036, 28120951, 28124631, 28129791, 2814065828165439, 28171079, 28174827, 28180464, 28181021, 28184554, 2818833028194173, 28199085, 28201419, 28218832, 28220398, 28223871, 2822617928229360, 28236305, 28271119, 28279837, 28282606, 28290434, 2830204928305001, 28305362, 28320399, 28354603, 28357401, 28361221, 2836511128378446, 28390273, 28396445, 28420042, 28420457, 28423598, 2843212928434028, 28437315, 28454242, 28468312, 28483184, 28489150, 2850107528502343, 28507324, 28508053, 28508557, 28522441, 28528349, 2853527228545134, 28547068, 28571483, 28572834, 28578164, 28587723, 2860023328612674, 28617631, 28617959, 28621470, 28627255, 28636676, 2869196528692275, 28708023, 28728272, 28742555, 28749289, 28758722, 2877441628803345, 28819640, 28849751, 28852691, 28856060, 28891984, 2895138228956908, 28960211, 28965787, 28986231, 28987439, 28991884, 2899359029006527, 29024054, 29027694, 29032276, 29125374, 29158680, 2918988929200700, 29224605, 29250230, 29301463, 29339155, 29347943, 2937634629378913, 29379978, 29388020, 29405462, 29436454, 29437712, 2951161129542449, 29676089, 29690625, 29813494, 29836659--------------------------------------------------------------------------------OPatch succeeded.

卸载数据库软件

假设还未创建数据库实例。此时没有启动任何数据库相关进程,如监听等。

$ cd $ORACLE_HOME/deinstall
$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2019-09-05_05-11-30AM/logs/############ ORACLE DECONFIG TOOL START ##################################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##Checking for existence of the Oracle home location /u01/app/oracle/product/12.2.0.1/dbhome_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory## [END] Install check configuration ##Network Configuration check config STARTNetwork de-configuration trace file location: /tmp/deinstall2019-09-05_05-11-30AM/logs/netdc_check2019-09-05_05-11-47-AM.logNetwork Configuration check config ENDDatabase Check Configuration STARTDatabase de-configuration trace file location: /tmp/deinstall2019-09-05_05-11-30AM/logs/databasedc_check2019-09-05_05-11-47-AM.logUse comma as separator when specifying list of values as input
## 由于还没有安装数据库,因此直接回车
Specify the list of database names that are configured in this Oracle home []:
Database Check Configuration END
Oracle Configuration Manager check START
OCM check log file location : /tmp/deinstall2019-09-05_05-11-30AM/logs//ocm_check7577.log
Oracle Configuration Manager check END######################### DECONFIG CHECK OPERATION END ################################################ DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /u01/app/oracle/product/12.2.0.1/dbhome_1
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
## 输入y
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2019-09-05_05-11-30AM/logs/deinstall_deconfig2019-09-05_05-11-45-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2019-09-05_05-11-30AM/logs/deinstall_deconfig2019-09-05_05-11-45-AM.err'######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2019-09-05_05-11-30AM/logs/databasedc_clean2019-09-05_05-12-41-AM.logNetwork Configuration clean config STARTNetwork de-configuration trace file location: /tmp/deinstall2019-09-05_05-11-30AM/logs/netdc_clean2019-09-05_05-12-41-AM.logDe-configuring backup files...
Backup files de-configured successfully.The network configuration has been cleaned up successfully.Network Configuration clean config ENDOracle Configuration Manager clean START
OCM clean log file location : /tmp/deinstall2019-09-05_05-11-30AM/logs//ocm_clean7577.log
Oracle Configuration Manager clean END######################### DECONFIG CLEAN OPERATION END ################################################ DECONFIG CLEAN OPERATION SUMMARY #######################
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
#################################################################################### ORACLE DECONFIG TOOL END #############Using properties file /tmp/deinstall2019-09-05_05-11-30AM/response/deinstall_2019-09-05_05-11-45-AM.rsp
Location of logs /tmp/deinstall2019-09-05_05-11-30AM/logs/############ ORACLE DEINSTALL TOOL START ################################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/tmp/deinstall2019-09-05_05-11-30AM/logs/deinstall_deconfig2019-09-05_05-11-45-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2019-09-05_05-11-30AM/logs/deinstall_deconfig2019-09-05_05-11-45-AM.err'######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to ol7-vagrant
Setting CRS_HOME to false
Setting oracle.installer.invPtrLoc to /tmp/deinstall2019-09-05_05-11-30AM/oraInst.loc
Setting oracle.installer.local to false## [END] Preparing for Deinstall ##Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean STARTDetach Oracle home '/u01/app/oracle/product/12.2.0.1/dbhome_1' from the central inventory on the local node : DoneDelete directory '/u01/app/oracle/product/12.2.0.1/dbhome_1' on the local node : DoneDelete directory '/u01/app/oraInventory' on the local node : DoneDelete directory '/u01/app/oracle' on the local node : DoneOracle Universal Installer cleanup was successful.Oracle Universal Installer clean END## [START] Oracle install clean #### [END] Oracle install clean ########################### DEINSTALL CLEAN OPERATION END ################################################ DEINSTALL CLEAN OPERATION SUMMARY #######################
Successfully detached Oracle home '/u01/app/oracle/product/12.2.0.1/dbhome_1' from the central inventory on the local node.
Successfully deleted directory '/u01/app/oracle/product/12.2.0.1/dbhome_1' on the local node.
Successfully deleted directory '/u01/app/oraInventory' on the local node.
Successfully deleted directory '/u01/app/oracle' on the local node.
Oracle Universal Installer cleanup was successful.Run 'rm -r /etc/oraInst.loc' as root on node(s) 'ol7-vagrant' at the end of the session.Run 'rm -r /opt/ORCLfmap' as root on node(s) 'ol7-vagrant' at the end of the session.
Run 'rm -r /etc/oratab' as root on node(s) 'ol7-vagrant' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#################################################################################### ORACLE DEINSTALL TOOL END #############

由于还未创建任何数据库,只是删除数据库软件,因此很快。

以上只是卸载某一次数据库安装,Oracle Inventory还在。
如果想彻底清除,则还需以root用户执行以下:

# cd /etc
# rm oraInst.loc
rm: remove regular file ‘oraInst.loc’? y
# rm oratab
rm: remove regular file ‘oratab’? y

附录

数据库软件安装响应文件的说明:

####################################################################
## Copyright(c) Oracle Corporation 1998,2017. 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_v12.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=#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#-------------------------------------------------------------------------------
ORACLE_HOME=#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE=#-------------------------------------------------------------------------------
# Specify the installation edition of the component.
#
# The value should contain only one of these choices.
#   - EE     : Enterprise Edition
#   - SE2     : Standard Edition 2#-------------------------------------------------------------------------------oracle.install.db.InstallEdition=
###############################################################################
#                                                                             #
# PRIVILEGED OPERATING SYSTEM GROUPS                                          #
# ------------------------------------------                                  #
# Provide values for the OS groups to which SYSDBA and SYSOPER 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 OSDBA_GROUP is the OS group which is to be granted SYSDBA privileges.
#-------------------------------------------------------------------------------
oracle.install.db.OSDBA_GROUP=#------------------------------------------------------------------------------
# The OSOPER_GROUP is the OS group which is to be granted SYSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OSOPER_GROUP=#------------------------------------------------------------------------------
# The OSBACKUPDBA_GROUP is the OS group which is to be granted SYSBACKUP privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSBACKUPDBA_GROUP=#------------------------------------------------------------------------------
# The OSDGDBA_GROUP is the OS group which is to be granted SYSDG privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSDGDBA_GROUP=#------------------------------------------------------------------------------
# The OSKMDBA_GROUP is the OS group which is to be granted SYSKM privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSKMDBA_GROUP=#------------------------------------------------------------------------------
# The OSRACDBA_GROUP is the OS group which is to be granted SYSRAC privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSRACDBA_GROUP=###############################################################################
#                                                                             #
#                               Grid Options                                  #
#                                                                             #
###############################################################################
#------------------------------------------------------------------------------
# Specify the type of Real Application Cluster Database
#
#   - ADMIN_MANAGED: Admin-Managed
#   - POLICY_MANAGED: Policy-Managed
#
# If left unspecified, default will be ADMIN_MANAGED
#------------------------------------------------------------------------------
oracle.install.db.rac.configurationType=#------------------------------------------------------------------------------
# Value is required only if RAC database type is ADMIN_MANAGED
#
# Specify the cluster node names selected during the installation.
# Leaving it blank will result in install on local server only (Single Instance)
#
# 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=#------------------------------------------------------------------------------
# Value is required only if oracle.install.db.isRACOneInstall is true.
#
# Specify the name for RAC One Node Service
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName=#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
#
# Specify a name for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolName=pool1
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolName=#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
#
# Specify a number as cardinality for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolCardinality=2
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolCardinality=###############################################################################
#                                                                             #
#                        Database Configuration Options                       #
#                                                                             #
################################################################################-------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
#   - GENERAL_PURPOSE
#   - DATA_WAREHOUSE
# GENERAL_PURPOSE: A starter database designed for general purpose use or transaction-heavy applications.
# DATA_WAREHOUSE : A starter database optimized for data warehousing applications.
#-------------------------------------------------------------------------------
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 whether the database should be configured as a Container database.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.ConfigureAsContainerDB=#-------------------------------------------------------------------------------
# Specify the  Pluggable Database name for the pluggable database in Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.PDBName=#-------------------------------------------------------------------------------
# Specify the Starter Database character set.
#
#  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=#------------------------------------------------------------------------------
# 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=#-------------------------------------------------------------------------------
# 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.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=###############################################################################
#                                                                             #
# Passwords can be supplied for the following four schemas in the         #
# starter database:                                   #
#   SYS                                                                       #
#   SYSTEM                                                                    #
#   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 DBSNMP password for the starter database.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=#-------------------------------------------------------------------------------
# Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.PDBADMIN=#-------------------------------------------------------------------------------
# Specify the management option to use for managing the database.
# Options are:
# 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
# 2. DEFAULT   -If you want to manage your database using the default Database Express option.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.managementOption=#-------------------------------------------------------------------------------
# Specify the OMS host to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsHost=#-------------------------------------------------------------------------------
# Specify the OMS port to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsPort=#-------------------------------------------------------------------------------
# Specify the EM Admin user name to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminUser=#-------------------------------------------------------------------------------
# Specify the EM Admin password to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminPassword=###############################################################################
#                                                                             #
# SPECIFY RECOVERY OPTIONS                                                #
# ------------------------------------                                    #
# Recovery options for the database can be mentioned using the entries below  #
#                                                                             #
################################################################################------------------------------------------------------------------------------
# This variable is to be set to false if database recovery is not required. Else
# this can be set to true.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableRecovery=#-------------------------------------------------------------------------------
# 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=#-------------------------------------------------------------------------------
# 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 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.storageType=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 true.
#
# Example    : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=#------------------------------------------------------------------------------
# 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 Oracle Support Hub URL.
#
# Example    : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=

参考

  1. http://www.catgovind.com/oracle/how-to-completely-uninstall-oracle-database-12c-windows/
  2. https://oracle-base.com/articles/12c/oracle-db-12cr2-installation-on-oracle-linux-6-and-7

使用静默方式安装Oracle数据库软件相关推荐

  1. 【安装配置】克隆方式安装Oracle数据库软件

    一. 准备工作 有时候,如果几个机器的配置相似,就不需要一遍又一遍地安装数据库软件了.这种情况下可以采用克隆安装的方式,比图形界面和静默安装更快捷. 源主机: A 机 目标主机: B 机 1.   B ...

  2. 通过复制oracle软件方式安装oracle数据库

    通过复制oracle软件方式安装oracle数据库情况只在以下几种情况下出现. 1.在目标服务器没有安装形图界面的. 2.两操作系统版本一致,本示例同为OEL5.8X64. 3.oracle安装用户u ...

  3. 为什么oracle要静默安装程序,静默安装 Oracle数据库软件

    静默安装数据库软件之前,需要将oracle安装环境像正常安装一样配置好, 如果你没有静默安装的响应配置文档,可以使用OUI录制响应文件,记录安装过程:如果有响应配置文档,直接修改安装参数,进行安装or ...

  4. oracle 静默创建库,静默方式创建Oracle数据库

    我前面弄了个<< 通过SHELL脚本快速安装Oracle11gR2软件>>用来快速安装Oracle软件,然后在通过本篇的方式来以静默方式创建Oracle数据库, 能更方便的创建 ...

  5. oracle数据库安装HotSpot,安装Oracle数据库软件遭遇诡异的HotSpot Virtual Machine Error : 11报错...

    虽然也装了很多次的数据库了,可是偶尔还是会碰见一些很无语的错误,前两天在RHEL5.0上安装Oracle 10g 10.2.0.1,起图形后点击下 虽然也装了很多次的数据库了,可是偶尔还是会碰见一些很 ...

  6. 【DBCA -SILENT】静默方式安装11gR2 oracle数据库软件

    [DBCA -SILENT]静默方式安装11gR2数据库软件单实例 BLOG文档结构图 相关文章链接: DBCA静默方式建库 :http://blog.itpub.net/26736162/views ...

  7. oracle静默安装集群,静默安装Oracle数据库10g篇

    静默安装Oracle数据库10g篇 =========================================================================== 以下是在Li ...

  8. oracle数据库某一年的数据总量_Liunx静默安装Oracle数据库

    作者 | kf_dbd 来源 | 咖啡逗不逗(ID: kf_dbd) 转载请联系授权 | (微信ID:xh870545795) 大家好,我是 kf_dbd,很高兴又和大家见面了,今天分享一个Linux ...

  9. DBCA静默安装Oracle数据库

    DBCA静默安装Oracle数据库 DBCA静默安装Oracle软件 准备db_install.rsp文件 静默安装软件 DBCA静默安装数据库 准备工作 准备dbca.rsp文件 修改dbca模板文 ...

最新文章

  1. BeautfuiSoup4解析器
  2. 现在c++链接oracle,C++ 连接Oracle
  3. 支付宝(即时到账批量退款业务错误码)
  4. 【深度学习的数学】激活函数的作用是什么?
  5. nginx 全局配置
  6. vlc源码分析(五) 流媒体的音视频同步
  7. strncpy与strcpy的区别与注意事项
  8. 李沐:工作五年反思!
  9. 1.(单选题) HTML是指,《计算机应用基础》第五阶段在线作业(自测).doc
  10. 赣榆高中2021高考成绩查询,2020年连云港赣榆高考续写辉煌,各大高中“喜报”新鲜出炉...
  11. Android Studio Xposed模块编写(一)
  12. 百度排名规则及算法(百度内部资料)
  13. 比例风险(Cox)回归模型——Proportional hazards model
  14. 学习利用ce修改游戏生命参数
  15. 基于Java的飞机大战的课程设计与实现
  16. 基于 WeDataSphere Prophecis 与 KubeSphere 构建云原生机器学习平台
  17. 爬虫实战【12】使用cookie登陆豆瓣电影以及获取单个电影的所有短评
  18. 漏洞:会话固定攻击(session fixation attack)
  19. ftp服务器上传不了文件怎么办,ftp服务器怎么上传不了文件
  20. EOS系列 - WASM智能合约 - 特性

热门文章

  1. android 剪贴板管理器,Clipper一个强大的剪贴板管理器为Android | MOS86
  2. MP4/MOV/3GP文件的“ftyp”
  3. 基于易语言写QQ音乐播放器
  4. linux server运行稳定,Linux server
  5. Flutter 自定义控件-仿照安卓和抖音图标绘制
  6. ai面谈技巧_AI时代的人际化技巧
  7. android wi-fi框架,Android Wi-Fi 网络选择
  8. Excel VBA MD5 加密 16位 32位
  9. R语言之plot()画图
  10. (一)Spring启示录