oracle install linux

9
Install Oracle on RHEL Thursday, June 13, 2013 Oracle 11g R2 Install and Getting-Started on RHEL 6 Linux The Ultimate Easy and StepbyStep Guide on Installing the Oracle 11g R2 Database on RedHat RHEL 6 Linux. The Guide Include All the Essentials Commands and Basic Screenshots of the Installation Process. The Process is somewhat Extended and Advanced so it Demand a Basic Command Line Confidence. So Just Relax and Take the Time of Reading, Understanding and Executing Carefully the Instructions Contained here. To the Post Bottom you Find Link to Oracle 11g Database Installation Troubleshooting Guides. 1. Download the Oracle 11g R2 Database: Oracle 11g R2 .zip for Linux The Link Contains the List of Oracle 11g r2 Database Releases. 2. Open Terminal Window 3. Login as SuperUser: su 4. Make Network Configuration Get hostname: hostname Get IP: /sbin/ifconfig Subscribe To Posts All Comments Nyelv kiválasztása Üzemeltető: Google Fordító Translate Display Window GettingStarted (1) Install (1) Linux (1) Oracle (1) Oracle 11g (1) Oracle 11g R2 Database (1) Oracle Linux (1) Red Hat (1) RedHat RHEL (1) RHEL (1) Labels 2013 (1) June (1) Oracle 11g R2 Install and Getting Started on RHEL ... Archivio blog Gianz View my complete profile About Me 0 Megosztás Továbbiak Következő blog» Blog létrehozása Belépés

Upload: kornel-illes

Post on 17-Jan-2016

50 views

Category:

Documents


0 download

DESCRIPTION

Oracle Install Linux

TRANSCRIPT

Page 1: Oracle Install Linux

Install Oracle on RHEL

Thursday, June 13, 2013

Oracle 11g R2 Install and Getting-Started on RHEL 6Linux

The Ultimate Easy and StepbyStep Guide on Installing the Oracle 11g R2 Databaseon RedHat RHEL 6 Linux.

The Guide Include All the Essentials Commands and Basic Screenshots of theInstallation Process.

The Process is somewhat Extended and Advanced so it Demand a Basic Command LineConfidence.

So Just Relax and Take the Time of Reading, Understanding and Executing Carefully theInstructions Contained here.

To the Post Bottom you Find Link to Oracle 11g Database InstallationTroubleshooting Guides.

1.  Download the Oracle 11g R2 Database:

Oracle 11g R2 .zip for LinuxThe Link Contains the List of Oracle 11g r2 Database Releases.

2.  Open Terminal Window3.  Login as SuperUser:

su

4.  Make Network Configuration

Get hostname:

hostname

Get IP:

/sbin/ifconfig

Subscribe To

 Posts

 All Comments

Nyelv kiválasztásaÜzemeltető:  Google Fordító

Translate

Display Window

GettingStarted (1)

Install (1)

Linux (1)

Oracle (1)

Oracle 11g (1)

Oracle 11g R2 Database(1)

Oracle Linux (1)

Red Hat (1)

RedHat RHEL (1)

RHEL (1)

Labels

▼  2013 (1)▼  June (1)

Oracle 11gR2InstallandGettingStartedonRHEL ...

Archivio blog

Gianz

View my completeprofile

About Me

0Megosztás   Továbbiak    Következő blog» Blog létrehozása   Belépés

Page 2: Oracle Install Linux

You will Find It Under the lo >> inet Section.

Check if Hostname is Already into the Enabled Hosts File.

cat /etc/hosts

If It's Not Present then Insert it with:

nano /etc/hosts

Insert: <IP HOSTNAME>

Example: '127.0.0.1 localhost.localdomain'

Ctrl+x to Save and Exit from nano Editor :)

Grant Connection to X Server

xhost +<hostIP>

Example: # xhost +127.0.0.1

5.  If You Do Not Dispose of RHEL Subscription

Howto Setup YUM

Detailed Instructions for Howto Setup YUM for Unsubscribed RHEL Users.6.  Installing Required Packages

yum install binutils glibc compat-libstdc++-33 glibc-common \glibc-devel glibc-headers elfutils-libelf elfutils-libelf-devel \elfutils gcc gcc-c++ ksh libaio libaio-devel libgcc libstdc++-devel \make numactl-devel sysstat mksh

7.  Add Groups and User

groupadd -g 502 oinstall

groupadd -g 503 dba

groupadd -g 504 oper

groupadd -g 505 asmadmin

useradd -u 502 -g oinstall -G dba,asmadmin,oper -s /bin/bash -m oracle

passwd oracle

8.  Make Target Directories

mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1

chown -R oracle:oinstall /u01

chmod -R 775 /u01

9.  Parameters Configuration SetUp

Edit /etc/sysctl.conf file.

nano /etc/sysctl.conf

Add or amend the following lines

#### Oracle 11g Kernel Parameters ####fs.suid_dumpable = 1fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096# semaphores: semmsl, semmns, semopm, semmnikernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default=4194304net.core.rmem_max=4194304net.core.wmem_default=262144

Számlázó Programwww.unit.hu/SzámlázóProgram

Számla Gyorsan, Egyszerűen és MindentTud Amire Szüksége Lehet...

Page 3: Oracle Install Linux

net.core.wmem_max=1048586

Comment out these lines below that Gives an Error

