• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 915
  • Last Modified:

how to install oracle database 11g R2 on linux.

hi all.
can anyone guide me how to install oracle database 11gR2 on linux
i am new to linux prompt answer will be greatly appreciated thanks in advance.

  • 3
  • 2
  • 2
1 Solution
slightwv (䄆 Netminder) Commented:
I suggest you start with the installation documentation:
junior_in_oracleAuthor Commented:

thanks for prompt answer i have that link and i already checked but i did not understand
i want just the installations points not that much in details.but if u have any doc or links please guide me thanks in advance.

slightwv (䄆 Netminder) Commented:
Unfortunately every installation is different and based on the installers specific requirements.  There isn't a one size fits all step-by-step guide.

The Quick Installation Guide is probably the closest to a step-by-step guide:

What part of the installation guide was confusing?

I'm sure there are several blog/articles out there if you google around.  Here's one from Oracle:

Here's another: http://www.linuxjournal.com/article/3572
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Hi ,
Follow as below. these are simpler synopsis from the lengthy install guides.
with root user , copy the below and paste in # root prompt as it is
This will update the required kernel parameters
cat >> /etc/sysctl.conf <<EOF
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
Wit the same root user, carefully execute the below steps
bash-2.05# grep 101 /etc/group ==> check 101 groud id exists or not
bash-2.05# grep 102 /etc/group ==> check 102 groud id exists or not
bash-2.05# groupadd -g 101 oinstall ==> create oinstall group with 101 id
(if the above grep 101 command returns something, then replace the groupid in this group add command as other one eg. 103(make sure this 103 also is not existing with above grep command)
bash-2.05# groupadd -g 102 dba ==> create dba group with 102 id
(Follow the same logic in the above step description.)
bash-2.05# grep 10001 /etc/passwd   ==> check 10001 id exists or not
bash-2.05# useradd -u 10001 -g 101 -G 102 -d /user1/ora10g -m oracle
(Follow the same logic in the above step description.)
( 10001 = user id
  101 = oinstall group id
  102 = dba group id. this is secondary
  -d = home directory (give a valid directory, make sure the directory exists )
  -m = username
Now change the password for oracle user as below
bash-2.05# passwd oracle     ==> set the password as oracle.
New Password:
Re-enter new Password:
passwd: password successfully changed for ora10g
now login as oracle user as below
su - oracle
Assuming your - d = home directory  is /u01/oracle,
copy the oracle software CD's or downloaded zip files to /u01/oracle.
unzip them
cd Disk1
Follow the instructions and finish the installation.As part of installation , select the database creation also, and pass the Database name and other required details. finish.
Check the completion as below
ps -ef|grep pmon  ==> should produce the output line same as your database name u have given during the installtion.
once above is ok, then sqlplus system/manager
(assuming you have given manager as the password during the installation)
if above step is successfu, then u r done with installation.
unless you have some other problem , these steps should make you done with Oracle installation and database creation. Hope it helps
junior_in_oracleAuthor Commented:

if anyone has good matrial please send it here.

<email deleted by slightwv>

@ slightwv:
Sure. These steps are runtime documented steps while installing oracle database. Master document is by default Oracle standard Insall guides. Nowhere i claimed any copy rights on that notes while quoted also as synopsis from lenghty install guides.
If you still feel it is a voilation, please feel free to delete it.
Hope it clarifies.
junior_in_oracleAuthor Commented:
thanks for help slightwv
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now