RHE Linux6.5 installation Oracle11.2.4 record

Source: Internet
Author: User
Tags dba gtk iptables

  1. Install Red Hat Linux 6.5, note: Install the graphical interface when installing Oracle, because the graphical interface is required.

  2. Vim/etc/inittab Modify Id:5:initdefault; to Id:3:initdefault; start from the graphical interface to the command line interface. Reboot the system.

  3. Upload the software to the system using WINPC or XFTP tools.

  4. MOUNT/DEV/CDROM/MNT mount the optical drive.

  5. Cd/mnt

  6. vim/etc/yum.com Add the following code:

    [EL]

    Name =linux 6.5 DVD

    baseurl=file:///mnt/server/

    Gpgcheck=0

    Enabled=1

  7. The following software needs to be installed:

    Yum Install Binutils-y

    Yum Install Compat-libcap1-y

    Yum Install Compat-libstdc++-33-y

    Yum Install Gcc-y

    Yum Install gcc-c++-y

    Yum Install Glibc-y

    Yum Install Glibc-devel-y

    Yum Install Ksh-y

    Yum Install Libgcc-y

    Yum Install libstdc++-y

    Yum Install Libstdc++-devel-y

    Yum Install Libaio-y

    Yum Install Libaio-devel-y

    Yum Install Libxext-y

    Yum Install Libxtst-y

    Yum Install Libx11-y

    Yum Install Libxau-y

    Yum Install Libxcb-y

    Yum Install Libxi-y

    Yum Install Make-y

    Yum Install Sysstat-y

    Yum Install Unixodbc-y

    Yum Install Unixodbc-devel-y

  8. Shutdown-r now reboot the server.

  9. Edit the/etc/hosts file and add the following:

    127.0.0.1 localhost.localdomain localhost

    192.168.0.222 Db01 (here is the server IP database name)

  10. Add Users and Groups:

/usr/sbin/groupadd-g 60001 Oinstall

/usr/sbin/groupadd-g 60002 dba

/usr/sbin/groupadd-g 60003 Oper

/usr/sbin/useradd-u 61002-g oinstall-g dba Oracle

ID Oracle (view users)

