Debian Oracle 10 Gb database installation and configuration Manual

Source: Internet
Author: User

1. Obtain the Oracle 10g Installation File

2. Configure the installation environment for Debian

2.1 configure sysctl. conf

# Vi/etc/sysctl. conf

Add the following content to the end of the file:

Kernel. shmall = 2097152

Kernel. shmmax = 2147483648

Kernel. shmmni = 4096

Kernel. sem = 250 32000 100 128

Fs. file-max = 65536

Net. ipv4.ip _ local_port_range = 1024 65000

Make the modification take effect:

#/Sbin/sysctl-p

Check whether it takes effect:

#/Sbin/sysctl-a | grep sem

#/Sbin/sysctl-a | grep shm

#/Sbin/sysctl-a | grep file-max

#/Sbin/sysctl-a | grep ip_local_port_range

2.2 edit the pam. d File

# Vi/etc/pam. d/login

Append session required/lib/security/pam_limits.so to the end of the file

2.3 disable SELINUX items

# Vi/etc/selinux/config

Set SELINUX = disabled

2.4 users required to add oracle

# Groupadd oinstall

# Groupadd dba

# Useradd-d/home/oracle-s/bin/sh-m oracle

# Passwd oracle

2.5 create a directory required for oracle Installation and grant permissions

# Mkdir-p/opt/data1/app

# Chown-R oracle. oinstall/opt/data1/app/

# Chmod-R 755/opt/data1/app/

# Mkdir/DISCARD

# Chown-R oracle. oinstall/DISCARD

# Chmod-R 755/DISCARD

 

  • 1
  • 2
  • 3
  • 4
  • Next Page

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.