In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This blog describes how to install oracle11g silently on a linux system (11.2.4.0). It is mainly used for scenarios where graphical display is not convenient, and it is also suitable for scripted batch deployment.
System environment
OS: Oracle Linux Server release 6.7
The software package is installed with mini to reduce the system load and reduce the system vulnerabilities. And install the oracle toolkit to simplify the oracle database installation process. Omit the creation of oracle users and oinstall user rentals, and be able to meet the dependency checking through the oracle installation process.
Silent installation process:
1. Define the directory structure:
Root directory of ORACLE_BASE ORACLE product
Linux recommended setting: ORACLE_BASE=/u01/app/oracle
ORACLE_HOME database product catalog
Linux recommended setting: ORACLE_HOME=/u01/app/oracle/product/11.2.4/dbhome_1
ORACLE_INVENTORY database inventory directory
Linux recommended setting: ORACLE_INVENTORY=/u01/app/oraInventory
two。 Prepare the answer file:
Oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0oracle.install.option=INSTALL_DB_SWONLY # install software only do not create database ORACLE_HOSTNAME=DB-DEV01 # server hostname UNIX_GROUP_NAME=oinstall # Group INVENTORY_LOCATION=/u01/app/oraInventory # specify inventory directory SELECTED_LANGUAGES=en for software installation Zh_CN # Software language ORACLE_HOME=/u01/app/oracle/product/11.2.4/dbhome_1 # ORACLE_HOMEORACLE_BASE=/u01/app/oracle # ORACLE_BASEoracle.install.db.InstallEdition=EE # installation version This example selects the enterprise version of oracle.install.db.EEOptionsSelection=false oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0 Oracle.rdbms.rat:11.2.0.4.0oracle.install.db.DBA_GROUP=dba # oracle.install.db.OPER_GROUP= oracle.install.db.CLUSTER_NODES=oracle.install.db.isRACOneInstall=falseoracle.install.db.racOneServiceName=oracle.install.db.config.starterdb.type=oracle.install.db.config.starterdb.globalDBName=oracle.install.db.config.starterdb.SID=oracle.install.db.config.starterdb.characterSet=AL32UTF8 # character of the specified user when installing the software Set oracle.install.db.config.starterdb.memoryOption=trueoracle.install.db.config.starterdb.memoryLimit=oracle.install.db.config.starterdb.installExampleSchemas=falseoracle.install.db.config.starterdb.enableSecuritySettings=trueoracle.install.db.config.starterdb.password.ALL=oracle.install.db.config.starterdb.password.SYS=oracle.install.db.config.starterdb.password.SYSTEM=oracle.install.db.config.starterdb.password.SYSMAN=oracle.install.db.config.starterdb.password.DBSNMP=oracle.install.db.config.starterdb.control=DB_CONTROLoracle.install.db.config .starterdb.gridcontrol.gridControlServiceURL = oracle.install.db.config.starterdb.automatedBackup.enable=falseoracle.install.db.config.starterdb.automatedBackup.osuid=oracle.install.db.config.starterdb.automatedBackup.ospwd=oracle.install.db.config.starterdb.storageType=oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=oracle.install.db.config.asm.diskGroup=oracle.install.db.config.asm.ASMSNMPPassword=MYORACLESUPPORT_USERNAME=MYORACLESUPPORT_PASSWORD=SECURITY_UPDATES_VIA_MYORACLESUPPORT=DECLINE_SECURITY_UPDATES=truePROXY_HOST=PROXY_PORT=PROXY_USER=PROXY_PWD=PROXY_REALM=COLLECTOR _ SUPPORTHUB_URL=oracle.installer.autoupdates.option=SKIP_UPDATESoracle.installer.autoupdates.downloadUpdatesLoc=AUTOUPDATES_MYORACLESUPPORT_USERNAME=AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
3. Execute installation command
/ directory_path/runInstaller [- silent] [- noconfig]-responseFile / home/oracle/
4. View the installation process
After executing the above command, it will pop up
You can find the log of this install session at:
/ u01/app/oraInventory/logs/installActions2015-12-09 / 10-26-42PM.log
Monitor the installation process using tail-f.
5. After the application is finished, switch to the root user, and the installation of the specified script is finished.
Frequently asked questions and solutions:
1. Could not retrieve local nodename
INFO: Setting value for the property:configcmds in the bean:configcmdmappings
SEVERE: [FATAL] PRVF-0002: Could not retrieve local nodename.
Refer associated stacktrace # oracle.install.commons.util.exception.DefaultErrorAdvisor:35
INFO: Advice is ABORT
SEVERE: Unconditional Exit
INFO: Adding ExitStatus FAILURE to the exit status set
WARNING: A log of this session is currently saved as: / tmp/OraInstall2016-06-26-07-52-09PM/installActions2016-06-26-07-52-09PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is-1
INFO: Shutdown Oracle Database 11g Release 2 Installer
Solution:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.