In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Copyright of the article is Jusin Hao (luckyfriends), original is supported, please specify if reproduced
@ echo off
Cd c:\
Md Oracle
"C:\ Program Files (x86)\ WinRAR\ winrar.exe" x C:\ win64_11gR1_database.zip C:\ Oracle
Copy / y c:\ refhost.xml c:\ Oracle\ database\ stage\ prereq\ db
Echo wait.
Echo date% time%
Echo "start setup Oracle..." > > LogInfo.txt
Cd c:\ Oracle\ database
Setup.exe-silent-force-waitforcompletion-responseFile c:\ installOracle.rsp-nowait
If% ERRORLEVEL% = = 0 echo "oracle setup COMPLETE" > > LogInfo.txt
Echo date% time% > > LogInfo.txt
Rem delay....
Echo "oracle start linsenning.." > > LogInfo.txt
@ set OH=C:\ app\ Administrator\ product\ 11.1.0\ db_1
@ set PATH=%OH%\ BIN;%PATH%
REM echo PATH%
Call% OH%\ BIN\ netca / silent / responseFile c:\ netca.rsp
If ERRORLEVEL% = = 0 echo "netcaSUCCESS!" > > LogInfo.txt
If% ERRORLEVEL% = = 1 echo "netcaFAIL!" > > LogInfo.txt
Echo date% time% > > LogInfo.txt
Echo "oracle start set ORCL..." > > LogInfo.txt
Call% OH%\ BIN\ dbca-silent-createDatabase-templateName c:\ orcl.dbc-gdbname "orcl"-sid "orcl"-emConfiguration LOCAL-sysPassword "Huawei@123"-systemPassword "Huawei@123"-DBSNMPPASSWORD "Huawei@123"-SYSMANPASSWORD "Huawei@123"
If ERRORLEVEL% = = 0 echo "oracleORCL_SUCCESS!" > > LogInfo.txt
If% ERRORLEVEL% = = 1 echo "oracleORCL_FAIL!" > > LogInfo.txt
Echo date% time% > > LogInfo.txt
Exit 0
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.