Vim ~/.bash_profile  Add export lang=en_uspasswd Oracle to modify the Oracle user password. Login test (must do), with the Oracle user SSH login, follow the prompts to change the password to create/soft for the installation of files Df-hmkdir-p/oracle/app/oracle/product/11.2.0/db_1chown-r Oracle:oinstall/oraclechmod-r 775/oracle/Modify the operating system parameters to modify the/etc/security/limits.conf file, add the following: #ORACLE settingoracle               soft    nproc   2047oracle         &NB Sp     Hard    nproc   16384oracle               soft   &NBS P;nofile  1024oracle               hard    nofile  65536oracle &nbs P Soft   stacks    10240oracle   hard   stack    32768 Modify/etc/security/limits.d/90- nproc.conf file Contents: # this*          soft    nproc    1024# to this*-Npro C 16384vim/etc/selinux/config    Disable SELinux   change selinux=disabled for SELinux to take effect: setenforCe 0 off iptables firewall   service iptables stop and chkconfig iptables off modify/etc/pam.d/login file settings as follows: #ORACLE settingsession &N Bsp  required     pam_limits.so Modify the sysctl.conf configuration file as follows: # vi/etc/sysctl.conf#oracle SETTINGFS.AIO-MAX-NR = 1048576fs.file-max = 6815744kernel.shmmax = 2147483648  kernel.shmall = 524288kernel.shmmni = 4096kernel.sem = 250 32 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586#kernel.shmmax = 2147483648   (// Oracle Maximum shared memory share segment is greater than SGA, less than physical memory #kernel. Shmall = 524288   (//Control Oracle Total memory os default/4k) Sysctl-p let the configuration take effect. The following error is prompted: "Net.bridge.bridge-nf-call-ip6tables" is an unknown Keyerror: "Net.bridge.bridge-nf-call-iptables" was an Unknown Keyerror: "Net.bridge.bridge-nf-call-arptables" is a unknown key because the Iptalbes firewall is turned off without having to control its SHM modifications (mainly shared memory)/dev/ SHM: For example: To increase the size of the/DEV/SHM to 1GB, modify this line of/etc/fstab: Default:  none    /DEV/SHM &NBsp     TMPFS   defaults        0 0 change to:  none    /DEV/SHM     &NBSP ; TMPFS   defaults,size=2048m        0 0size parameters can also be used in G units: size=2g. Re-MOUNT/DEV/SHM make it effective: # Mount-o REMOUNT/DEV/SHM or: # umount/dev/shm# mount-a You can immediately check for changes with the "df-h" command. environment variable Settings  su-oravim  .bash_profilecle   to Oracle users, the environment variables for Oracle users are as follows: Export Lang=en_usvim  .bash_ Profile (Note: In Oracle User environment) Add the following code: # Oracle Settings oracletmp=/tmp; Export tmptmpdir= $TMP; Export Tmpdirexport lang=en_usoracle_base=/oracle/app/oracle; Export Oracle_baseoracle_home= $ORACLE _base/product/11.2.0; Export ORACLE_HOMEORACLE_SID=DB01; Export oracle_sidoracle_term=xterm; Export Oracle_termpath=/usr/sbin: $PATH; Export pathpath= $ORACLE _home/bin: $PATH; Export pathld_library_path= $ORACLE _home/lib:/lib:/usr/lib; Export ld_library_pathclasspath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib; Export classpathnls_date_format= "Yyyy-mm-dd HH24:MI:SS"; ExpoRT Nls_date_formatnls_lang=american_america. Zhs16gbk;export nls_langif [$USER = "Oracle"] | | [$USER = "Grid"]; then        IF [$SHELL = "/bin/ksh"]; then         ulimit-p 16384              Ulimit-n 65536&nbsp ;       else              Ulimit-u 16384-n 65536      &NB sp;fi        Umask 022fienv | grep Oracle View Oracle Environment variables Chown-r oracle:oinstall/soft/  (note: under root user) Chmod-r 775/soft/  (note: under root) Cd/soft ( Under Oracle user) unzip Oracle two software packages (unzip the package with unzip), unzip to the./database Directory Ls-lsa   Unzip the file in due to network termination problem, it is recommended to use VNC connection to the server, for graphical installation. (Note: Re-mount the optical drive with the root user) Cd/mntcd Packagesls-lsa *vnc* Installing the VNC package: RPM-IVH tigervnc-server-1.1.0-5.el6_4.1.x86_64.rpm rpm- IVH TIGERVNC-1.1.0-5.EL6_4.1.X86_64.RPM RPM-IVH GTK-VNC-0.3.10-3.EL6.X86_64.RPM RPM-IVH gtk-vnc-python-0.3.10-3.el6.x86_64.rpm  enable vnc:vncserver   input connections under Oracle usersVNC password. After the client desktop installs VNC, connects to the server, "IP Input server ip:1" successfully connected, VNC prompts to grant root permission.   Open Terminal: cd/soft/database/execution: ./runinstaller  If no problem, the graphical installation screen will pop up. A specific installation is similar to a Windows installation. If the interface is garbled, exit Setup  export Lang=en_us, and then reinstall.  

43.

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8F/78/wKiom1jfSJDQ-BH7AAOuIqVcH-U602.png-wh_500x0-wm_ 3-wmp_4-s_4027151254.png "style=" Float:none; "title=" 1.png "alt=" Wkiom1jfsjdq-bh7aaouiqvch-u602.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/8F/76/wKioL1jfSJLRZu7_AAQ0Rpk-B-g520.png-wh_500x0-wm_ 3-wmp_4-s_619398792.png "style=" Float:none; "title=" QQ picture 20170401133556.png "alt=" wkiol1jfsjlrzu7_ Aaq0rpk-b-g520.png-wh_50 "/>

RHE Linux6.5 installation Oracle11.2.4 record

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.