Monday, December 24, 2007

Installation of oracle9i/10g on Linux & Solaris

9/10g install on Linux/Solaris

Install Oracle 9i Database on Linux RHEL AS 3

the following lines can be added to the /etc/sysctl.conf file:
kernel.shmmax = 2147483648
kernel.shmmni = 128
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
In addition the following lines can be added to the /etc/security/limits.conf file:
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
Create the new groups and users:
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
Create the directories in which the Oracle software will be installed:
mkdir /u01
chown -R oracle.dba /u01
Login as the oracle user and add the following lines at the end of the .bash_profile file:
# Oracle 9i
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
export LD_ASSUME_KERNEL=2.4.1
Install the 3006854 patch:
unzip p3006854_9204_LINUX.zip
cd 3006854
sh rhel3_pre_install.sh
/mnt/cdrom/runInstaller
When the ins_oemagent.mk error appears install the 3119415 patch:
unzip p3119415_9203_LINUX.zip
cd 3119415
sh patch.sh
Once this is complete click the retry button. Ignore the ins_ctx.mk error and all other .mk errors that come further in installation as this is fixed in the 9.2.0.4.0 patch. The installation is now complete.


Install Oracle 10g Database on Linux 3 AS


Alternatively the following lines can be added to the /etc/sysctl.conf file:
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
In addition the following lines can be added to the /etc/security/limits.conf file:
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
vi /etc/pam.d/login
session required /lib/security/pam_limits.so
Create the new groups and users:
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
Create the directories in which the Oracle software will be installed:
mkdir /u01
chown oracle.dba /u01
chmod 777 /u01
Login as the oracle user and add the following lines at the end of the .bash_profile file:
# Oracle 9i
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib;
export LD_ASSUME_KERNEL=2.4.1
Install the 3006854 patch:
unzip p3006854_9204_LINUX.zip
cd 3006854
sh rhel3_pre_install.sh
/mnt/cdrom/runInstaller
The installation is now complete.


On solaris +mix


Checking memory/swap etc.
1./usr/sbin/swap –l
2 . check df –h /tmp and if required create tmp and export it along
with tmpdir
3. /usr/sbin/prtconf grep “Memory Size”
4. df –g grep “block size”
5. ulimit –Sa
6. ulimit –Ha
7. id oracle
8. id nobody
9. tar xvf ora******.tar
9.check for availability of required executables
/usr/bin/which make
/usr/bin/which ar
/usr/bin/which ld
/usr/bin/which nm
10.$ export DISPLAY=hostname:0.0
$xclock
11.to determine system architecture /bin/isainfo –kv
12. find version of solaris uname –r
11. pkginfo –i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot
\ SUNWbtoo SUNWi1cs SUNWi10f SUNWsprox SUNWxefnt
SUNWi15cs
13. finding showrev –p
Adding patch /usr/sbin/patchadd –p grep patch_number (without version)
Sunsolve.sun.com
Verify hostname set by /etc/hosts only
$Cat etc/nsswitch.conf grep hosts
$hostname
$domainname
$cat /etc/hosts grep ‘eval hostname’
$/usr/sbin/patchadd –p grep 111713
14. Finding release $cat /etc/release
15. edit /etc/system file
1. set shmsys:shminfo_shmmax=4294967295
2. set shmsys:shminfo_shmmin=1
3. set shmsys:shminfo_shmmni=100
4. set shmsys:shminfo_shmseg=10
5. set semsys:seminfo_semmns=2000
6. set semsys:seminfo_semmsl=1000
7. set semsys:seminfo_semmni=100
16. id –a oracle
groupadd -g 115 dba
/usr/sbin/useradd -u 175 –c “oracle software owner.” –g
oinstall –G dba ,oper
-d /u01/app/oracle -m -s /bin/ksh oracle
id nobody
.profile
unzip xyz.zip
cpio –idmvwhen prompt for 2nd cd give $eject cdrom
to execute profile $ .~/.profile
.profile File
export ORACLE_BASE=/oracle
export ORACLE_HOME=$ORACLE_BASE/ora92
export ORACLE_SID=orcl
PATH=$PATH/ORCLE_HOME/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/openwin/bin:/usr/local/bin:/opt/SUNWspro/bin
Unset TWO_TASK

41 comments:

Anonymous said...

hello friends. I'm actually into shoes and I had been looking as far as something that exact make. The prices due to the fact that the boots are around 310 dollars everwhere. But finally I bring about this site selling them as a remedy for half price. I really like those [url=http://www.shoesempire.com]prada sneakers[/url]. I will absolutely purchase these. what can you tell me about these?

Anonymous said...

hi dudes. I'm actually into shoes and I have been searching for the sake of that exact make. The prices for the shoes are about 350 pounds on every site. But completely I bring about this site selling them for the benefit of half price. I exceptionally want these [url=http://www.shoesempire.com]gucci sneakers[/url]. I will absolutely buy those. what do you think?

