环境:Centos 6.5 64
目的:无图形界面安装Oracle数据库
版本:11g 64
一、系统配置
1.安装相关依赖包,可通过挂载镜像或者阿里云、网易云等开源镜像站
1yum install binutils -y 2yum install compat-libcap1 -y 3yum install compat-libstdc++-33 -y 4yum install gcc -y 5yum install gcc-c++ -y 6yum install glibc -y 7yum install glibc-devel -y 8yum install ksh -y 9yum install libgcc -y 10yum install libstdc++ -y 11yum install libstdc++-devel -y 12yum install libaio -y 13yum install libaio-devel -y 14yum install libXext -y 15yum install libXtst -y 16yum install libX11 -y 17yum install libXau -y 18yum install libxcb -y 19yum install libXi -y 20yum install make -y 21yum install sysstat -y 22yum install unixODBC -y 23yum install unixODBC-devel -y
2.配置hosts文件,请根据自身实际情况配置,我的测试机如下所示:
1127.0.0.1 localhost oracle 2192.168.11.92 oracle
3.添加用户和组设置用户密码,并配置orace用户环境变量
1groupadd -g 501 oinstall 2groupadd -g 502 dba 3useradd -g oinstall -G dba oracle 4passwd oracle
环境变量,ORACLE_HOSTNAME即主机名
1PS1="[`whoami`@`hostname`:"'$PWD]$' 2alias sqlplus="rlwrap sqlplus" #该工具可以自行下载,sql命令行记忆工具 3alias rman="rlwrap rman" # 4export PS1 5export TMP=/tmp 6export LANG=en_US 7export TMPDIR=$TMP 8export ORACLE_HOSTNAME=oracle 9export ORACLE_UNQNAME=orcl 10ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE 11ORACLE_HOME=$ORACLE_BASE/product/11.2.0.4/db_1; export ORACLE_HOME 12ORACLE_SID=orcl; export ORACLE_SID 13ORACLE_TERM=xterm; export ORACLE_TERM 14NLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS"; export NLS_DATE_FORMAT 15NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG 16PATH=.:$PATH:$HOME/bin:$ORACLE_BASE/product/11.2.0.4/db_1/bin:$ORACLE_HOME/bin; export PATH 17THREADS_FLAG=native; export THREADS_FLAG 18if [ $USER = "oracle" ] || [ $USER = "grid" ]; then 19 if [ $SHELL = "/bin/ksh" ]; then 20 ulimit -p 16384 21 ulimit -n 65536 22 else 23 ulimit -u 16384 -n 65536 24 fi 25 umask 022 26fi
保存后刷新环境变量
source ~/.bash_profile
4.创建相关目录并授权
1mkdir -p /u01/app/oracle 2mkdir -p /u01/app/oraInventory 3mkdir -p /u01/app/oracle/product/11.2.0.4/db_1 4chown -R oracle:oinstall /u01/ 5chmod -R 755 /u01/ 6chown -R oracle:oinstall /oradata/ #存放数据文件目录也要授权 7chmod -R 755 /oradata/
6.修改操作系统参数
1oracle soft nproc 2047 2oracle hard nproc 16384 3oracle soft nofile 1024 4oracle hard nofile 65536 5oracle soft stack 10240 6oracle hard stack 32768
7.禁用selinux并关闭防火墙
1sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config 2setenforce 0 3service iptables stop
8.修改内核参数
fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmmax = 2147483648kernel.shmall = 2097152kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586
使内核参数立即生效
1让配置生效 2sysctl -p
9.修改/etc/pam.d/login文件,在文件末尾追加
session required pam_limits.so
10.修改/etc/security/limits.d/90-nproc.conf文件内容
1#* soft nproc 1024 2#root soft nproc unlimited 3* - nproc 16384
二、开始静默安装数据库
上传数据库安装包以及解压包就不用写了,这里直接开始安装。
1.编辑db_install.rsp文件,文件在/database/response/db_install.rsp
1[oracle@oracle:/u01/database/response]$grep -Ev "^$|^#" db_install.rsp 2oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 3oracle.install.option=INSTALL_DB_SWONLY 4ORACLE_HOSTNAME=oracle 5UNIX_GROUP_NAME=oinstall 6INVENTORY_LOCATION=/u01/app/oraInventory 7SELECTED_LANGUAGES=en 8ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/db_1 9ORACLE_BASE=/u01/app/oracle 10oracle.install.db.InstallEdition=EE 11oracle.install.db.EEOptionsSelection=false 12oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0 13oracle.install.db.DBA_GROUP=dba 14oracle.install.db.OPER_GROUP= 15oracle.install.db.CLUSTER_NODES= 16oracle.install.db.isRACOneInstall= 17oracle.install.db.racOneServiceName= 18oracle.install.db.config.starterdb.type=GENERAL_PURPOSE 19oracle.install.db.config.starterdb.globalDBName=orcl 20oracle.install.db.config.starterdb.SID=orcl 21oracle.install.db.config.starterdb.characterSet=ZHS16GBK 22oracle.install.db.config.starterdb.memoryOption=true 23oracle.install.db.config.starterdb.memoryLimit=400 24oracle.install.db.config.starterdb.installExampleSchemas=false 25oracle.install.db.config.starterdb.enableSecuritySettings=true 26oracle.install.db.config.starterdb.password.ALL=oracle 27oracle.install.db.config.starterdb.password.SYS= 28oracle.install.db.config.starterdb.password.SYSTEM= 29oracle.install.db.config.starterdb.password.SYSMAN= 30oracle.install.db.config.starterdb.password.DBSNMP= 31oracle.install.db.config.starterdb.control=DB_CONTROL 32oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL= 33oracle.install.db.config.starterdb.automatedBackup.enable=false 34oracle.install.db.config.starterdb.automatedBackup.osuid= 35oracle.install.db.config.starterdb.automatedBackup.ospwd= 36oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE 37oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/oradata 38oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=/u01/app/oracle/fast_recovery_area 39oracle.install.db.config.asm.diskGroup= 40oracle.install.db.config.asm.ASMSNMPPassword= 41MYORACLESUPPORT_USERNAME= 42MYORACLESUPPORT_PASSWORD= 43SECURITY_UPDATES_VIA_MYORACLESUPPORT= 44DECLINE_SECURITY_UPDATES=true 45PROXY_HOST= 46PROXY_PORT= 47PROXY_USER= 48PROXY_PWD= 49PROXY_REALM= 50COLLECTOR_SUPPORTHUB_URL= 51oracle.installer.autoupdates.option=SKIP_UPDATES 52oracle.installer.autoupdates.downloadUpdatesLoc= 53AUTOUPDATES_MYORACLESUPPORT_USERNAME= 54AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
2.静默安装
查看runInstaller参数,根据自身需求进行设置
1[oracle@oracle:/u01/database]$./runInstaller -help 2Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-12-25_09-10-18PM. Please wait ...[oracle@oracle:/u01/database]$Usage: 3runInstaller [-options] [(<CommandLineVariable=Value>)*] 4 5Where options include: 6 -clusterware oracle.crs,<crs version> 7 Version of Cluster ready services installed. 8 9 -crsLocation <Path> 10 Used only for cluster installs, specifies the path to the crs home location. Specifying this overrides CRS information obtained from central inventory. 11 12 -invPtrLoc <full path of oraInst.loc> 13 Unix only. To point to a different inventory location. The orainst.loc file contains: 14inventory_loc=<location of central inventory> 15inst_group=<> 16 17 -jreLoc <location> 18 Path where Java Runtime Environment is installed. OUI cannot be run without it. 19 20 -logLevel <level> 21 To filter log messages that have a lesser priority level than <level>. Valid options are: severe, warning, info, config, fine, finer, finest, basic, general, detailed, trace. The use of basic, general, detailed, trace is deprecated. 22 23 -paramFile <location of file> 24 Specify location of oraparam.ini file to be used by OUI. 25 26 -responseFile <Path> 27 Specifies the response file and path to use. 28 29 -attachHome 30 For attaching homes to the OUI inventory. 31 32 -cfs 33 Indicates that the Oracle home specified is on cluster file system (shared). This is mandatory when '-local' is specified so that Oracle Universal Installer can register the home appropriately into the inventory. 34 35 -clone 36 For making an Oracle Home copy match its current environment. 37 38 -debug 39 For getting the debug information from OUI. 40 41 -detachHome 42 For detaching homes from the OUI inventory without deleting inventory directory inside Oracle home. 43 44 -enableRollingUpgrade 45 Used in cluster environment, to enable upgrade of a product on a subset of nodes (on which the product was installed). 46 47 -executeSysPrereqs 48 Execute system pre-requisite checks and exit. 49 50 -force 51 Allowing silent mode installation into a non-empty directory. 52 53 -help 54 Displays above usage. 55 56 -ignoreSysPrereqs 57 For ignoring the results of the system pre-requisite checks. 58 59 -local 60 Performs the operation on the local node irrespective of the cluster nodes specified. 61 62 -printdiskusage 63 Log debug information for disk usage. 64 65 -printmemory 66 Log debug information for memory usage. 67 68 -printtime 69 Log debug information for time usage. 70 71 -relink 72 For performing relink actions on the oracle home 73 Usage: -relink -maketargetsxml <location of maketargetsxml> [-makedepsxml <location of makedepsxml>] [name=value] 74 75 -silent 76 For silent mode operations, the inputs can be a response file or a list of command line variable value pairs. 77 78 -waitforcompletion 79 Installer will wait for completion instead of spawning the java engine and exiting. 80 81 -suppressPreCopyScript 82 Suppress the execution of precopy script. 83 84 -acceptUntrustedCertificates 85 Accept untrusted certificates from a secure site. 86 87 -suppressPostCopyScript 88 Suppress the execution of postcopy script. 89 90 -noconfig 91 Do not execute config tools. 92 93 -noconsole 94 For suppressing display of messages to console. Console is not allocated. 95 96 -formCluster 97 To install the Oracle clusterware in order to form the cluster. 98 99 -remotecp <Path> 100 Unix specific option. Used only for cluster installs, specifies the path to the remote copy program on the local cluster node. 101 102 -remoteshell <Path> 103 Unix specific option. Used only for cluster installs, specifies the path to the remote shell program on the local cluster node. 104 105 -executePrereqs 106 To execute only the prerequisite checks. 107 108 -ignorePrereq 109 To ignore running the prerequisite checks. 110 111 -ignoreInternalDriverError 112 To ignore any internal driver errors. 113 114 -downloadUpdates 115 To download updates only. 116 117 -showProgress 118 To show the installation progress on the console. This option is supported only in case of silent installation. 119 120Command Line Variables Usage 121 Command line variables are specified using <name=value>; for example: 122 [ session: | compName: | compName:version: ]variableName=" valueOfVariable"] 123 124 Session/Installer variables are specified using: 125 [session:]varName=value 126 Ex 1: session:ORACLE_HOME_NAME="OraHome" 127 Ex 2: ORACLE_HOME_NAME="OraHome" 128 The lookup order is session:varName then just varName. The session prefix is used to avoid ambiguity. 129 130 Component variables are specified using: 131 [compInternalName:[Version:]]varName 132 Ex 1: oracle.comp1:1.0.1:varName="VarValue" 133 Ex 2: oracle.comp1:varName="VarValue" 134 The lookup order is compInternalName:Version:varName, then compInternalName:varName, then just varName.
安装命令
[oracle@oracle:/u01/database]$./runInstaller -silent -ignoreSysPrereqs -showProgress -responseFile /u01/database/response/db_install.rsp
参数解释
1silent 静默安装 2-ignorePrereq 忽略检查结果 3showProgress 显示进度 4responseFile db_install.rsp文件所在路径,绝对路径
安装结果
1[oracle@oracle:/u01/database]$./runInstaller -silent -ignoreSysPrereqs -showProgress -responseFile /u01/database/response/db_install.rsp 2Starting Oracle Universal Installer... 3 4Checking Temp space: must be greater than 120 MB. Actual 21612 MB Passed 5Checking swap space: must be greater than 150 MB. Actual 4095 MB Passed 6Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-12-25_07-38-34PM. Please wait ...[oracle@oracle:/u01/database]$[WARNING] [INS-13014] Target environment do not meet some optional requirements. 7 CAUSE: Some of the optional prerequisites are not met. See logs for details. /tmp/OraInstall2018-12-25_07-38-34PM/installActions2018-12-25_07-38-34PM.log 8 ACTION: Identify the list of failed prerequisite checks from the log: /tmp/OraInstall2018-12-25_07-38-34PM/installActions2018-12-25_07-38-34PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually. 9You can find the log of this install session at: 10 /u01/app/oraInventory/logs/installActions2018-12-25_07-38-34PM.log 11 12Prepare in progress. 13.................................................. 9% Done. 14 15Prepare successful. 16 17Copy files in progress. 18.................................................. 14% Done. 19.................................................. 20% Done. 20.................................................. 26% Done. 21.................................................. 31% Done. 22.................................................. 36% Done. 23.................................................. 41% Done. 24.................................................. 46% Done. 25.................................................. 51% Done. 26.................................................. 56% Done. 27.................................................. 63% Done. 28.................................................. 68% Done. 29.................................................. 73% Done. 30.................................................. 78% Done. 31.................................................. 83% Done. 32.............................. 33Copy files successful. 34 35Link binaries in progress. 36.......... 37Link binaries successful. 38 39Setup files in progress. 40.................................................. 88% Done. 41.................................................. 94% Done. 42 43Setup files successful. 44The installation of Oracle Database 11g was successful. 45Please check '/u01/app/oraInventory/logs/silentInstall2018-12-25_07-38-34PM.log' for more details. 46 47Execute Root Scripts in progress. 48 49As a root user, execute the following script(s): 50 1. /u01/app/oraInventory/orainstRoot.sh 51 2. /u01/app/oracle/product/11.2.0.4/db_1/root.sh 52 53 54.................................................. 100% Done. 55 56Execute Root Scripts successful. 57Successfully Setup Software.
在root用户下,手动执行以下脚本
1. /u01/app/oraInventory/orainstRoot.sh
- /u01/app/oracle/product/11.2.0.4/db_1/root.sh
三、数据库创建
了解参数,如提示找不到dbca命令,请仔细检查oracle用户的环境变量
1[oracle@oracle:/home/oracle]$dbca -help 2dbca [-silent | -progressOnly | -customCreate] {<command> <options> } | { [<command> [options] ] -responseFile <response file > } [-continueOnNonFatalErrors <true | false>] 3Please refer to the manual for details. 4You can enter one of the following command: 5 6Create a database by specifying the following parameters: 7 -createDatabase 8 -templateName <name of an existing template in default location or the complete template path> 9 [-cloneTemplate] 10 -gdbName <global database name> 11 [-sid <database system identifier>] 12 [-sysPassword <SYS user password>] 13 [-systemPassword <SYSTEM user password>] 14 [-emConfiguration <CENTRAL|LOCAL|ALL|NONE> 15 -dbsnmpPassword <DBSNMP user password> 16 -sysmanPassword <SYSMAN user password> 17 [-hostUserName <Host user name for EM backup job> 18 -hostUserPassword <Host user password for EM backup job> 19 -backupSchedule <Daily backup schedule in the form of hh:mm>] 20 [-centralAgent <Enterprise Manager central agent home>]] 21 [-disableSecurityConfiguration <ALL|AUDIT|PASSWORD_PROFILE|NONE> 22 [-datafileDestination <destination directory for all database files> | -datafileNames <a text file containing database objects such as controlfiles, tablespaces, redo log files and spfile to their corresponding raw device file names mappings in name=value format.>] 23 [-redoLogFileSize <size of each redo log file in megabytes>] 24 [-recoveryAreaDestination <destination directory for all recovery files>] 25 [-datafileJarLocation <location of the data file jar, used only for clone database creation>] 26 [-storageType < FS | ASM > 27 [-asmsnmpPassword <ASMSNMP password for ASM monitoring>] 28 -diskGroupName <database area disk group name> 29 -recoveryGroupName <recovery area disk group name> 30 [-characterSet <character set for the database>] 31 [-nationalCharacterSet <national character set for the database>] 32 [-registerWithDirService <true | false> 33 -dirServiceUserName <user name for directory service> 34 -dirServicePassword <password for directory service > 35 -walletPassword <password for database wallet >] 36 [-listeners <list of listeners to configure the database with>] 37 [-variablesFile <file name for the variable-value pair for variables in the template>]] 38 [-variables <comma separated list of name=value pairs>] 39 [-initParams <comma separated list of name=value pairs>] 40 [-sampleSchema <true | false> ] 41 [-memoryPercentage <percentage of physical memory for Oracle>] 42 [-automaticMemoryManagement ] 43 [-totalMemory <memory allocated for Oracle in MB>] 44 [-databaseType <MULTIPURPOSE|DATA_WAREHOUSING|OLTP>]] 45 46Configure a database by specifying the following parameters: 47 -configureDatabase 48 -sourceDB <source database sid> 49 [-sysDBAUserName <user name with SYSDBA privileges> 50 -sysDBAPassword <password for sysDBAUserName user name>] 51 [-registerWithDirService|-unregisterWithDirService|-regenerateDBPassword <true | false> 52 -dirServiceUserName <user name for directory service> 53 -dirServicePassword <password for directory service > 54 -walletPassword <password for database wallet >] 55 [-disableSecurityConfiguration <ALL|AUDIT|PASSWORD_PROFILE|NONE> 56 [-enableSecurityConfiguration <true|false> 57 [-emConfiguration <CENTRAL|LOCAL|ALL|NONE> 58 -dbsnmpPassword <DBSNMP user password> 59 -sysmanPassword <SYSMAN user password> 60 [-hostUserName <Host user name for EM backup job> 61 -hostUserPassword <Host user password for EM backup job> 62 -backupSchedule <Daily backup schedule in the form of hh:mm>] 63 [-centralAgent <Enterprise Manager central agent home>]] 64 65 66Create a template from an existing database by specifying the following parameters: 67 -createTemplateFromDB 68 -sourceDB <service in the form of <host>:<port>:<sid>> 69 -templateName <new template name> 70 -sysDBAUserName <user name with SYSDBA privileges> 71 -sysDBAPassword <password for sysDBAUserName user name> 72 [-maintainFileLocations <true | false>] 73 74 75Create a clone template from an existing database by specifying the following parameters: 76 -createCloneTemplate 77 -sourceSID <source database sid> 78 -templateName <new template name> 79 [-sysDBAUserName <user name with SYSDBA privileges> 80 -sysDBAPassword <password for sysDBAUserName user name>] 81 [-maintainFileLocations <true | false>] 82 [-datafileJarLocation <directory to place the datafiles in a compressed format>] 83 84Generate scripts to create database by specifying the following parameters: 85 -generateScripts 86 -templateName <name of an existing template in default location or the complete template path> 87 -gdbName <global database name> 88 [-scriptDest <destination for all the scriptfiles>] 89 90Delete a database by specifying the following parameters: 91 -deleteDatabase 92 -sourceDB <source database sid> 93 [-sysDBAUserName <user name with SYSDBA privileges> 94 -sysDBAPassword <password for sysDBAUserName user name>]
数据库创建
1[oracle@oracle:/home/oracle]$dbca -silent -createDatabase -characterset ZHS16GBK -templateName $ORACLE_HOME/assistants/dbca/templates/General_Purpose.dbc -gdbName orcl -sid orcl -sysPassword oracle -systemPassword oracle -datafileDestination /u01/app/oradata/ 2Copying database files 31% complete 43% complete 511% complete 618% complete 726% complete 833% complete 937% complete 10Creating and starting Oracle instance 1140% complete 1245% complete 1350% complete 1455% complete 1556% complete 1660% complete 1762% complete 18Completing Database Creation 1966% complete 2070% complete 2173% complete 2285% complete 2396% complete 24100% complete 25Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/orcl/orcl.log" for further details.
参数解释
1-silent 静默 2-createDatabase 创建数据库 3-characterset 字符集 4-templateName 模板 5-gdbName 全局数据库名称 6-sid 实例名称 7-sysPassword sys 用户密码 8-systemPassword system用户密码 9-datafileDestination 指定数据文件存放路径,我这里忘记加了。不加默认是在ORACLE_BASE路径下
测试数据库是否正常
1[oracle@oracle:/home/oracle]$sqlplus / as sysdba 2 3SQL*Plus: Release 11.2.0.4.0 Production on Tue Dec 25 21:26:56 2018 4 5Copyright (c) 1982, 2013, Oracle. All rights reserved. 6 7 8Connected to: 9Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production 10With the Partitioning, OLAP, Data Mining and Real Application Testing options 11 12SQL> alter system register; 13 14System altered. 15 16SQL> / 17 18System altered. 19 20SQL> exit
注意,密码需指定,不然会有以下提示
A value for the command line argument "systemPassword" is not provided. We cannot proceed without a value for this argument.
四、监听配置
了解参数
1[oracle@oracle:/u01/app/oracle/product/11.2.0.4/db_1/network/admin]$netca -help 2Usage: netca [-silent] {<command> <options>} 3 4Perform network configuration by specifying the following arguments: 5 [-silent] 6 -responsefile <Response file name>] 7 [-local {Perform configuration on only local node}] 8 -instype <typical|custom> 9 [-listener <Listener name (only for custom install)>] 10 [-lisport <TCP/IP port number>] 11 [-lps <Starting TCP/IP port number (only for typical install)>] 12 [-lpe <Ending TCP/IP port number (only for typical install)>] 13 [-netnum <Network resource number (only for RAC)>] 14 [-nostartlsnr {Do not start listener}] 15 [-crsupgrade {Upgrade default listener from lower version database home to Grid Infrastructure home (only for RAC)}] 16 [-inscomp <Comma separated list of installed components>] 17 [-insprtcl <Comma separated list of installed protocols>] 18 [-orahome <Oracle home>] 19 [-orahnam <Oracle home name>] 20 [-log <Log file name>] 21 [-h|-help {Print usage}]
配置监听
1[oracle@oracle:/u01/database/response]$netca -silent -responseFile /u01/database/response/netca.rsp 2 3Parsing command line arguments: 4 Parameter "silent" = true 5 Parameter "responsefile" = /u01/database/response/netca.rsp 6Done parsing command line arguments. 7Oracle Net Services Configuration: 8Profile configuration complete. 9Oracle Net Listener Startup: 10 Running Listener Control: 11 /u01/app/oracle/product/11.2.0.4/db_1/bin/lsnrctl start LISTENER 12 Listener Control complete. 13 Listener started successfully. 14Listener configuration complete. 15Oracle Net Services configuration successful. The exit code is 0
查看监听状态
1[oracle@oracle:/u01/app/oracle/product/11.2.0.4/db_1/network/admin]$lsnrctl status 2 3LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 25-DEC-2018 21:36:03 4 5Copyright (c) 1991, 2013, Oracle. All rights reserved. 6 7Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) 8STATUS of the LISTENER 9------------------------ 10Alias LISTENER 11Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production 12Start Date 25-DEC-2018 21:33:07 13Uptime 0 days 0 hr. 2 min. 57 sec 14Trace Level off 15Security ON: Local OS Authentication 16SNMP OFF 17Listener Parameter File /u01/app/oracle/product/11.2.0.4/db_1/network/admin/listener.ora 18Listener Log File /u01/app/oracle/diag/tnslsnr/oracle/listener/alert/log.xml 19Listening Endpoints Summary... 20 (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) 21 (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))) 22Services Summary... 23Service "orcl" has 1 instance(s). 24 Instance "orcl", status READY, has 1 handler(s) for this service... 25Service "orclXDB" has 1 instance(s). 26 Instance "orcl", status READY, has 1 handler(s) for this service... 27The command completed successfully
至此,静默安装已完成