当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
在step7中实现模拟量数值与工程量数值之间的转换_过路老熊_新浪博客
文献调研(四):基于case-based reasoning、ANN、PCA的建筑小时用电量预测
About the solution to prompt modulenotfounderror: no module named'pymongo 'when running the scratch project
文献调研(三):数据驱动的建筑能耗预测模型综述
Network protocol: detailed explanation of redis protocol
Rocket之消息存储
迅为RK3568开发板使用RKNN-Toolkit-lite2运行测试程序
huibian
Building cloud computers with FRP
10.4.1、数据中台
10.2.3、Kylin_ The dimension is required for kylin
Installation of third-party library iGraph for social network visualization
关于二分和双指针的使用
How postman tests interfaces that require login
MySQL version upgrade + data migration
Sword finger offer 48 Longest substring without duplicate characters
[reprint]rslogix 5000 instance tutorial
Detailed explanation of redis
记录一些cf的题
On the use of bisection and double pointer






![搜索旋转数组II[抽象二分练习]](/img/db/3ea01cf1ad8446a7007891ef1d8e7f.png)


