Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of silent installation of oracle

2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "what is the method of silent installation of oracle". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Create an account:

Oracle, dba

Configure environment variables

Export ORACLE_SID=testdb

Export ORACLE_UNQNAM=testdb

Export ORACLE_BASE=/u01/app/oracle

Export ORACLE_HOME=$ORACLE_BASE/product/19.3.0/db_1

Export ORACLE_TERM=xterm

Export NLS_DATE_FORMAT= "YYYY:MM:DDHH24:MI:SS"

Export NLS_LANG=american_america.ZHS16GBK

Export PATH=.:$ {JAVA_HOME} / bin:$ {PATH}: $HOME/bin:$ORACLE_HOME/bin

Export LD_LIBRARY_PATH=$ORACLE_HOME/lib

Export THREADS_FLAG=native

Export TEMP=/tmp

Export TMPDIR=/tmp

Umask 022

Stty erase ^ H

Change the entire directory under LINUX.X64_193000_db_home. Copy to / u01/app/oracle/product/19.3.0/db_1

Edit response file

. / runInstaller-silent-force-noconfig-ignorePrereq\

Oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0\

Oracle.install.option=INSTALL_DB_SWONLY\

UNIX_GROUP_NAME=oinstall\

INVENTORY_LOCATION=/u01/app/oraInventory\

ORACLE_BASE=/u01/app/oracle\

ORACLE_HOME=/u01/app/oracle/product/19.3.0/db_1\

Oracle.install.db.InstallEdition=EE\

Oracle.install.db.OSDBA_GROUP=dba\

Oracle.install.db.OSOPER_GROUP=oper\

Oracle.install.db.OSBACKUPDBA_GROUP=dba\

Oracle.install.db.OSDGDBA_GROUP=dba\

Oracle.install.db.OSKMDBA_GROUP=dba\

Oracle.install.db.OSRACDBA_GROUP=dba\

Oracle.install.db.rootconfig.executeRootScript=true\

Oracle.install.db.rootconfig.configMethod=ROOT

Just finish it.

Here, if executeRootScript is executed manually, it will be set to false

Build the database:

Dbca.rsp

[oracle@k8s_master_195 db_1] $cat dbca.rsp

ResponseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v19.0.0

GdbName=testdb

Sid=testdb

SysPassword=huangdz#123

OracleHomeUserPassword=huangdz#123

EmExpressPort=5500

TotalMemory=2048

$ORACLE_HOME/bin/dbca-silent-createDatabase-templateName General_Purpose.dbc-responseFile $ORACLE_HOME/dbca.rsp

Monitoring:

Netca.rsp

$ORACLE_HOME/bin/netca-silent-responsefile $ORACLE_HOME/netca.rsp

[GENERAL]

RESPONSEFILE_VERSION= "19.0"

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"}

This is the end of the content of "what is the method of silent installation of oracle". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report