Install Oracle 10g and pro * c on Fedora 13

Source: Internet
Author: User

1. Fedora 13: create users, groups, and directories required for Oracle Installation

(1) Add groups and users:

Groupadd oinstall

Groupadd dba

Groupadd rule

Useradd-g oinstall-G dba oracle

Passwd oracle

(2) create an Oracle installation directory and grant permissions to oracle users:

Mkdir-p/u01/app/oracle/product/10.2/db_1

Chown-R oracle. oinstall/u01

2. Modify the/etc/sysctl. conf Kernel configuration file and add/modify the following items.
Kernel. shmall = 2097152 # total available shared memory.
Kernel. shmmax = 2147483648 # maximum size of shared memory segments.
Kernel. shmmni = 4096 # maximum number of shared memory segments of the entire system.
Kernel. sem = 250 32000 100 128 # maximum number of signal objects in each signal object set; Maximum number of signal objects in the system range; Maximum number of operations supported by each signal object; the maximum number of signal objects in the system range.
Fs. file-max = 65536 # maximum number of file handles allowed in the system.
Net. ipv4.ip _ local_port_range = 1024 65000 # IPv4 port range available for applications.
Net. core. rmem_default = 1048576 # default value of the socket receiving buffer size
Net. core. rmem_max = 1048576 # maximum size of the socket receiving buffer
Net. core. wmem_default = 262144 # default value of the socket sending buffer size
Net. core. wmem_max = 262144 # maximum size of the socket sending Buffer
Run the following command to make the kernel parameters take effect:
/Sbin/sysctl-p/etc/sysctl. conf
Note: The kernel parameters do not have to be modified. They can be modified based on your actual situation.

3. Set shell limit for oracle users

# Vim/etc/security/limits. conf

Add the following content to the/etc/security/limits. conf file:

Oracle soft nproc 2047

Hard nproc 16384

Oracle soft nofile 1024

Oracle hard nofile 65536

Add the following content to the file/etc/pam. d/login to make the shell limit take effect:

Session required/lib/security/pam_limits.so

4. oracle user environment variable settings -- # ls-
Vim. bash_profile
Add:
PATH = $ PATH: $ HOME/bin
Export ORACLE_BASE =/u01/app/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/10.2/db_1
Export ORACLE_SID = orcl
Export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ ORACLE_HOME/lib:/usr/local/lib
Export PATH = $ PATH: $ ORACLE_HOME/bin
Export NLS_LANG = "SIMPLIFIED CHINESE_CHINA.UTF8"
Change PATH = $ PATH: $ HOME/bin to PATH = $ PATH: $ HOME/bin: $ ORACLE_HOME/bin to save and exit.
Run the source. bash_profile command to make the environment variable take effect.

5. Disable SeLinux.

Because SeLinux has an impact on oracle, setting Secure Linux as invalid. edit the file/etc/selinux/config:

SELINUX = disabled

Of course, you can also use the tool (system> Management> Security Level and firewall) in the graphic interface to select the SELinux page and set it to invalid.

6. I downloaded the 10201_database_linux32.zip file. Then, I decompress the file and generate the database folder. You can upload the file to/home/oracle through SSH (using oracle user connection)

7. Solve the dependency: (http://whatislinux.net/rpm)
Download and install:
LibXp-1.0.0-8.1.el5.i386.rpm
Openmotif-devel-2.3.0-0.3.el5.i386.rpm
LibXp-devel-1.0.0-8.1.el5.i386.rpm
Openmotif-2.3.0-0.3.el5.i386.rpm
Install the four installation packages: libXP and openmotif.

Log on with an ORACLE account

1. Enter the corresponding oracle installation folder, find the corresponding runInstaller file, execute it, and install it (do not install it under ROOT or other accounts, or report an error)

2. If the installed graphical interface is garbled, execute export LANG = en_US

3. Select "Advanced installation" --- "Custom"

4. Remember to run the two ". sh" files under the root user after installation.

(Especially the proc command used by pro * c)

  • 1
  • 2
  • 3
  • Next Page

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.