Diagram of the entire process of Oracle 10g installation and configuration in CentOS

Source: Internet
Author: User

For details about the process, refer to the instructions on the official website. system environment:

Uname-
Linux higkoo 2.6.18-194. el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Cat/etc/issue
CentOS release 5.5 (Final)

Preparations:

# Mount the CentOS system installation disc
DvdFile="// FileServerIp/Share/CentOS-5.5-x86_64-bin-DVD.iso"
DvdDir="/Mnt/CentOS_Final"
Mount-t iso9660-o loop"$ {DvdFile }" "$ {DvdDir }"
# Add the installation disc to the installation Source
Cat>/etc/yum. repos. d/CentOS-Media.repo<_ YumSource
[AutoInstaller]
Name = CentOS-$ releasever-Media
Baseurl = file: // mnt/CentOS_Final/
Gpgcheck = 0
Enabled = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
_ YumSource
# Use a CD as the installation source and install the dependent Libraries
Yum-y -- disablerepo=\*-- Enablerepo=AutoInstaller -- nogpgcheck -- skip-broken install compat-db * compat-gcc * libXp. so.6 libc-* libaio * openmotif glibc-devel * libgcc * gnome-lib * libXtst vnc-server xterm xorg-x11-twm gcc make binutils openmotif setarch compat-libstdc ++-devel
# Create an installation directory and decompress the installation package
Mkdir-p/data/setupfiles/Oracle/data/oracle
Cd/Data/setupfiles/Oracle/
Zcat/mnt/Oracle/10201_database_linux_x86_64.cpio.gz | cpio-idmv
# Add a user and set the User Password
/Usr/sbin/groupadd oinstall
/Usr/sbin/groupadd dba
/Usr/sbin/useradd-m-g oinstall-G dba oracle-d/data/oracle/home
Id oracle
Passwd oracle
# Initialize the installation directory
Mkdir-p/data/oracle/app/data/oracle/data
Chown-R oracle: oinstall/data/oracle/app/data/oracle/data
Chmod-R 775/data/oracle/app/data/oracle/data
# Setting environment variables for oracle users
Vim ~ Oracle/. bash_profile
LANG=UTF-8
ORACLE_SID=Orcl
ORACLE_BASE=/Data/oracle/app
ORACLE_HOME=/Data/oracle/home
JAVA_HOME=$ ORACLE_HOME/Jdk
PATH=$ ORACLE_HOME/Bin:$ PATH:$ HOME/Bin
LD_LIBRARY_PATH = $ ORACLE_HOME/lib
ExportLANG ORACLE_SID ORACLE_BASE ORACLE_HOME JAVA_HOME PATH LD_LIBRARY_PATH
# Configure the VNC logon option. The interface is required for Oracle installation.
Vim/etc/sysconfig/vncservers
VNCSERVERS="0: oracle"
VNCSERVERARGS[2] ="-Geometry 1280x1024-nolisten tcp-nohttpd-localhost"
Su-oracle
Vncserver
Logout
Vncserver-kill: 1
Service vncserver start
# Because Oracle does not support CentOS, use the RedHat ID instead.
Vim/etc/redhat-release
Red Hat Enterprise Linux AS release 3(Higkoo)
# Modifying Kernel Parameters
Vim/etc/sysctl. conf
Kernel. shmall=4294967296
Kernel. shmmax=68719476736
Kernel. shmmni=4096
Kernel. sem=250 32000 100 128
Fs. file-max=65536
Net. ipv4.ip _ local_port_range=1024 65000
Sysctl-p
# Modifying the Oracle user environment
Vim/etc/security/limits. conf
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 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.