RedHat AS4 UP7 (64-bit) Installation of Oracle 10 Gb Single Instance

Source: Internet
Author: User

1. Oracle Installation Requirements
Database Installation Requirements:
Database Installation requirements are as follows:

1. Currently, it is installed on a file system.
2. Install oracle. The default user password is oracle.
3. Database sid: taac
4. The installed database character set is: GBK-16-bit Simplified Chinese
5. Default Sga size
6. The default size and number of log files, control files, and rollback.
7. The user tablespace is created by development.
8. Create a database data file to/opt/oacle/oradata.
9. Create a user taac and grant the resource, connect, and dba permissions.

In addition, there are no other special requirements for database creation.

2. Prepare the oracle Installation host

Memory check
Check memory space
[Root @ localhost ~] # Grep MemTotal/proc/meminfo
MemTotal: 8172940 kB
Check that the physical memory usage is normal.

Swap space check
[Root @ localhost ~] # Grep SwapTotal/proc/meminfo
SwapTotal: 10485752 kB
Check whether the swap partition meets the requirements.

Disk Space Requirements

[Root @ localhost ~] # Df
Filesystem 1K-blocks Used Available Use % Mounted on
/Dev/mapper/VolGroup00-LogVol00 10321208 282620 9514300 3%/
/Dev/cciss/c0d0p1 497829 20019 452108 5%/boot
None 4086468 0 4086468 0%/dev/shm
/Dev/mapper/VolGroup00-LogVol03 5160576 43044 4855388 1%/home
/Dev/mapper/VolGroup00-LogVol07 71376248 85820 67664652/mm
/Dev/mapper/VolGroup00-LogVol06 20642428 77804 19516048 1%/opt
/Dev/mapper/VolGroup00-LogVol02 2064208 35956 1923396 2%/tmp
/Dev/mapper/VolGroup00-LogVol05 10321208 7410592 2386328 76%/usr
/Dev/mapper/VolGroup00-LogVol04 10321208 293504 9503416 3%/var

Prepare the software installation to the/opt file.
Tmp space satisfied

Operating system status
Check the operating system version
[Root @ localhost ~] # Cat/etc/RedHat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)

[Root @ localhost ~] # Uname-
Linux localhost. localdomain 2.6.9-78. ELlargesmp #1 SMP Wed Jul 9 16:03:59 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

System software patch Query

System software package cannot be installed. Use oracle10g
Check whether the system meets 10 installation conditions:
Rpm-Uvh setarch-1.6-1.i386.rpm
Rpm-Uvh compat-libstdc-33-3.2.3-47.3.i386.rpm
Rpm-Uvh make-3.80-5.i386.rpm
Rpm-Uvh glibc-2.3.4-2.i386.rpm
Rpm-Uvh openmotif-2.2.3-6.RHEL4.2.i386.rpm
Rpm-Uvh compat-db-4.1.25-9.i386.rpm
Rpm-Uvh libaio-0.3.102-1.i386.rpm
Rpm-Uvh gcc-3.4.3-9.EL4.i386.rpm
Rpm-Uvh compat-gcc-32-3.2.3-47.3.i386.rpm
Rpm-Uvh compat-gcc-32-c-3.2.3-47.3.i386.rpm

The package meets the requirements of oracle with 10 Gb of data. Plan to install 10 Gb oracle.

Core Parameter Modification
The core parameters of this machine have been modified.
Add/etc/sysctl. conf
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Kernel. shmall = 2097152
Kernel. shmmax = 4284229877
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144

Note: run the "sysctl-p" command to activate the parameter.

Add group and user
The oralce user on this machine already exists.
You do not need to add it after viewing it.

Create an oracle Installation File address
Create a new/opt/oracle/product file and grant the following permissions:
# Mkdir-p/opt/oracle/app/
# Mkdir-p/opt/oracle/oradata
# Chown-R oracle: dba/opt/oracle
# Chmod-R 775/opt/oracle

Set oracle user session restrictions
Add/etc/security/limits. conf
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Hard nproc 16384

Add/etc/pam. d/login
Session required pam_limits.so

Add/etc/profile
If [$ USER = "oracle"]; then
Ulimit-u 16384
Ulimit-n 65536
Fi

  • 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.