Install Oracle 10g under Linux

Source: Internet
Author: User
Tags create directory dba mkdir linux

Installing Oracle under Linux is a daunting thing, much more complicated than installing the Linux operating system itself. If you are able to successfully install Oracle, you can also learn some Linux technologies. This article describes the method for installing Oracle 10g under Redhat Linux. Here is a description, Oracle 10g G is the abbreviation of grid, meaning for the grid, the current more cutting-edge network computing technology.

Oracle 10g has a high demand for hardware and software, so it costs a lot of money to play around. First look at its hardware requirements: Memory 512 trillion (recommended 1G), CPU frequency 2.0G above, hard disk speed of 7200 RPM (Recommended use SCSI hard drive), according to this condition, I look to buy a server just line. Second, software requirements: In Oracle's official documentation, there are only 3 types of operating systems supported for the x86 series (Radhat Es/as 2.1 (x86), Redhat Es/as 3 (x86), unitedlinux1.0 (x86)), if only Redhat 9 can also be installed, but a little trouble. Of course, Oracle 10g requires more software modules to be installed, which I will explain later. In this case, the Redhat ES 3 (x86) is used as the operating platform and the Xwindow is installed.

Next, we check to see if the Oracle 10g installation requirements are listed in tabular form. The first is the hardware situation. Log on to the system with root and start X-window. If the value that is output from the following table command is greater than or equal to the recommended value, check the project command/method recommendation value

Memory #grep Memtotal/proc/meminfo 512MB

Swap partition #grep Swaptotal/proc/meminfo 1GB

/tmp directory free area #df –k/tmp 400MB

Hard disk free space #df-K 4GB

Go down and check the software requirements. For Redhat ES 3 (x86), the following packages are required:

Gnu gcc package, gcc-3.2.3-2 or higher

The following packages must also be installed:

make-3.79 
binutils-2.11 
openmotif-2.2.2-16 
setarch-1.3-1 
compat-db-4.0.14.5 
· compat-gcc-7.3-2.96.122 
compat-gcc-c++-7.3-2.96.122 
compat-libstdc++-7.3-2.96.122 
      · compat-libstdc++-devel-7.3-2.96.122

To ensure that the system meets the requirements, perform the following steps to check the installed Linux version and the installed suite.

Review Project Command/method recommendation values

Linux version #cat/etc/issue ES 3

Packages Installed #rpm-Q package_name installation required (listed in the table above)

Here we have a comprehensive review of the hardware and software environment required to install Oracle 10g, and then we will create groups and users for the installation.

The following groups and users must exist

The Oinstall group (the Oracle Inventory group) the
DBA Group (the OSDBA Group)
      Oracle User (The Oracle Owne R

If the above groups and users do not exist, create them with the following steps.

(1) To see if these groups and users exist:

#grep Oinstall/etc/group

#grep Dba/etc/group

(2) Create the groups and users needed to install Oracle

#groupadd Oinstall

#groupadd DBA

#useradd –g oinstall–g dba Oracle

Check to see if Oracle is a group Oinstall and DBA (#id Oracle) and then set a user password for Oracle #passwd Oracle entered two times.

Create the directory required for installation/u01/app/oracle (the Oracle base directory),/u02/oradata (an optional default directory) and create it in the form of a command in the following table. And then change its directory Permissions.

Create Directory Change permissions

#mkdir –p/u01/app/oracle #chown –R oracle:oinstall/u01/app/oracle/u02/oradata

#mkdir –p/u02/oradata #chmod –R 755/u01/app/oracle/u02/oradata

Configuring kernel parameters, the following table is the recommended kernel parameter value for Oracle, please refer to.

Parameter Value File
semmsl
semmns
semopm semmni-
MB
32000 SEM
shmall 2097152/proc/sys/kernel/shmall
Shmmax Half the size of physical Memory/proc/sys/kernel/shmmax
Shmmni 4096/proc/sys/kernel/shmmni
file-max 65536/proc/sys/fs/file-max
      ip_local_port_range 1024 65000/proc/sys/net/ipv4/ip_local_port_range
 
  
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.