Installation of Oracle Database

Source: Internet
Author: User

Oracle Install Guide

Memory Requirements:

Minimum:1 GB OFRAMRECOMMENDED:2GB of RAM or More#grep Memtotal/proc/meminfo

To view virtual memory space:

Df-h/dev/shm/


To install a dependency package:

Yum install binutils compat-libcap compat-libstdc++ gcc gcc-c++glibc glibc-devel ksh libgcc libstdc++ libstdc++-devel Lib AIO libaio-devel makesysstat UnixODBC unixodbc-devel


Modify the user's SHELL the restrictions, modifications /etc/security/limits.conf file

Vi/etc/security/limits.conforacle softnproc 2047oracle hardnproc 16384oracle softnofile 1024oracle hardnofile 65536


Modify the Linux kernel, modify the/etc/sysctl.conf file

FS.AIO-MAX-NR = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912/ 4398046511104kernel.shmmni = 4096kernel.sem = 32000 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_ Default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576

Edit /etc/profile

if [$USER = "Oracle"]; thenif [$SHELL = "/bin/ksh"]; Thenulimit-p 16384ulimit-n 65536elseulimit-u 16384-n 65536fifi


Create User:

Groupadd oinstallgroupadd dbauseradd-g oinstall-g dba-m oraclepasswd Oracle


Create the installation directory

Mkdir-p/data/u01/app/chown-r oracle:oinstall/data/u01/chmod-r 755/data/u01/app/

Configuration Oracle user's environment variable, first, switch to the newly created Oracle users under

Su Oraclevi. bash_profileexportoracle_base=/data/u01/app/exportoracle_home= $ORACLE _base/oracle/exportoracle_sid= Oraclesidexportpath= $ORACLE _home/bin: $PATH: $HOME/bin

This article from "Wang Jiadong elder brother" blog, declined reprint!

Installation of Oracle Database

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.