Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Oracle 10g Installation and Db Creation

Oracle 10g Installation and Db Creation

Ratings: (0)|Views: 1|Likes:
Published by waibhav

More info:

Published by: waibhav on Jun 17, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

12/08/2012

pdf

text

original

 
PreInstallationloginasarootuserchecktheipaddresswiththiscommandifconfigthengoto/etc/hostsfileandedittheipaddresattheeof.nowsetthekernelparamatersusevi/etc/sysctl.conftochangetheparameterskernel.shmall=2097152kernel.shmmax=2147483648#halfthesizeofsystemRAMatleastkernel.shmmni=4096kernel.sem=25032000100128net.ipv4.ip_local_port_range=102465000net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core.wmem_max=262144editthatfileandthenfromthepromtissuethiscommand/sbin/sysctl-ptocheckthenewkernelvalues..nowcreateanewgroupandassingthisgrouptoanewusergroupadddbauseradd-gdbaoracle#oracleistheusernamenowchangethepasswordforthenewlycreateduserpasswdoracleEditthe/etc/redhat-releasefilereplacingthecurrentreleaseinformation(RedHatEnterpriseLinuxServerrelease5(Tikanga))withthefollowing:redhat-4Ifuareusingrhel5thenuneedtorunthefollowingpackagesfromtherhel5dvdcd/media/cdrom/Serverrpm-Uvhlibaio-0*rpm-Uvhcompat-libstdc++-33-3*rpm-Uvhcompat-gcc-34-3*rpm-Uvhcompat-gcc-34-c++-3*rpm-Uvhgcc-4*rpm-UvhlibXp-1*------nowlogoutfromrootuserandlogintothenewuseroraclegotohomedirectoryoforacleuserandpastetheoraclesoftwareinthehomedirectory....Installationlaunchanewterminalfromthehomedirectoryunzipthe.zipfileunzip10201_database_linux32.zipthefileswillbeautomaticallyextractedinthedirectorynamedasdatabaseinthe/homedirectory.nowcd/home/database./runInstallercopytheoraclehomepathfromthefirstpageofinstallation/home/nik/oracle/product/10.2.0/db_1installthesoftwarewhiledbasecreationwindow(ifuwanttocreatedbasemanuallythenexitthecreationwindow)andlaunchaterminalloginasrootuserandrunthese2scriptssh/home/nik/oraInventory/orainsRoot.sh
 
andsh/home/nik/oracle/product/10.2.0/db_1/root.shclicknextandthefinishontheinstallation.PostInstallationnowvi.bash_profileaddtheselinesattheendofthefileexportORACLE_HOME=/home/nik/oracle/product/10.2.0/db_1exportORACLE_SID=orclexportPATH=$ORACLE_HOME/bin:$PATHexportLD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHsavethefileandrunit..bash_profilenowlogintodatabasesqlplussysassysdbaifugetthesqlpromptthenbesurethattheinstallationisdonecorrectly.---------------------------------------------------------CREATIONOFDATABASE1>Editthebash_profilefileedittheOracle_sidparameterSavethisfileandrunit2>makethedirectorywhereveruwanttohaveallthedatafiles.mkdir-p/home/nik/oracle/nikhil/{datafile,controlfile,auxfile,temp,logfile,dump/{bdump,udump}}3>gotooraclehomedirectorycd$ORACLE_HOMEcddbscreateainitfileviinitnikhil.oradb_name=nikhildb_files=500control_files=/home/nik/oracle/nikhil/controlfile/ctrl.ctlshared_pool_size=600msga_max_size=1000mundo_management=autobackground_dump_dest=/home/nik/oracle/nikhil/dump/bdumpuser_dump_dest=/home/nik/oracle/nikhil/dump/udumpcompatible=10.2.0savethisfileandquit4>recompilebash_profilefiletosynctheparameterfilewithit..bash_profile5>Nowloginsysassysdbasys6>startthedatabaseinnomountphasestartupnomount7>Createthedatabasewiththiscreatetablesyntaxcreatedatabasenikhildatafile'/home/nik/oracle/nikhil/datafile/system01.dbf'size200msysauxdatafile'/home/nik/oracle/nikhil/auxfile/sysaux01.dbf'size200mdefaulttemporarytablespacetemp

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->