Checking Tempspace: must be greater than 120 MB. Actual 15219 MB Passed Checking swapspace: must be greater than 150 MB. Actual 8149 MB Passed Preparing to launchOracle Universal Installer from /tmp/OraInstall2016-12-09_09-59-49AM. Pleasewait ...[oracle@qhdb2 database]$ [WARNING] [INS-13014] Target environment donot meet some optional requirements. CAUSE: Some of the optional prerequisitesare not met. See logs for details./u01/app/oraInventory/logs/installActions2016-12-09_09-59-49AM.log
ACTION:> You can find thelog of this install session at: /u01/app/oraInventory/logs/installActions2016-12-09_09-59-49AM.log The installation ofOracle Database 11g was successful. Please check'/u01/app/oraInventory/logs/silentInstall2016-12-09_09-59-49AM.log' for moredetails.
As a rootuser, execute the following script(s): 1./u01/app/oracle/product/11.2.4/db_home1/root.sh
Successfully SetupSoftware. OK安装完成、在这里它提示您要以root身份执行 /u01/app/oracle/product/11.2.4/db_home1/root.sh 这个脚本。 [root@qhdb2 ~]#/u01/app/oracle/product/11.2.4/db_home1/root.sh [root@qhdb2 ~]#/u01/app/oracle/product/11.2.4/db_home1/root.sh Check/u01/app/oracle/product/11.2.4/db_home1/install/root_qhdb2_2016-12-09_10-03-22.logfor the output of root script [root@qhdb2 ~]#more /u01/app/oracle/product/11.2.4/db_home1/install/root_qhdb2_2016-12-09_10-03-22.log Performing rootuser operation for Oracle 11g
The followingenvironment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.4/db_home1 Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...
Entries will beadded to the /etc/oratab file as needed by DatabaseConfiguration Assistant when a database is created Finished runninggeneric part of root script. Nowproduct-specific root actions will be performed. Finishedproduct-specific root actions. Finishedproduct-specific root actions. [root@qhdb2 ~]# OK执行完毕、你可以查看日志。YES! 配置监听,我觉得我们使用默认的监听即可。不需要做任何修改 [root@qhdb2response]# less netca.rsp | grep -v"#" |grep -v "^$" [GENERAL] RESPONSEFILE_VERSION="11.2" CREATE_TYPE="CUSTOM" [oracle.net.ca] INSTALLED_COMPONENTS={"server","net8","javavm"} INSTALL_TYPE=""typical"" LISTENER_NUMBER=1 LISTENER_NAMES={"LISTENER"} LISTENER_PROTOCOLS={"TCP;1521"} LISTENER_START=""LISTENER"" NAMING_METHODS={"TNSNAMES","ONAMES","HOSTNAME"} NSN_NUMBER=1 NSN_NAMES={"EXTPROC_CONNECTION_DATA"} NSN_SERVICE={"PLSExtProc"} NSN_PROTOCOLS={"TCP;HOSTNAME;1521"} [root@qhdb2response]# 创建监听 [oracle@qhdb2database]$ $ORACLE_HOME/bin/netca -silent -responseFile/dir/database/response/netca.rsp
Parsing commandline arguments: Parameter "silent" = true Parameter "responsefile" =/dir/database/response/netca.rsp Done parsingcommand line arguments. Oracle Net ServicesConfiguration: Profileconfiguration complete. Oracle Net ListenerStartup: Running Listener Control: /u01/app/oracle/product/11.2.4/db_home1/bin/lsnrctl start LISTENER Listener Control complete. Listener started successfully. Listenerconfiguration complete. Oracle Net Servicesconfiguration successful. The exit code is 0 OK 监听已经完成。 [oracle@qhdb2database]$ lsnrctl status
LSNRCTL for Linux:Version 11.2.0.4.0 - Production on 09-DEC-2016 10:29:07
Copyright (c) 1991,2013, Oracle. All rights reserved.
Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522))) STATUS of theLISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version11.2.0.4.0 - Production Start Date 09-DEC-2016 10:28:20 Uptime 0 days 0 hr. 0 min. 47 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener ParameterFile /u01/app/oracle/product/11.2.4/db_home1/network/admin/listener.ora Listener LogFile /u01/app/oracle/diag/tnslsnr/qhdb2/listener/alert/log.xml Listening EndpointsSummary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=qhdb2)(PORT=1522))) The listenersupports no services The commandcompleted successfully 启动监听OK 。