0% found this document useful (0 votes)
113 views7 pages

Oracle 10.G Installation Guide For Linux: Minimum System Requirements

This document provides instructions for installing Oracle 10g on Linux. It outlines the minimum system requirements, packages needed, configuration steps like partitioning disks, setting kernel parameters, creating the oracle user, and installing and configuring the Oracle software, listener, and databases. The steps include selecting packages during installation, checking and installing any missing packages, setting shell limits, exporting Oracle environment variables, copying startup scripts, running netca to create the listener, and using dbca to create databases.

Uploaded by

Muhammad Zeeshan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
113 views7 pages

Oracle 10.G Installation Guide For Linux: Minimum System Requirements

This document provides instructions for installing Oracle 10g on Linux. It outlines the minimum system requirements, packages needed, configuration steps like partitioning disks, setting kernel parameters, creating the oracle user, and installing and configuring the Oracle software, listener, and databases. The steps include selecting packages during installation, checking and installing any missing packages, setting shell limits, exporting Oracle environment variables, copying startup scripts, running netca to create the listener, and using dbca to create databases.

Uploaded by

Muhammad Zeeshan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

ORACLE 10.

G INSTALLATION GUIDE FOR linux


Minimum System Requirements Red Hat Enterprise Linux 4 Oracle Enterprise Linux 4 1024MB of RAM kernel version: 2.6.9-5.0.5.EL 100MB /boot partition 1,500MB swap partition (least twice the amount of RAM) 7,150MB root partition Command for checking your system swap ram and kernal versions kernal uname -r Ram grep MemTotal /proc/meminfo Free space df -h Package rpm -q package name RedHat Enterprise installation Select custom Partitions and make these partition with following style Swap partition 2000Mb Boot partition 200Mb Root partition 7150Mb Disable Firewall and Selinux Select customize software package to be installed

Created by Muhammad Zeeshan

SoftShacksp.com

Now select these package Desktop X Windows System Gnome Desktop Environment Applications Graphical Internet Servers Do not select anything in this section if not required for any other use Development Tools Development Tools System Administration Tools System Tools (Add the package systat by clicking on the Details link

Minimum Package Requirements


binutils-2.15.92.0.2-10.EL4 compat-db-4.1.25-9 control-center-2.8.0-12 gcc-3.4.3-9.EL4 gcc-c++-3.4.3-9.EL4 glibc-2.3.4-2 glibc-common-2.3.4-2 gnome-libs-1.4.1.2.90-44.1 libstdc++-3.4.3-9.EL4 libstdc++-devel-3.4.3-9.EL4 make-3.80-5 pdksh-5.2.14-30 sysstat-5.0.5-1 xscreensaver-4.18-5.rhel4.2 libaio-0.3.96
openmotif21-2.1.30-11.RHEL4.2

Created by Muhammad Zeeshan

SoftShacksp.com

For checking Package


Copy and paste this command in Terminal rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common \ gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif21

Install missing Packages


if some packegs are not installed then follow this method to install open terminal and type the following command as root rpm ivh (package location and package name) example rpm ivh /data/openmotif21-2.1.30-11.RHEL4.2

Install some additional Packages


You also need to install these two packages. compat-libstdc++-296-2.96-132.7.2.i386 compat-libstdc++-33-3.2.3-47.3.i386 with the following method rpm ivh (package location and package name) example# rpm ivh /data/compat-libstdc++-33-3.2.3-47.3.i386

Now run following statements in terminal


For creating oracle user and group
/usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/useradd -m -g oinstall -G dba oracle

Created by Muhammad Zeeshan

SoftShacksp.com

For creating password of oracle user passwd oracle Enter your desired password twice. For creating directories
mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01/app/oracle

Configuring 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 net.core.rmem_default=262144 net.core.wmem_default=262144 net.core.rmem_max=262144 net.core.wmem_max=262144 EOF

/sbin/sysctl p

Created by Muhammad Zeeshan

SoftShacksp.com

Setting Shell limit


cat >> /etc/security/limits.conf <<EOF oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 EOF cat >> /etc/pam.d/login <<EOF session required /lib/security/pam_limits.so EOF cat >> /etc/profile <<EOF if [ \$USER = "oracle" ]; then if [ \$SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi umask 022 fi EOF cat >> /etc/csh.login <<EOF if ( \$USER == "oracle" ) then limit maxproc 16384 limit descriptors 65536 umask 022 endif EOF

Created by Muhammad Zeeshan

SoftShacksp.com

Exporting Oracle environment variables


cat >> /etc/profile <<EOF ORACLE_OWNER=oracle; export ORACLE_OWNER ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_SCRIPTS_DIR=$ORACLE_BASE/product/10.2.0/db_1/bin; export ORACLE_SCRIPTS_DIR ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME export PATH=$PATH:$ORACLE_HOME/bin ORACLE_HOME_LISTNER=$ORACLE_HOME EOF

Now logout and login as oracle user for run oracle installation. After login open terminal and enter installer path to run installation Example# /data/databast/runInstaller Now follow the installation wizard and install the oracle ORACLE auto start and shutdown script After installation copy oracle file into (/etc/init.d) that is available in startup scrip folder in installation disk. And run following commands as root Chmod 755 /etc/init.d/oracle Chkconfig --level 345 oracle on And also edit /etc/oratab file and change (N) with (Y) in the end of the database path that u want auto run Use this command to edit oratab file Gedit /etc/oratab

Created by Muhammad Zeeshan

SoftShacksp.com

Copy the dbstart file After this copy and replace dbstart file that is available in bin folder on installation disk into the ORACLE_HOME/bin folder that is /u01/app/oracle/product/10.2.0/db_1/bin

Creating Listener and net services


enter the netca command in terminal as oracle user example# netca

Creating New Database


enter the dbca command in terminal as oracle user example# dbca

Created by Muhammad Zeeshan

SoftShacksp.com

You might also like