#net.bridge.bridge-nf-call-ip6tables = 0#net.bridge.bridge-nf-call-iptables = 0#net.bridge.bridge-nf-call-arptables = 0

Edit /etc/security/limits.conf file.

nano /etc/security/limits.conf

Add the following lines

#### oracle User Settings 4 Oracle 11g ####oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536oracle soft stack 10240

Disable SELINUX

nano /etc/selinux/config

Disable Secure Linux by editing the /etc/selinux/config file, makingsure the SELINUX flag is set as follows.

SELINUX=disabled

Load the New Kernel Parameters.

/sbin/sysctl -p

10.  Unzip, Set oracle as Owner and Relocate

cd </path/To/linux_11gR2*.zip>

unzip linux_11gR2_database_1of2.zip

unzip linux_11gR2_database_2of2.zip

chown -R oracle:oinstall database

mv database /tmp

11.  Add Environment Variables to oracle's .bashrc Login as oracle User

su oracle

Edit .bashrc file

nano /home/oracle/.bashrc

Insert:

# Oracle SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=<HOSTNAME>; export ORACLE_HOSTNAMEORACLE_UNQNAME=DB11G; export ORACLE_UNQNAMEORACLE_BASE=/u01/app/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOMEORACLE_SID=<DBSID>; export ORACLE_SID

PATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/lib64; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

Substitute HOSTNAME and DBSID with the Values you Will Use During SoftwareInstallation In this Example Respectively:

HOSTNAME = 127.0.0.1

DBSID = SID

Page 4: Oracle Install Linux

Load New .bashrc Settings

source ~/.bashrc

Last and Optional to Add Full EnvIntegration edit also oracle's .bash_profile

nano ~/.bash_profile

Inserting

if [ -f ~/.bashrc ]; then source ~/.bashrcfi

12.  Installing the Oracle 11g Database Software

cd /tmp/database

./runInstaller

If you Get: "Check if the DISPLAY variable is set. Failed". Look Link Below.

Link2+ Oracle 11g Database Troubleshooting

On the first screen If you Do Not Dispose of an Oracle Subscription Just LeaveBlank eMail and UnCheck the Demand of Security Update Support then Clickon Next 

Then Confirm on Warning and Follow. 

Page 5: Oracle Install Linux

On "Select Installation Option" Select "Install database software only" and Clickon Next 

On Step 3 Leave Default "Single instance database installation" and Click on Next 

On Step 4 Select your Language and Click on Next 

On Step 5 Leave Default Enterprise Edition and Click on Next 

Page 6: Oracle Install Linux

On "Installation Location" Set All As Here Below and Click on Next

Oracle Base: /u01/app/oracle

Software Location: /u01/app/oracle/product/11.2.0/dbhome_1

These are the Same Settings Inserted into the .bashrc File...

On "Create Inventory" if you Setup the Path on .bashrc Like Here Leave Defaultand Click on Next 

On "Operating System Groups" if you Setup the Path on .bashrc Like HereLeave Default and Click on Next 

Page 7: Oracle Install Linux

On "Prerequisite Checks" you will Get Easily a "Warning Message" about someMissing Requirements

Just Check: "Ignore All" and Follow Up with Installation...

On the "Summary" Click on "Save Response File" to Take Note of Settings andthen Click on Finish 

The Installation Product Procedure should Start...

13.  Executing Scripts

Right Before the End of Process a PopUp Window will Show the Path to TwoConfiguration Scripts you Need to Execute on Terminal!

Page 8: Oracle Install Linux

Next Oracle Should Confirm you of the Successful Installation Achivement.) 

14.  Create and Run a Listener for Oracle 11g

The Tutorial Contains Detailed Instructions on Creating and Running Oracle 11gDatabase Listener.

15.  Howto Create a Database for Oracle 11g

Guide with Detailed Instruction 2 Create a Database for Oracle 11g.

After you Should Access the "Enterprise Manager" on Browser by the URL shown onthe Last Screen. On a Localhost for Example you Should Access the Enterprise Managerby the Address:

https://127.0.0.1:1158/em

And you can Login with: User Name: SYS Password: oracleDatabasePassword Fromthe Dropdown below Select >> Connect as SYSDBA You Should be Able to Access theDatabase by the Enterprise Manager!

Sport Oldal KészítéseWebnode.hu

Profi Honlapot 5 perc alatt. Indíts sajátweboldalt ingyen!

Page 9: Oracle Install Linux

Home

Subscribe to: Posts (Atom)

Posted by Gianz at 1:36 PM 

Labels: GettingStarted, Install, Linux, Oracle, Oracle 11g, Oracle 11g R2 Database,Oracle Linux, Red Hat, RedHat RHEL, RHEL

How Managing, Start & Stop Oracle 11g R2 Database by SQLPlus Commands

SQLPlus Oracle 11g DB QuickStart

Link to Detailed and StepbyStep Visual Guide on Managing the Oracle 11g R2 Databaseby SQLPlus on Linux OpenSUSE.

Oracle 11g Database Troubleshooting Guides I

Oracle 11g Database Troubleshooting Guides II

Enjoy this "Step by Step" Clear Installation and Getting Started... Goodk Luck! :)

Duracell elemfacebook.com/DuracellMagyarorszag

Csatlakozz te is a Duracell rajongótáborához,oszd meg tapasztalataidat

Oracle 11g Database Troubleshooting Guides

Recommend this on Google

Powered by Blogger.