Configurations required for installing oracle in linux

Source: Internet
Author: User

1. Check System package installationRpm-qa | grep binutilsrpm-ivh sysstat-7.0.2.rpmbinutils-2.17.50.0.6compat-libstdc ++-33-3.2.3compat-libstdc ++-33-3.2.3 (32 bit) elfutils-libelf-0.125elfutils-libelf-devel-0.125gcc-4.1.2gcc-c + +-4.1.2glibc-2.5-24glibc-2.5-24 (32 bit) glibc-common-2.5glibc-devel-2.5glibc-devel-2.5 (32 bit) libaio-0.3.106libaio-0.3.106 (32 bit) libaio-devel-0.3.106libaio-devel-0.3.106 (32 bit) libgcc-4.1.2libgcc-4.1.2 (32 bit) libstdc ++-4.1.2libstdc ++-4.1.2 (32 bit) libstdc ++-devel 4.1.2make-3.81sysstat-7.0.2unixODBC-2.2.11 (32-bit) or laterunixODBC-devel-2.2.11 (64-bit) or laterunixODBC-2.2.11 (64-bit) or laterlibXplibXp-devel2. Modify Network ConfigurationVi/etc/sysconfig/network-scripts/ifcfg-eth0 ---------------------------- DEVICE = eth0BOOTPROTO = noneHWADDR = 00: 0c: 29: d4: f5: b4ONBOOT = yesTYPE = EthernetUSERCTL = yesIPV6INIT = noPEERDNS = yesNETMASK = 255.255.255.0IPADDR = 192.168.91.100GATEWAY = 192.168.91.1 255.vi/etc/hosts 255.127.0.0.1 localhost. localdomain localhost192.168.91.100 RHL5 -----------------------------3. Add oracle usersGroupadd oinstallgroupadd dbauseradd-g oinstall-G dba oraclepasswd oracle4. Add initialization parametersVi/etc/sysctl. confsysctl-p ----------------------------- fs. aio-max-nr = 1048576fs. file-max = 6815744 # kernel. shmall = 2097152 # kernel. shmmax = 536670912kernel. shmmni = 4096kernel. sem = 250 32000 100. net. ipv4.ip _ local_port_range = 9000 65500net. core. rmem_default = 262144net. core. rmem_max = 4192134net. core. wmem_default = 262144net. core. wmem_max = 1048576 -----------------------------5Disable force access control to avoid routing access failure.Vi/etc/selinux/config ----------------------- SELINUX = disabled -----------------------6. Set the number of oracle software and hardware ProcessesVi/etc/security/limits. conf --------------------- oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 -----------------------7. Global process, thread ConfigurationVi/etc/profile -------------------- if [$ USER = 'oracle ']; then ulimit-u 16384 ulimit-n 65536fi ----------------------8. Create an oracle root directory and Set Directory PermissionsMkdir/u01/app/oracle-pchown-R oracle: oinstall/u01chmod-R 755/u019. Set oracle user environment variablesSu-oraclevi. bash_profile export ORACLE_BASE =/u01/app/oracleexport ORACLE_HOME =/u01/app/oracle/product/11.2/db_1export ORACLE_SID = oracle11gexport NLS_LANG = export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ ORACLE_HOME/libexport PATH = $ PATH: $ ORACLE_HOME/bin:/usr/sbin:/usr/local/bin: /usr/X11R6/binumask 022 ---------------------- make it take effect .. /. bash_profile check whether echo $ ORACLE_HOME is set successfully

 

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.