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

Oracle "Silent" installation on Linux platform (2)

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Modify the dbca.rsp file:

# it cannot be displayed due to too much content. For more information, please see attachment #

Execute command to create database instance

$dbca-silent-responseFile / u01/database/response/dbca.rsp

Copying database files

...

37% complete

Creating and starting Oracle instance

...

62% complete

Completing Database Creation

...

100% complete

Look at the log file "/ u01/app/oracle/cfgtoollogs/dbca/ORCL/ORCL.log" for further details.

This process takes about ten minutes, and there is usually a progress bar.

Modify the netca.rsp file, or directly create a listener

$netca-silent-responsefile / u01/database/response/netca.rsp

Parsing command line arguments:

Parameter "silent" = true

Parameter "responsefile" = / u01/database/response/netca.rsp

Done parsing command line arguments.

Oracle Net Services Configuration:

Profile configuration complete.

Oracle Net Listener Startup:

RunningListener Control:

/ u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER

ListenerControl complete.

Listenerstarted successfully.

Listener configuration complete.

Oracle Net Services configuration successful. The exitcode is 0

View database network snooping status

$lsnrctl status

LSNRCTL for Linux: Version 11.2.0.3.0-Production on 05-SEP-201415:47:12

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Connecting to (DESCRIPTION= (ADDRESS= (PROTOCOL=IPC) (KEY=EXTPROC1521)

STATUS of the LISTENER

-

Alias LISTENER

Version TNSLSNR for Linux: Version11.2.0.3.0-Production

Start Date 05-SEP-2014 15:45:47

Uptime 0 days 0 hr. 1 min. 25 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File / u01/oracle/product/11.2.0/db_1/network/admin/listener.ora

Listener Log File / u01/oracle/diag/tnslsnr/DS-153/listener/alert/log.xml

Listening Endpoints Summary...

(DESCRIPTION= (ADDRESS= (PROTOCOL=ipc) (KEY=EXTPROC1521)

(DESCRIPTION= (ADDRESS= (PROTOCOL=tcp) (HOST=10.0.0.52) (PORT=1521))

The listener supports no services

The command completed successfully

Log in to the database for testing

$sqlplus / as sysdba

SQL > SELECT SYSDATE FROM DUAL

Attachment: http://down.51cto.com/data/2365580

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