You are on page 1of 6

Installing Oracle 11gR2 (sans Enterprise Manager)...

http://fedoraforum.org/forum/showthread.php?p=...

Oracle DBA Courses Find Top DBA Institutes in India. Get Info on Courses,Admission,Fees. www.Shiksha.com/Oracle 1192+ of Oracle Openings Exp: 0 to 13 Yrs.Sal: 25k to 95k PM Apply Now & get Multiple Interviews TimesJobs.com Red Hat Linux Training RHCE, RHCSS Training & Exam Best Red Hat training in Hyderabad www.cossindia.net

Home

Forums

Posting Rules

Linux Help

Fedora Set-Up Guides

Fedora News User Name

FedoraProject Remember Me?

FedoraForum.org > Fedora Support > Guides & Solutions (No Questions)

Installing Oracle 11gR2 (sans Enterprise Manager) on F13


Register FAQ Calendar

Password
Forgot Password? Join Us!

Today's Posts

Search

Guides & Solutions (No Questions) Post your guides here. You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Thread Tools 21st June 2010, 07:26 PM

Search this Thread

Display Modes #1 Join Date: Jun 2010 Posts: 4

the grifter Offline


Registered User Installing Oracle 11gR2 (sans Enterprise Manager) on F13

1 of 6

01/29/2011 05:02 PM

Installing Oracle 11gR2 (sans Enterprise Manager)...

http://fedoraforum.org/forum/showthread.php?p=...

Hi, I'm new here. This guide shows how to install Oracle 11gR2 on F13 without Enterprise Manager. There is an ld error during the install that I cannot figure out how to resolve. If I figure out how to fix it, I will gladly update this guide. Conventions used in this guide Note the difference in prompts, and which user should run the specific commands: Code: $ # # denotes the command is run as ORACLE user # denotes the command is run as root

Final Note Please regard the official Oracle 11gR2 installation guide as the definitive source for installing Oracle 11gR2. This guide is supplamentary, and covers installation on a non-supported OS. * 1. Create groups: Code: # groupadd oinstall # groupadd dba

2. Create oracle user with the initial login group of oinstall, secondary of dba. Code: # useradd -g oinstall -G dba -s /bin/bash -d /home/oracle -m oracle

3. Create directories for Oracle software. Code: # mkdir -p /u01/app/oracle

4. Change ownership and permissions. Code: # chown -R oracle:oinstall /u01/app/oracle # chmod -R 775 /u01/app/oracle

5. Change kernel parameters. Code: # vi /etc/sysctl.conf

Add these lines to the end of the file: Code:

2 of 6

01/29/2011 05:02 PM

Installing Oracle 11gR2 (sans Enterprise Manager)...

http://fedoraforum.org/forum/showthread.php?p=...

# ORACLE 11G PARAMETERS # --------------------kernel.shmall=2097152 kernel.shmax=1048576 kernel.shmmni=4096 kernel.sem=250 32000 100 128 fs.file-max=6815744 fs.aio-max-nr=1048576 net.ipv4.ip_local_port_range=9000 65500 net.core.rmem_default=262144 net.core.rmem_max=4194304 net.core.wmem_default=262144 net.core.wmem_max=1048576

6. Reload kernel parameters. Code: # sysctl -p

7. Setup oracle user's shell limits. Code: # vi /etc/security.conf

Add these lines to the end of the file: Code: # ORACLE 11G PARAMETERS # --------------------oracle soft oracle hard oracle soft oracle hard

nproc nproc nofile nofile

2047 16384 1024 65536

8. Check /etc/pam.d/login to see if the following line exists. If not, add it. Code: session required pam_limits.so

9. Download the following software packages: Code: yum yum yum yum yum yum yum install install install install install install install gcc compat-libstdc++-33 elfutils-libelf-devel gcc-c++ libaio-devel sysstat unixODBC-devel

3 of 6

01/29/2011 05:02 PM

Installing Oracle 11gR2 (sans Enterprise Manager)...

http://fedoraforum.org/forum/showthread.php?p=...

Finally, install pdksh. I have attached it to this guide (rpm). 10. Download Oracle Database 11gR2 and unzip both files to the same directory. I created a folder called "oinstall" on Oracle's desktop and unzipped both files to it. 11. Change to the newly created database directory and run the installer, ignoring the system prerequisite checks: Code: $ ./runInstaller -ignoreSysPrereqs

12. Following is a set of screenshots detailing how I configured my database installation:

13. At some point during the installation you will likely get the following error: Code: "Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman

Note I just used the default ORACLE Home of "dbhome_1." I am not sure of how to fix this error, and it will prevent Enterprise Manager from working correctly. Click "Continue." In the future if I figure out how to fix it I will edit this guide. 14. Complete the installation, running the two scripts that you are prompted to run. 15. As root, set SELinux to run in "Permissive" mode: Code: # setenforce 0

16. Setup necessary environment variables in your .bashrc script: Code: $ cd $ vi .bashrc

Add the following to the end (substitute "dbhome_1" for your oracle home, if different; substitute "orcl11g" for your oracle sid, if different): Code:

4 of 6

01/29/2011 05:02 PM

Installing Oracle 11gR2 (sans Enterprise Manager)...

http://fedoraforum.org/forum/showthread.php?p=...

export export export export

ORACLE_BASE=/u01/app/oracle ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 ORACLE_SID=orcl11g PATH=$PATH:$ORACLE_HOME/bin

Attached Files File Type: rpm pdksh-5.2.14-30.i386.rpm (186,6 KB, 254 views)

Last edited by the grifter; 22nd June 2010 at 12:02 PM. Reason: Step 9 clarification

11th August 2010, 07:37 PM

#2 Join Date: May 2008 Age: 21 Posts: 1

frostmedxr Offline
Registered User Re: Installing Oracle 11gR2 (sans Enterprise Manager) on F13

Can anyone tell me, which Oracle version I should install on Fedora 13 without having any troubles, like Enterprise Manager in this case? I just want a smooth oracle instance for studying and don't want to have experiments with 2 gig downloads and continuous installations.

Tags fedora 13, oracle, oracle 11g Previous Thread | Next Thread Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Jump Forum Rules

Similar Threads Thread install oracle 11gr2 on Fedora release 12 need help! Oracle Enterprise Linux Installing Oracle [FC3] Where are default Sans and Sans Serif fonts defined? Thread Starter hanpingwang JohnnyLinux Andylk P Jones Software Linux Chat Software gmane.linux.redhat.fedora.general Forum Replies 4 10 2 1 Last Post 28th May 2010 02:07 PM 16th September 2009 04:00 PM 10th March 2009 03:34 PM 26th February 2005 09:10 PM

5 of 6

01/29/2011 05:02 PM

Installing Oracle 11gR2 (sans Enterprise Manager)...

http://fedoraforum.org/forum/showthread.php?p=...

Similar Threads [FC3] Where are default Sans and Sans Serif fonts defined? P Jones gmane.linux.redhat.fedora.general 0 26th February 2005 06:00 PM

Translations (Powered by

):

Current GMT-time: 11:27 (Saturday, 29-01-2011)

All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.
Privacy Policy | Term of Use | Posting Rules | Archive | Contact | Founding M embers ShutterVoice.com News: Android 2.3 - Playstation 4 by Sony Verizon iPhone | Powered by vBulletin 2000-2011, Jelsoft Enterprises Ltd.

Thanks to NLP-er you enjoy automatic translations (vBET 2.3.10)

6 of 6

01/29/2011 05:02 PM

You might also like