当前位置:网站首页>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
边栏推荐
- My blog is 2 years old and 167 days old today. I received the pioneer blogger Badge_ Old bear passing by_ Sina blog
- Prototype chain test questions in JS --foo and getname
- Studio5k V28 installation and cracking_ Old bear passing by_ Sina blog
- 10.2.2、Kylin_kylin的安装,上传解压,验证环境变量,启动,访问
- 11.1.2、flink概述_Wordcount案例
- Smt贴片机工作流程
- 《网络是怎么样连接的》读书笔记 - 集线器、路由器和路由器(三)
- JS中的数字数组去重
- P3052 [USACO12MAR]Cows in a Skyscraper G
- Keil compilation run error, missing error: # 5: # includecore_ cm3.h_ Old bear passing by_ Sina blog
猜你喜欢

我的博客今天2岁167天了,我领取了先锋博主徽章_过路老熊_新浪博客

推荐系统设计

如何配置SQL Server 2008管理器_过路老熊_新浪博客

dhcp复习

How to configure SQL Server 2008 Manager_ Old bear passing by_ Sina blog

Literature research (III): overview of data-driven building energy consumption prediction models

文献调研(四):基于case-based reasoning、ANN、PCA的建筑小时用电量预测

Circuit de fabrication manuelle d'un port série de niveau USB à TTL pour PL - 2303hx Old bear passing Sina blog

数组常用的一些操作方法
![Search rotation array ii[Abstract dichotomy exercise]](/img/db/3ea01cf1ad8446a7007891ef1d8e7f.png)
Search rotation array ii[Abstract dichotomy exercise]
随机推荐
【微信公众号H5】 生成带参数进入公众号关注页的二维码 监听用户关注公众号事件 自定义菜单栏 (服务端)
Several common rich text editors
Keil compilation run error, missing error: # 5: # includecore_ cm3.h_ Old bear passing by_ Sina blog
About Simple Data Visualization
记录一些cf的题
JS中常用知识点
[wechat official account H5] generates a QR code with parameters to enter the official account attention page to listen to user-defined menu bar for official account events (server)
Literature research (II): quantitative evaluation of building energy efficiency performance based on short-term energy prediction
利用swiper实现轮播图
Given the parameter n, there will be n integers 1, 2, 3,... From 1 to n, n. These n arrays have n! An arrangement that lists all columns in ascending order of size and marks them one by one. Given n a
On the use of bisection and double pointer
Unable to start debugging. Unexpected GDB output from command “-environment -cd xxx“ No such file or
10.4.1、数据中台
My blog is 2 years old and 167 days old today. I received the pioneer blogger Badge_ Old bear passing by_ Sina blog
手工制作 pl-2303hx 的USB轉TTL電平串口的電路_過路老熊_新浪博客
Building cloud computers with FRP
smt贴片加工行业pcba常见测试方法优劣分析比较
Simulation connection between WinCC and STEP7_ Old bear passing by_ Sina blog
Alipay payment interface sandbox environment test and integration into an SSM e-commerce project
10.3.1、FineBI_ Installation of finebi