Anonymous said...

good morning people. I'm really into shoes and I was digging for that meticulous make. The prices due to the fact that the sneakers were all over 310 bucks everwhere. But definitively I set this locate selling them for half price. I exceptionally love those [url=http://www.shoesempire.com]gucci sneakers[/url]. I will absolutely purchase those. what do you think?

Anonymous said...

hi there fellas. I'm honestly into shoes and I had been digging as far as something that singular brand. The prices seeking the velcros were around 230 bucks everwhere. But finally I bring about this area selling them someone is concerned half price. I really want those [url=http://www.shoesempire.com]gucci sneakers[/url]. I will absolutely purchase those. what is your opinion?

Anonymous said...

zvkersk whm ecvan threesome couples

ndaun!

ceulb lupykg vjn fetish sex

Anonymous said...

buy tramadol online high with tramadol - tramadol for dogs dose rate

Anonymous said...

xanax online xanax maoi drug - rebound effects xanax

Anonymous said...

where can i order xanax online 2mg of xanax first time - order xanax online europe

Anonymous said...

generic xanax xanax 9 mg - xanax in your system drug test

Anonymous said...

tramadol generic tramadol take get high - buy tramadol online mastercard overnight

Anonymous said...

buy tramadol online tramadol withdrawal vertigo - soma tramadol high

Anonymous said...

tramadol no rx buy tramadol in dubai - buy tramadol online missouri

Anonymous said...

buy tramadol online tramadol 50 mg in dogs - tramadol no prescription overnight cod

Anonymous said...

buy cheap carisoprodol carisoprodol 350 mg strength - carisoprodol 350 mg strength

Anonymous said...

buy tramadol online tramadol dosage high - tramadol hcl tab 50mg dosage

Anonymous said...

buy generic xanax 1mg xanax flying - lexapro xanax and alcohol

Anonymous said...

buy tramadol cod next day delivery buy tramadol forum - tramadol withdrawal onset

Anonymous said...

buy tramadol online buy tramadol online overnight shipping - order tramadol cheap overnight

Anonymous said...

buy tramadol online no prescription mexican tramadol 100mg - purchase of tramadol

Anonymous said...

xanax online buy cheap xanax online with no prescription - all generic names xanax

Anonymous said...

xanax online what xanax pills look like - xanax 1mg half life

Anonymous said...

xanax online buy good xanax online - buy xanax online pharmacy

Anonymous said...

buy tramadol online buy tramadol now - buy tramadol overnight with mastercard

Anonymous said...

buy tadalafil online cialis rebate coupon - buy cialis online yahoo

Anonymous said...

buy cialis online cialis daily and insurance - cialis online authentic

Anonymous said...

buy cialis online buy cialis johor bahru - generic cialis levitra viagra

Anonymous said...

xanax online kinda drug xanax - xanax drug interaction ibuprofen

Anonymous said...

order tramadol online tramadol 50 mg drug facts - buy tramadol online with paypal

Anonymous said...

buy tramadol tramadol dosage erowid - tramadol for dogs by weight

Anonymous said...

buy tramadol for dogs buy tramadol online legit - buy generic tramadol online

Anonymous said...

http://buytramadolonlinecool.com/#91646 what is generic name for tramadol - tramadol overdose coma

Anonymous said...

learn how to buy tramdadol tramadol 50 mg narcotic - tramadol 400 mg dose

Anonymous said...

buy tramadol tramadol 50mg value - can you buy tramadol online no prescription

Anonymous said...

buy tramadol can take 100mg tramadol once - where to buy tramadol cod

Anonymous said...

http://reidmoody.com/#49853 ativan dosage flying - mail order ativan

Anonymous said...

lorazepam online lorazepam 1mg vs clonazepam - ativan overdose do

Anonymous said...

Me and ozzy fucked tougher, trying to show to my own god! FUCK YES!
' right before cumming inside my warm pussy. were still fucking

Here is my blog - hcg injections

Anonymous said...

xanax 1mg best site order xanax - xanax 1mg with alcohol

Anonymous said...

http://ranchodelastortugas.com/#71453 long 1mg xanax urine - xanax withdrawal buspar

Anonymous said...

Your ωritе-up featureѕ confirmeԁ useful to mуself.
It’s quite helpful anԁ yοu're obviously quite knowledgeable of this type. You have got popped my own face in order to numerous thoughts about this particular topic together with intriguing, notable and sound content.
Check out my homepage ... buy viagra online

Anonymous said...

Great weblog right here! Also your website rather a
lot up very fast! What web host are you the use of? Can I am getting your affiliate hyperlink on your
host? I wish my website loaded up as quickly as yours lol

Have a look at my page tao system for getting women