Oracle Installation RHEL

download Oracle Installation RHEL

of 3

Transcript of Oracle Installation RHEL

  • 8/6/2019 Oracle Installation RHEL

    1/3

  • 8/6/2019 Oracle Installation RHEL

    2/3

    Alternatively, this alteration can be done using the GUI tool (System > Administration >Security Level and Firewall). Clickon the SELinux tab and disable the feature.

    Setup

    Install the following packages:# From RedHat AS5 Disk 1cd /media/cdrom/Serverrpm-Uvh setarch-2*rpm-Uvh make-3*rpm-Uvh glibc-2*rpm-Uvh libaio-0*cd /eject

    # From RedHat AS5 Disk 2cd /media/cdrom/Server

    rpm-Uvh compat-libstdc++-33-3*rpm-Uvh compat-gcc-34-3*rpm-Uvh compat-gcc-34-c++-3*rpm-Uvh gcc-4*rpm-Uvh libXp-1*cd /eject

    # From RedHat AS5 Disk 3cd /media/cdrom/Serverrpm-Uvh openmotif-2*rpm-Uvh compat-db-4*cd /

    ejectCreate the new groups and users:groupadd oinstallgroupadd dbagroupadd oper

    useradd -g oinstall -G dba oraclepasswd oracle

    Create the directories in which the Oracle software will be installed:mkdir -p /u01/app/oracle/product/10.2.0/db_1chown -R oracle.oinstall /u01

    Login as root and issue the following command:xhost +

    Edit the /etc/redhat-release file replacing the current release information (Red Hat EnterpriseLinux Server release 5 (Tikanga)) with the following:redhat-4

    Login as the oracle user and add the following lines at the end of the .bash_profile file:# Oracle SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIR

    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

  • 8/6/2019 Oracle Installation RHEL

    3/3

    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOMEORACLE_SID=TSH1; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATH

    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; exportCLASSPATH

    if [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/ksh" ]; thenulimit -p 16384ulimit -n 65536

    elseulimit -u 16384 -n 65536

    fifi

    InstallationLog into the oracle user. If you are using X emulation then set the DISPLAY environmentalvariable:DISPLAY=:0.0; export DISPLAY

    Start the Oracle Universal Installer (OUI) by issuing the following command in the databasedirectory:./runInstaller

    During the installation enter the appropriate ORACLE_HOME and name then continue

    installation. For a more detailed look at the installation process, clickon the links below to see

    screen shots of each stage.