版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
安裝Oracle軟件并構(gòu)建數(shù)據(jù)庫(kù)
目的
本章讓您熟悉如何使用OracleUniversalInstaller(OUI)安裝您的
Oracle數(shù)據(jù)庫(kù)軟件并創(chuàng)建數(shù)據(jù)庫(kù)。您將學(xué)習(xí)如何使用Database
ConfigurationAssistant(DBCA)創(chuàng)建附加數(shù)據(jù)庫(kù)。
主題
本章討論了如下內(nèi)容:
□
□
查看屏幕界面
8將您的鼠標(biāo)移動(dòng)到該圖標(biāo)上以顯示所有的屏幕界面。您還能夠?qū)⒛氖髽?biāo)
移到每一個(gè)圖標(biāo)上,以?xún)H查看與之關(guān)聯(lián)的屏幕界面。
使用OracleUniversalInstaller(OUI)安裝軟件
您能夠使用OracleUniversalInstaller(OUI)安裝您的Oracle軟件。
OUI是一個(gè)GUI工具,能夠使您查看安裝在您的機(jī)器上的Oracle軟件,安
裝新的Oracle軟件,并刪除您不再需要使用的Oracle軟件。
按照下列步驟安裝Oracle軟件并創(chuàng)建數(shù)據(jù)庫(kù):
r作為管理組小組登錄到您的計(jì)算機(jī)上,此小組有權(quán)限安裝Oracle軟件并創(chuàng)建與運(yùn)行
L數(shù)據(jù)庫(kù)。
L將提供給您的數(shù)據(jù)庫(kù)CD插入光驅(qū)。Autorun窗口將自動(dòng)顯示。選擇
I2
?Install/DeinstallProductso
注意:假如您從Oracle的站點(diǎn)下載軟件,請(qǐng)遵循網(wǎng)站上公布的如下指示。
rOracleUniversalInstallerWelcome窗口出現(xiàn)。選擇Next開(kāi)始安裝您的軟件
L在UNIX與Linux安裝時(shí),SpecifyInventorydirectoryandcredentials窗口
4-出現(xiàn)。輸入安裝Oracle軟件的完整目錄或者同意缺省值。輸入操作系統(tǒng)組名稱(chēng),
此組具有目錄寫(xiě)權(quán)限。單擊Nexto單擊0K。
£3OracleUniversalInstaller:SpecifyInventory/bgCftHyandcredentialsjKITI
SpecifyInventorydirectoryandcredentials
Youarestartingyourfirstinstallationonthishost.Aspanofthisinstallyouneedtospecifya
directoryforinstallerfiles.Thisiscalledthe"inventorydirector/.Withintheinventorydirectorythe
installerautomaticalb/setsupsubdirectoriesforeachproducttocontaininventorydataandwill
consumetopically150Kilobytesperproduct.
EnterthefullpathoftheInventorydirectory
|/u01/app/orade/oralnventoryBrowse...I
YoucanspecifyanOperatingSystemgroupthathaswritepermissiontotheaboveinventorydirectory.
YoucanleavethefieldblankifyouwanttoperformtheaboveoperationsasaSuperuser.
SpecifyOperatingSystemgroupname:
|oinstallJ
HelpIInstalled"odutts…)BackNexfjInstallCancel)
ORACL6
i_l_
出現(xiàn)對(duì)話框。
r5.
打開(kāi)一個(gè)新的終端窗口,以root登錄,按照對(duì)話框的指示運(yùn)行orainstRoot.sh
腳本。當(dāng)腳本完成后,返回到OracleUniversalInstaller頁(yè)面并單擊
Continueo
_Woracle@Btestbo—x01:/—u01/gpp/ora日cle/o.ralnvento
FileEditViewTerminalGoHelp
[oracle@testbox01oracle]$su叵
Password:
[root@testbox01oracle]#cd/uOl/app/oracle/oralnventory
[root@testbox01oralnventory]#./orainstRoot.sh
CreatingtheOracleinventorypointerfile(/etc/oralnst.loc)
Changinggroupnameof/uOl/app/oracle/oralnventorytooinstall.
I[root@testbox01oralnventory]#
SpecifyFileLocations窗口出現(xiàn)。輸入安裝Oracle軟件的完整目錄或者同意缺
6.省值。單擊Nexto
rSelectInstallationType頁(yè)面出現(xiàn)。也選擇適合您的環(huán)境的企業(yè)版或者標(biāo)準(zhǔn)版。
7,單擊Nexto
rInstaller將確認(rèn)您的系統(tǒng)符合安裝與配置所選產(chǎn)品的最低需求。在繼續(xù)前糾正并報(bào)
&告問(wèn)題。單擊Nexto
SelectDatabaseConfiguration頁(yè)面出現(xiàn)。選擇開(kāi)始數(shù)據(jù)庫(kù)的類(lèi)型為General
r9.
Purpose>TransactionProcessing或者DataWarehouseo單擊Next。
LSpecifyDatabaseConfigurationOptions頁(yè)面出現(xiàn)。在DatabaseNaming部分
10?輸入GlobalDatabaseName與SID。在DatabaseCharacterSet部分選擇字符
集。選擇CreatedatabasewithSampleSchemas安裝示例模式。單擊Next。
OracleUniversalInstaller:SpecifyDatabaseConfigurationOptionsX
SpecifyDatabaseConfigurationOptions
DatabaseNaming
AGlobalDatabaseName,topicallyoftheform"name,domain”,uniquelyidentifiesanOracle
database.Inaddition,eachdatabaseisreferencedbyatleastoneOracleSystemIdentifier(SID).
SpecrfytheGlobalDatabaseNameandSIDforthisdatabase.
GlobalDatabaseName:|SID:[ord
DatabaseCharaaerSet
Thedatabasecharactersetisdeterminedbasedonthenumberoflanguagegroupsthatwillbe
storedinyourdatabaseSee"Help"forthedefinitionoflanguagegroups.Selectthecharactersetthat
shouldbeusedinyourdatabase
SeleaDatabaseCharaaerset:UnicodestandardUTF-8432UTF8
DatabaseExamples
Youcanchoosetocreateastarterdatabasewithorwithoutsampleschemas.Notethatyoucanplug
inthesampleschemastoyourexistingstarterdatabaseaftercreation.See"Help"formoredetails.
gOF迎詢(xún)迄處R2亙血與婭典史
HelpjInstalledproducts…jBackNextJm4all)Cancel)
ORACL6
「SelectDatabaseManagementOption頁(yè)面出現(xiàn)。選擇UseDatabaseControlfor
ILDatabaseManagemento單擊Nexto
「SpecifyDatabaseFileStorageOption頁(yè)面出現(xiàn)。選擇適合您的環(huán)境的File
IaSystem>AutomaticStorageManagement或者RawDevices。單擊Nexto
LSpecifyBackupandRecoveryOptions頁(yè)面出現(xiàn)。選擇Donotenable
1'Automatedbackups配置您自己的備份計(jì)劃。單擊Next。
LSpecifyDatabaseSchemaPasswords頁(yè)面出現(xiàn)。選擇Usedifferentpasswords
14,fortheseaccounts并輸入管理員密碼或者選擇Usethesamepasswordforall
theaccounts并輸入密碼。單擊Nexto
OracleUniversalInstaller:SpecifyDatabaseSchemaPasswords
SpecifyDatabaseSchemaPasswords
TheStarterDatabasecontainspre-loadedschemas,mostofwhichhavepasswordsthatwillexpire
andbelockedattheendofinstall.Aftertheinstalliscomplete,youmustunlockandsetnew
passwordsforthoseaccounts\ouwishtouse.Schemasusedforthedatabasemanagementandpost-
installfunctionsareleftunlocked,andpasswordsfortheseaccountswillnotexpire.Specifythe
passwordsfortheseaccounts.
「Usedifferentpasswordsfortheseaccounts
.Usethesamepasswordforalltheaccounts-
EnterPassword:卜ConfirmPassword:卜…*~
HelpjInstalledproducts...)BackNext)gall)Cancel)
ORACL.e
Summary頁(yè)面出現(xiàn),包含將安裝的產(chǎn)品列表。單擊Install開(kāi)始安裝。
1r15.
Summary
OracleDatabase10g.0
^-GlobalSettings
一Source:/mnt/cdrom/stage/products.xml
-OracleHome:/uOl/app/oracle/product/10.1O/db_l(OraDblOg.homel)
?-InstallationT^pe:EnterpriseEdition
6ProduaLanguages
-English
,SpaceRequirements
L/Required1.75GB(includes128MBtemporary:Available26.32GB
?-NewInstallations(148products)
-AdvancedQueueing(AQ)API.0
AdvancedReplication.0
-AgentRequiredSupportFiles10.1.0,2,0
-AssistantCommonFiles.0
AuthenticationandEncryption.0
HelpInstalledProducts...BackNextinstallCancel
您將看到進(jìn)度窗口。
「出現(xiàn)ConfigurationAssistants頁(yè)面出現(xiàn)。同意ConfigurationAssistants執(zhí)
1'行。他們配置您的網(wǎng)絡(luò)、啟動(dòng)域數(shù)據(jù)庫(kù)連接的OracleNetServiceslistener進(jìn)
程,創(chuàng)建數(shù)據(jù)庫(kù)并配置管理工具。
L出現(xiàn)顯示數(shù)據(jù)庫(kù)創(chuàng)建進(jìn)度條的頁(yè)面。
廠18.
r當(dāng)數(shù)據(jù)庫(kù)創(chuàng)建完成后,出現(xiàn)包含您的數(shù)據(jù)庫(kù)信息的頁(yè)面。查看此列表。假如您想解
19除或者更換數(shù)據(jù)庫(kù)帳戶(hù)的密碼,您能夠單擊頁(yè)面頂部的PasswordManagement。然
后單擊0K。
3DatabaseConfigurationAssistant
Databasecreationcomplete.Checkthelogfilesat/uOl/app/orade/admin/ord/create
fordetails.
DatabaseInformation:
GlobalDatabaseName:
Systemldentifier(SID):ord
ServerParameterFilename:/uOl/app/oracle/product/lO.l.O/db_l/dbs/spfileorcl....
TheEnterpriseManagerURLishttp://testboxO:5500/em
Note:AlldatabaseaccountsexceptSYS,SYSTEM,DBSNMP,andSYSMANarelocked.
SelectthePasswordManagementbuttontoviewacompletelistoflockedaccountsorto
managethedatabaseaccounts.FromthePasswordManagementwindow,unlockonly
theaccountsyouwilluse.OracleCorporationstronglyrecommendschangingthedefault
passwordsimmediatelyafterunlockingtheaccount.
(Password靛nagemeni.;
L理J
出現(xiàn)對(duì)話框。
20.
打開(kāi)新的終端窗口,以root登錄并運(yùn)行root.sh腳本。當(dāng)腳本完成后,返回到
OracleUniversalInstaller頁(yè)面并單擊OK。
】oracle@testbox0I:/u01/app/oradgproduai0?LQ/db」L■x'
FileEditViewTerminalGoHelp
[oracle?testbox01oracle]$cd$0RACLE_BASE/product/10.1.O/db_lA
[oracle@testbox01db_l]$su
Password:
[root@testbox01db_l]#./root.sh
RunningOraclelOroot.shscript...
\nThefollowingenvironmentvariablesaresetas:
ORACLE_OWNER=oracle
ORACLE_HOME=/u01/app/oracle/product/10.1.O/db_l
Enterthefullpathnameofthelocalbindirectory:[/usr/local/bin]:
Copyingdbhometo/usr/local/bin
Copyingoraenvto/usr/local/bin
Copyingcoraenvto/usr/local/bin
\nCreating/etc/oratabfile...
Addingentryto/etc/oratabfile...
Entrieswillbeaddedtothe/etc/oratabfileasneededby
DatabaseConfigurationAssistantwhenadatabaseiscreated
Finishedrunninggenericpartofroot.shscript.
Nowproduct-specificrootactionswillbeperformed,
/etc/oracledoesnotexist.Creatingitnow.
SuccessfullyaccumulatednecessaryOCRkeys.
CreatingOCRkeysforuser'root',privgrp'root'..
Operationsuccessful.
OracleClusterRegistryforclusterhasbeeninitialized
Addingtoinittab.
CheckingthestatusofOracleinitprocess...
ExpectingtheCRSdaemonstobeupwithin600seconds.
CSSisactiveonthesenodes.
testboxOl
CSSisactiveonallnodes.
OracleCSSserviceisinstalledandrunningunderinit(lM)
I[root@testbox01db_l]#|Ji
LEndofInstallation頁(yè)面出現(xiàn),此頁(yè)面包含關(guān)于Web應(yīng)用程序端口號(hào)碼的重要信
廠21.所
O
l單擊Yes退出。
「22.
您已經(jīng)完成了Oracle軟件的安裝與數(shù)據(jù)庫(kù)的創(chuàng)建。
23.
使用DatabaseConfigurationAssistant(DBCA)創(chuàng)建數(shù)據(jù)庫(kù)
假如值選擇安裝軟件同時(shí)隨后創(chuàng)建數(shù)據(jù)庫(kù),或者者假如您想剛剛安裝的軟件創(chuàng)
建附加數(shù)據(jù)庫(kù),您
能夠使用DatabaseConfigurationAssistant(DBCA)即可完成。
遵循如下步驟創(chuàng)建一個(gè)數(shù)據(jù)庫(kù):
作為管理組小組登錄到您的計(jì)算機(jī)上,此小組有權(quán)限安裝Oracle軟件并創(chuàng)建與運(yùn)行
ri.
數(shù)據(jù)庫(kù)。
如下所示在Windows操作系統(tǒng)時(shí)啟動(dòng)DBCA:
r2.
Start>Programs>Oracle-home_name>ConfigurationandMigration
Tools>DatabaseConfigurationAssistant
在提示符處輸入如下命令在UNIX操作系統(tǒng)啟動(dòng)DBCA:
dbca
出現(xiàn)Welcome頁(yè)面。單擊Next。
r3.
在Operations窗口選擇CreateaDatabase,開(kāi)始一個(gè)調(diào)查,使您能夠配置并創(chuàng)
「4.
建數(shù)據(jù)庫(kù)。單擊Nexto
r在DatabaseTemplates頁(yè)面上,選擇創(chuàng)建數(shù)據(jù)庫(kù)使用的數(shù)據(jù)庫(kù)模板類(lèi)型。您能夠
51單擊ShowDetails查看每種數(shù)據(jù)庫(kù)類(lèi)型的配置。選擇適合于您的數(shù)據(jù)庫(kù)將支持的
工作負(fù)載的類(lèi)型的模板。假如您不確定,選擇默認(rèn)的GeneralPurpose模板。單擊
Nexto
在DatabaseIdentification頁(yè)面,輸入GlobalDatabaseName與SID。單擊
Nexto
l出現(xiàn)ManagementOptions頁(yè)面。為了使用EnterpriseManager,選擇Configure
I*7、
?theDatabasewithEnterpriseManagero選擇UseDatabaseControlfor
DatabaseManagement以本地管理您的數(shù)據(jù)庫(kù)或者選擇適合您的配置的UseGrid
ControlforDatabaseManagement。單擊Next。
I-輸入慣了用戶(hù)的密碼。單擊Nexto
「8.
r選擇適合您的環(huán)境的FileSystem、AutomaticStorageManagement或者Raw
Devices。單擊Nexto
指定創(chuàng)建datafiles的位置。選擇其一:UseDatabaseFileLocationsfrom
1°,TemplateUseCommonLocationforAllDatabaseFiles或者UseOracle-
ManagedFileso單擊Nexto
「選擇FlashRecoveryArea并指定目錄位置與大小。選擇EnableArchiving將您
11,的數(shù)據(jù)庫(kù)置于ARCHIVELOG模式。單擊Next。
「12.單擊SampleSchemas選項(xiàng)卡。假如您想在您的數(shù)據(jù)庫(kù)中包含示例模式(EXAMPLE)
表空間,請(qǐng)選擇SampleSchemas。單擊CustomScripts選項(xiàng)卡。
r]3假如需要,在創(chuàng)建數(shù)據(jù)庫(kù)以后,指定一個(gè)或者多個(gè)要運(yùn)行的SQL腳本。否則,同意
?缺省的Noscriptstorun。單擊Nexto
L出現(xiàn)Memory頁(yè)面。選擇Typical并輸入百分比值。單擊Sizing選項(xiàng)卡。
114.
r出現(xiàn)Sizing頁(yè)面。指定能夠同時(shí)連接到數(shù)據(jù)庫(kù)的最小的塊空間與作多的操作系統(tǒng)
15-用戶(hù)進(jìn)程數(shù)量。
注意:假如您使用模板,您不能指定塊的大小。
單擊CharacterSet選項(xiàng)卡。
l出現(xiàn)CharacterSet頁(yè)面。選擇您的數(shù)據(jù)庫(kù)的字符集。單擊ConnectionMode選
廠16?項(xiàng)卡。
r出現(xiàn)ConnectionMode頁(yè)面。也選擇適合您的環(huán)境的專(zhuān)用服務(wù)器或者共享服務(wù)器。
17-單擊Nexto
DatabaseConfigurationAssistant,Step10of12:initiaiizdiionParameters
MemorySizingCharacterSets叩££!!2。兇歸£|
Selectthemodeinwhichvouwantyourdatabasetooperatebydefauli
QDedicatedServerMode
Foreachclientconnectionthedatabasewillallocatearesourcededicatedtoserving
onlythatclient.Usethismodewhenthenumberoftotalclientconnectionstsexpected
tobesmallorwhenclientswillbemakingpersistentlong-runningrequeststothe
database
rSharedServerMode
Severalclientconnectionsshareadatabase-allocatedpoolofresourcesUsethismode
whenalargenumberofusersneedtoconnecttothedatabasesimultaneouslywhile
efficientlyutilizingsystemresourcesTheOraclesharedserverfeaturewillbeenabled
SharedServersspecifiesthenumberofserverprocessesthatyouwantto
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 環(huán)境問(wèn)題對(duì)人類(lèi)的生活質(zhì)量的影響
- 聽(tīng)一段短文請(qǐng)回答相關(guān)問(wèn)題
- 如何調(diào)整小學(xué)生學(xué)習(xí)動(dòng)力
- 2024年喹吖啶酮類(lèi)項(xiàng)目合作計(jì)劃書(shū)
- 2024年鋅錳電池項(xiàng)目合作計(jì)劃書(shū)
- FDA培訓(xùn)資料教學(xué)課件
- 2024年法律類(lèi)-企業(yè)法律顧問(wèn)資格考試近5年真題集錦(頻考類(lèi)試題)帶答案
- 小學(xué)生物實(shí)踐小測(cè)驗(yàn)
- 地 理地圖的選擇和應(yīng)用課件-2024-2025學(xué)年七年級(jí)地理上學(xué)期人教版
- 2024年沼氣專(zhuān)用發(fā)電裝置項(xiàng)目發(fā)展計(jì)劃
- 【課件】影響化學(xué)反應(yīng)速率的因素課件高二化學(xué)人教版(2019)選擇性必修1
- 汽車(chē)維護(hù)與保養(yǎng)第二單元:教案(作業(yè)任務(wù)15:發(fā)動(dòng)機(jī)機(jī)油排放、濾清器更換)
- 章魚(yú)【省一等獎(jiǎng)】
- 泌尿外科運(yùn)用PDCA循環(huán)提高住院患者各類(lèi)尿標(biāo)本留取合格率的品管圈實(shí)踐
- 小兒外科學(xué):先天性直腸肛門(mén)畸形
- DB42T2020-2023河道疏浚砂綜合利用實(shí)施方案編制導(dǎo)則
- 三階魔方社團(tuán)課時(shí)計(jì)劃表
- 河北省歷年中考語(yǔ)文文言文閱讀試題35篇(含答案與翻譯)(截至2021年)
- 高一化學(xué)練習(xí)題十四碳酸鈉和碳酸氫鈉
- 大班社會(huì)《節(jié)糧小衛(wèi)士》 課件
- 新版triz矛盾矩陣-表格程序
評(píng)論
0/150
提交評(píng)論