SUSE11SP3 Installing Oracle 11gR2

Source: Internet
Author: User

1. Create user

Groupadd Oinstall

Groupadd dba

Useradd-m-G oinstall-g dba Oracle

passwd Oracle

2. Create a Directory

Mkdir-p/u01/app/oracle

Mkdir-p/u01/app/orainventory

Chown-r Oracle.oinstall/u01/app

chmod 777/u01/app

3, modify the file/etc/security/limits.conf, add the following content:

#/etc/security/limits.conf

#for Oracle


Oracle Soft Nproc 2047

Oracle Hard Nproc 16384

Oracle Soft Nofile 1024

Oracle Hard Nofile 65536

Oracle Soft Stack 10240

Oracle Hard Stack 32768

4, check that the following RPM package is installed, if not installed in time to install the following RPM package


binutils-2.19

gcc-4.3

gcc-32bit-4.3

gcc-c++-4.3

glibc-2.9

glibc-32bit-2.9

glibc-devel-2.9

glibc-devel-32bit-2.9

ksh-93t

libaio-0.3.104

libaio-32bit-0.3.104

libaio-devel-0.3.104

libaio-devel-32bit-0.3.104

libstdc++33-3.3.3

libstdc++33-32bit-3.3.3

libstdc++43-4.3.3_20081022

libstdc++43-32bit-4.3.3_20081022

libstdc++43-devel-4.3.3_20081022

libstdc++43-devel-32bit-4.3.3_20081022

libgcc43-4.3.3_20081022

libstdc++-devel-4.3

make-3.81

sysstat-8.1.5

UnixODBC-2.2.12 or later

Unixodbc-devel-2.2.12 or later

unixodbc-32bit-2.2.12 (32-bit) or later


5. Modify Kernel parameters


Vi/etc/sysctl.conf

FS.AIO-MAX-NR = 1048576

Fs.file-max = 6815744

Kernel.shmall = 2097152

Kernel.shmmax = 4294967295

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

Net.ipv4.ip_local_port_range = 9000 65500

Net.core.rmem_default = 262144

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 1048576

Vm.hugetlb_shm_group=oinstall ID # # #比红帽多了个参数设置.

Modify save after execution

/sbin/chkconfig Boot.sysctl on

/sbin/sysctl-p


Note: If the parameter value in the sysctl.conf file is greater than the specified value, the profile parameter value will prevail.

6. Modify the Oracle user Bash_profile file to add the following content


Vi. profile

Export tmp=/tmp;

Export tmpdir= $TMP;

Export oracle_base=/u01/app/oracle;

Export Oracle_home= $ORACLE _base/product/11.2.0/dbhome_1;

Export oracle_sid=oracle;

Export oracle_term=xterm;

Export Nls_lang=american_america. Zhs16gbk

Export path= $ORACLE _home/bin: $PATH;

Exportld_library_path= $ORACLE _home/lib:/lib:/usr/lib;

Export classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib; Umask 022

7, install the database software.

8. Create a database.

This article is from "Technical achievement dream!" "Blog, be sure to keep this provenance http://dreamsanqin.blog.51cto.com/845412/1659586

SUSE11SP3 Installing Oracle 11gR2

Related Article

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.