当前位置:网站首页>dbca静默安装及建库
dbca静默安装及建库
2022-06-25 22:13:00 【文档搬运工】
rdbms 11.2.0.4
-- 静默安装过程
[[email protected] database]$ ./runInstaller -silent -force -showProgress -ignoreSysPrereqs -waitForCompletion -responseFile /home/oracle/database/response/db_install.rsp -ignorePrereq
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 31392 MB Passed
Checking swap space: must be greater than 150 MB. Actual 16383 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2022-06-23_03-21-13PM. Please wait ...You can find the log of this install session at:
/test/app/oraInventory/logs/installActions2022-06-23_03-21-13PM.log
Prepare in progress.
.................................................. 9% Done.
Prepare successful.
Copy files in progress.
.................................................. 14% Done.
.................................................. 20% Done.
.................................................. 26% Done.
.................................................. 31% Done.
.................................................. 36% Done.
.................................................. 41% Done.
.................................................. 46% Done.
.................................................. 51% Done.
.................................................. 56% Done.
.................................................. 63% Done.
.................................................. 68% Done.
.................................................. 73% Done.
.................................................. 78% Done.
.................................................. 83% Done.
..............................
Copy files successful.
Link binaries in progress.
..........
Link binaries successful.
Setup files in progress.
.................................................. 88% Done.
.................................................. 94% Done.
Setup files successful.
The installation of Oracle Database 11g was successful.
Please check '/test/app/oraInventory/logs/silentInstall2022-06-23_03-21-13PM.log' for more details.
Execute Root Scripts in progress.
As a root user, execute the following script(s):
1. /test/app/oraInventory/orainstRoot.sh
2. /test/app/oracle/product/11.2.0/db_1/root.sh
.................................................. 100% Done.
Execute Root Scripts successful.
Successfully Setup Software.
[[email protected] database]$ -- 安装监听,没有配置netca.rep响应文件
netca -silent -responsefile /home/oracle/database/response/netca.rsp
[[email protected] bin]$ ./netca -silent -responsefile /home/oracle/database/response/netca.rsp
Parsing command line arguments:
Parameter "silent" = true
Parameter "responsefile" = /home/oracle/database/response/netca.rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
Profile configuration complete.
Oracle Net Listener Startup:
Running Listener Control:
/test/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER
Listener Control complete.
Listener started successfully.
Listener configuration complete.
Oracle Net Services configuration successful. The exit code is 0
[[email protected] bin]$ -- dbca建库
dbca -silent -responseFile /tmp/database/response/dbca.rsp -- 没有用这个
-- 使用下面的dbca命令建库
dbca -silent -createDatabase \
-templateName General_Purpose.dbc \
-responseFile NO_VALUE \
-gdbname prod \
-sid prod \
-sysPassword oracle \
-systemPassword oracle \
-redoLogFileSize 2048 \
-storageType FS \
-datafileDestination /test/app/oradata \
-characterSet AL32UTF8 \
-nationalCharacterSet AL16UTF16 \
-emConfiguration NONE \
-automaticMemoryManagement false \
-totalMemory 4096 \
-databaseType OLTP-- 过程
[[email protected] oradata]$ dbca -silent -createDatabase \
> -templateName General_Purpose.dbc \
> -responseFile NO_VALUE \
> -gdbname prod \
> -sid prod \
> -sysPassword oracle \
> -systemPassword oracle \
> -redoLogFileSize 2048 \
> -storageType FS \
> -datafileDestination /test/app/oradata \
> -characterSet AL32UTF8 \
> -nationalCharacterSet AL16UTF16 \
> -emConfiguration NONE \
> -automaticMemoryManagement false \
> -totalMemory 4096 \
> -databaseType OLTP
Copying database files
1% complete
3% complete
11% complete
18% complete
26% complete
37% complete
Creating and starting Oracle instance
40% complete
45% complete
50% complete
55% complete
56% complete
60% complete
62% complete
Completing Database Creation
66% complete
70% complete
73% complete
85% complete
96% complete
100% complete
Look at the log file "/test/app/oracle/cfgtoollogs/dbca/prod/prod.log" for further details.
[[email protected] oradata]$
[[email protected] oradata]$ -- log信息
[[email protected] oradata]$ more /test/app/oracle/cfgtoollogs/dbca/prod/prod.log
Copying database files
File "/etc/oratab" is not accessible.
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 11%
DBCA_PROGRESS : 18%
DBCA_PROGRESS : 26%
DBCA_PROGRESS : 37%
Creating and starting Oracle instance
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 50%
DBCA_PROGRESS : 55%
DBCA_PROGRESS : 56%
DBCA_PROGRESS : 60%
DBCA_PROGRESS : 62%
Completing Database Creation
DBCA_PROGRESS : 66%
DBCA_PROGRESS : 70%
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 85%
DBCA_PROGRESS : 96%
DBCA_PROGRESS : 100%
Database creation complete. For details check the logfiles at:
/test/app/oracle/cfgtoollogs/dbca/prod.
Database Information:
Global Database Name:prod
System Identifier(SID):prod
[[email protected] oradata]$ 这个很快,主要慢的地方是配置响应文件。
END
边栏推荐
- 兆欧表电压档位选择_过路老熊_新浪博客
- 手工制作 pl-2303hx 的USB转TTL电平串口的电路_过路老熊_新浪博客
- Keil compilation run error, missing error: # 5: # includecore_ cm3.h_ Old bear passing by_ Sina blog
- [转载]RSLOGIX 5000实例教程
- 我的博客今天2岁167天了,我领取了先锋博主徽章_过路老熊_新浪博客
- Lazy people teach you to use kiwi fruit to lose 16 kg in a month_ Old bear passing by_ Sina blog
- SMT贴片加工pcba立碑现象的原因和解决方法
- Mysql5.7.31自定义安装详细说明
- How to configure SQL Server 2008 Manager_ Old bear passing by_ Sina blog
- Number array de duplication in JS
猜你喜欢

dhcp复习

keil编译运行错误,缺少error:#5:#includecore_cm3.h_过路老熊_新浪博客

Literature research (I): hourly energy consumption prediction of office buildings based on integrated learning and energy consumption pattern classification

Redis之跳跃表

WINCC与STEP7的仿真连接_过路老熊_新浪博客

Final and static

10.4.1、數據中臺

博图软件中多重背景块的建立_过路老熊_新浪博客

社交网络可视化第三方库igraph的安装

推荐系统设计
随机推荐
文献调研(四):基于case-based reasoning、ANN、PCA的建筑小时用电量预测
别再吃各种维生素C片了,这6种维生素C含量最高的水果
Search rotation array ii[Abstract dichotomy exercise]
SSM integrated learning notes (mainly ideas)
Summary of c++ references and pointers
推荐系统设计
Talk about singleton mode!
Studio5k V28 installation and cracking_ Old bear passing by_ Sina blog
《网络是怎么样连接的》读书笔记 - 集线器、路由器和路由器(三)
MySQL version upgrade + data migration
10.2.2、Kylin_kylin的安装,上传解压,验证环境变量,启动,访问
SMT贴片加工PCBA板清洗注意事项
Prototype chain test questions in JS --foo and getname
redis之集群
Literature research (II): quantitative evaluation of building energy efficiency performance based on short-term energy prediction
PCB生产为什么要做拼板和板边
Unsigned and signed vernacular
Transformation of communication protocol between Siemens S7-200PLC and Danfoss inverter_ Old bear passing by_ Sina blog
Establishment of multiple background blocks in botu software_ Old bear passing by_ Sina blog
Find the minimum value of flipped array [Abstract bisection]