Installing the oracle11gr2_64 on the ol6.5_64

Source: Internet
Author: User
Tags sqlplus

First, install oracle11gr2_641 in oracle linux6.5, modify Selinuxvi/etc/selinux/config this file controlsthe  state of selinux on the system.# selinux= can takeone of  these three values:#     enforcing - selinux security  policy isenforced.#     permissive - SELinux prints  Warningsinstead of enforcing.#     disabled - no selinux  policy is loaded. selinux=disabled     --modified to Disabled# selinuxtype= cantake one of  these two values:#     targeted - targeted processes  areprotected,#     mls - Multi Level Security  Protection. SELINUXTYPE=TARGETED  2, close iptables1) is permanently active and does not recover   turn on:chkconfigiptables on  off after rebootClosed: chkconfigiptables off 2) immediate effect, restart recovery on: Serviceiptables start off:serviceiptables  Stop status: Serviceiptables status Note: For Linux other services can be used above fame and fortune to perform the open and close operation. When the firewall is turned on, make the following settings, open the relevant port, modify the/etc/sysconfig/iptables document, add:-arh-firewall -l -input -m state  --state new -m tcp -p tcp --dport 80 -j accept-arh-firewall  -l -input -m state --state new -m tcp -p tcp --dport  22 -j accept 3) View firewall status #chkconfigiptables --list  3, install Yum#mkdir/media/cdrom #mount/dev/cdrom  /media/cdrom  #rm-rf   /etc/yum.repos.d/*.repo#vi/etc/ yum.repos.d/ol6.5iso.repo[ol6.5iso]name=ol6.5isobaseurl=file:///media/cdromenabled=1gpgcheck=0  #yum    clean all#yum  list oracle-rdbms-server-11gr2-preinstall.x86_64 # #卸载yum   Source # Umount/media/cdrom#eject/dev/cdrom 4, installing oracle  dependency Pack #yum  -y  install oracle-rdbms-server-11gr2-preinstall.x86_64 5, setting display#exportdisplay=your_address.0:0  6, unzip the Oracle Management Software installation package #mkdir  /s01#chownoracle:oinstall  /s01#  #将Oracle安装包拷贝到/S01 # unzipp13390677_112040_linux_1of7.zip#unzipp13390677_112040_linux_2of7.zip 7, switch to oracle  User Image interface Start installation oracle#cd/s01/database#./runinstaller 8, problem solving OS:linux3.8.13-16.2.1.el6uek.x86_64  #1   Smp thu nov 7 17:01:44 pst 2013 x86_64 x86_64x86_64 gnu/linux " Question1 "(hereinafter referred to as" Q1 ")/lib/ld-linux.so.2: bad elf interpreter:no such file or  Directory "cause" 64bit Linux operating system, unable to run 32bit application "Workaround" requires the installation of 32bit glibc library #yum installglibc*.i686 "Check" under the statement to see if a successful installation #rpm  -qf/lib/ld-linux.so.2  "Q2" libxext.so.6:cannot open shared object file  "Cause" when installing 64-bit Oracle on 64-bit CentOS, there are times when "Libxext.so.6: cannot open shared object file:" The error. This is mainly due to the fact that Oracle installs some 32-bit LIB, which is similar to the DLL "workaround" under Windows #yum  install -ylibxext.i686 9, the *.i686#su -  that needs to be installed during installation root#yum -yinstall *.i686  10, switch to root user to execute two scripts #su -root#./home/oracle/app/ Orainventory/orainstroot.sh#./home/oracle/app/oracle/product/11.2.0/dbhome_1/root.sh 11, bash:  sqlplus: command not found  solution   Environment variables are well-established, but still error:  # vi  .bash_ Profile # .bash_profile # get the aliasesand functionsif [ -f  ~/.bashrc ];then        . ~/.bashrcfi # user  specificenvironment and startup programs path= $PATH: $HOME/bin#addoracle_sid  Oracle_base,oracle_home and pathexportpathunsetusernameexporteditor = viexportoracle_sid  = orclexport ORACLE_BASE = /u01/app/oracleexportORACLE_HOME =  $ORACLE _base /product/11.2.0/dbhome_1/export path =  $PATH:/u01/app/oracle/product/11.2.0/dbhome_1/binumask 022  "Workaround" # su -root#  ln -s /u01/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus  /usr/bin# su   - oracle$sqlplus/nologSQL>conn  / as sysdbaConnected to an  Idleinstance. sql>startup oracleinstance started ..... Database mounted. databaseopened.



This article is from the "struggle more than" blog, please be sure to keep this source http://peenboo.blog.51cto.com/2865551/1790108

Installing the oracle11gr2_64 on the ol6.5_64

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.