Professional Documents
Culture Documents
com
Wecandivideourtotalinstallationintotwophases: OracleDatabase11gInstallation: DownloadtheOracledatabase11gEER2fromOracleOfficialsite: http://www.oracle.com/technology/software/products/database/index.html Or http://otn.oracle.com Youwillgettwoseparatefilesfromdownloadsource. File1andFile2 AfterdownloadingFile1youwillgetaZippedfileinitnamedwin32_11gR2_database_1of2 andforFile2youwillgetwin32_11gR2_database_2of2 Note:ifyoudownloadfor64bitthenitwillshowwin64andfor32bititwillshowwin32 Nowyouhavetounzipandstartinstallation,Unzippinglittlebittrickyhere.Duringinstallation youwillhavechancestogetsomeerrormessageofMissingfiles.Sotoavoidthiserrormessage andcompletingtheinstallationprocesssmoothlyfollowthebelowprocess: CreateaFoldernamedOracle11gEER2andmakeasubfolderintoitnamedOracle. ItwilllookasF:\Oracle11gEER2\Oracle Nowunzipfolderwin32_11gR2_database_1of1fromFile1.Afterunzippingopenthisfolder. NowcopyallthecontentsunderthisfolderandpasteintoOraclesubfolder.So,finallyyour File1contentwillresideas: InstallationofOracleDatabase11g InstallationofOracleApplicationExpress(4.0)
F:\Oracle11gEER2\Oracle\database Andwhenyouclickthisdatabasefolderitshouldshowbelowcontents:
Fig:2 NowpasteintothisdirectoryasshowninFig2
Fig:3 NowYouneedtocreateaTablespaceas: SQL> CREATE TABLESPACE APEX_SPACE datafile 'E:\app\Administrator\oradata\micromax\APEX_SPACE.DBF' SIZE 5000M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
Note: E:\app\Administrator\oradata\micromax\thisdirectoryyoucanassigndifferent.
AftersuccessfullycreatedthetablespacenowquitfromSQL>typingQuitasshowninFig5
Fig5 NowgetintothedirectoryoncommandpromptF:\apex_4.0_en\apexasshownfig5and finallyitwilllookasinthecommandprompt: F:\apex_4.0_en\apex NowloginagainasSYSwithSYSDBAprivilegeasshowninfig3 Infig6shownthecontentofapexfolderandapexins.sqlscriptneedtoexecutetostart installationofapex4.0. Toexecuteapexins.sqlscripttypethebelowcommandandmentioninwhichTABLESPACEwill bedefaultforapexinstallationfiles. SQL > @apexins APEX_SPACE APEX_SPACE Nowpressenterandtheinstallationwillbestarted. Itwilltake30to40minutestocompletetheinstallation. TEMP /i/
Fig6 Aftercompletingtheinstallationthenyouhavetoloadthenecessaryimagestothedatabase. Andtheseimageslocatedinthefollowingdirectory: F:\apex_4.0_en\apex\images InthisstageifthedirectoryunlikeF:\apex_4.0_en\apexinthecommandprompt ThenfollowthestepsasshowninFig5togetintotheF:\apex_4.0_en\apexdirectory. AndloginagainSYSwithSYSDBAprivilegeasshowninFig5. Nowyouhavetoexecutetheapxldimg.sqlscripttoloadtheimages. Toexecutethistypethebelowcommand SQL > @apxldimg.sql Nowyouwillbeaskedtoenterthevaluefor1 Simpletypebelow: F:/apex_4.0_en AndpressEnterandtheimageloadingwillbestarted.
NowloginagainSYSwithSYSDBAprivilegeasshowninFig5. Nowyouhavetoexecutetheapxconf.sqlscriptandtypethebelowcommand SQL > @apxconf.sql Andpressenteryouwillbeaskedtoassignapasswordforadmin:typeyourdesiredpassword Andpressenter. ThenyouwillbeaskedtoenterpasswordforXDBHTTPport:typeyourdesiredport.hereyou cankeep8080orcanchangelike7778 Andthenpressenterandyourinstallationinthisstageisdone. ButyouneedtounlockfewoftheschemathatisrelatedtoApexapplication.Nowunlockthe schemaas: TounlockschemayoucanusecommandpromptorEnterprisemanagerconsole TounlockfromcommandpromptyoumustloginasSYSwithSYSDBAprivilege SQL>ALTER USER ANONYMOUS ACCOUNT UNLOCK; SQL>ALTER USER XDB ACCOUNT UNLOCK; SQL>ALTER USER APEX_040000 ACCOUNT UNLOCK; SQL>ALTER USER FLOWS_FILES ACCOUNT UNLOCK; SQL>ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK; Nowisthetimetoopentheapexapplication Openabrowerwindowandtypetheurlas http://<computername>:<Port>/apex Example:Ifcomputernameismicromaxandportis7778thenURLwillbelike http://micromax:7778/apex
Thenyouwillbepromptedtochangethepassword.Afterchangingpasswordreturntologin wizardandtypeyourpasswordagainandnowyouareinsidetheapexhomehomepage.