Install Oracle10gRelease on RedHatAdvancedServer4.0update1

Source: Internet
Author: User
Welcome to the Oracle community forum and interact with 2 million technical staff. Install OracleDatabase10gRelease2 (10.2.0.1) oracle's new OracleDatabase10gRelease2 (10.2.0.1) on RedHatAdvancedServer4.0update1

Welcome to the Oracle community forum and interact with 2 million technical staff> go to RedHat Advanced Server 4.0 update1 to install Oracle Database 10g Release 2 (10.2.0.1) the new oracle Database 10g Release 2 (10.2.0.1) launched by Oracle is available on RedHat Advanced Server 4.0 update1.

Welcome to the Oracle community forum and interact with 2 million technical staff> enter

Install Oracle Database 10g Release 2 (10.2.0.1) on RedHat Advanced Server 4.0 update1)
Oracle Database 10g Release 2 (10.2.0.1), a new Oracle Database 10g Release 2 (10.2.0.1), has many new and interesting installation methods on RedHat Advanced Server 4.0 update1, some experiences are shared with you:
1. Oracle Database 10g Release 2 (10.2.0.1) for linux completely solves the problem of garbled characters in Chinese sessions of previous versions. It can be displayed on the full Chinese page, including isqlplus and em, it facilitates the use of Chinese linux users;
2. The EM port of Oracle Database 10g Release 2 (10.2.0.1) is adjusted to 1158, that is, http: // hostname: 1158/em. This is a new setting;
3. solved the problem of adding a patch when the previous version was installed on RedHat Advanced Server 4.0 update1 because AS4 was not recognized by 10 Gb. (In fact, the patch cannot solve the problem either, according to the patches provided by Oracle, kernel version Verification is still not supported, and only mandatory installation is supported. The system package can be verified smoothly, facilitating system stability.
We will provide you with the following methods:
1. programs to be installed in RedHat Advanced Server 4.0 update1:
X Window System
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Server Configuration Tools
Development Tools
Administration Tools
System Tools
Note: you can install KDE. If you like it, but I find that there are some problems with the KDE of RedHat Advanced Server 4.0 update1. OPENOFFICE cannot correctly display Chinese Characters in Chinese sessions. Oracle prompts that no network server should be installed.
2. Edit the Kernel Parameter:/etc/sysctl. conf.
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
# Semaphores: semmsl, semmns, semopm, semmni
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
3. disable the linux access control function/etc/selinux/config and set selinux to disable. According to some researchers, this may cause oracle users to access system files during installation.
4. View and install the following package:
# From RedHat AS4 Disk 2
Cd/media/cdrom/RedHat/RPMS
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

# From RedHat AS4 Disk 3
Cd/media/cdrom/RedHat/RPMS
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

# From RedHat AS4 Disk 4
Cd/media/cdrom/RedHat/RPMS
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
Note: Some file versions in update may be different, but the names are the same.
5. Create users and paths as usual:
Groupadd oinstall
Groupadd dba
Groupadd rule

Useradd-g oinstall-G dba oracle
Passwd oracle

Mkdir-p/u01/app/oracle/product/10.2.0/db_1
Chown-R oracle. oinstall/u01
Chmod-R 775/u01
6. Edit the. bash_profile file:
# Oracle Settings
TMP =/tmp; export TMP
TMPDIR = $ TMP; export TMPDIR

ORACLE_BASE =/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID = oral; export ORACLE_SID
ORACLE_TERM = xterm; export ORACLE_TERM
PATH =/usr/sbin: $ PATH; export PATH
PATH = $ ORACLE_HOME/bin: $ PATH; export PATH

LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH
# LD_ASSUME_KERNEL = 2.4.1; export LD_ASSUME_KERNEL

7. installation:
Unzip 10201_database_linux32.zip


./RunInstaller
You can install it smoothly.
Start DBCA and NETMGR. You will see the familiar Chinese interface.
In addition, it is observed that automatic memory management is automatically enabled after the database is created, that is, the parameters db_cache_size and shared_pool_size are replaced by sga_target.

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.