RHEL5 Installing Oracle 10g

Source: Internet
Author: User

General Installation

1, install the necessary rpm

Yum install compat-db compat-libstdc++ control-center gcc gcc-c++ glibc glibc-common gnome-libs libstdc++ libstdc++-devel Make Pdksh sysstat xscreensaver setarch libxp libaio libxp-devel libgcc libaio-devel* glibc-devel glibc elfutils-libelf E Lfutils-libelf-devel binutils UnixODBC unixodbc-developenmotif-y

2. Modify Kernel parameters Limits

Vim/etc/security/limits.conf

Oracle Soft Nofile 65536

Oracle Hard Nofile 65536

Oracle Soft Nproc 16384

Oracle Hard Nproc 16384

3. Modify Kernel Parameters Sysctl

Vim/etc/sysctl.conf

Kernel.shmmax = 2147483648

Kernel.shmmni = 4096

Kernel.shmall = 2097152

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

4. Let the kernel take effect

/sbin/sysctl-p

5. Modified version

Vim/etc/redhat-release

5 Change to 4

6. Adding users and Groups

Groupadd dba

Groupadd Oinstall

USERADD-G oinstall-g dba-m Oracle

7. Build Catalogue

Mkdir-p/u01/app/oracle

Chown-r oracle:oinstall/u01

8. Edit the Oracle User profile

Vim/home/oracle/.bashrc

Export Oracle_base=/u01/app/oracle
Export Oracle_home= $ORACLE _base/product/10.2.0/db_1
Export path= $ORACLE _home/bin: $PATH
Export Oracle_owner=oracle
Export ORACLE_SID=ORCL
Export oracle_term=vt100
Export Threads_flag=native
Export ld_library_path= $ORACLE _home/lib: $LD _library_path
Export path= $ORACLE _home/bin: $PATH
Export Lang=en_us

9. Unzip the installation file

Tar zxvf oracle_10gr2.tar.gz

Chown-r Oracle:oinstall Database

If it's a cpio.gz format,

Gunzip xxxx.cpio.gz

CPIO-IDMV < Xxx.cpio

10. Start the installation

Xhost +

Su-oracle

./runinstaller

11, the installation is complete execution

Execute under Root user

/u01/app/oracle/orainventory/orainstroot.sh

/u01/app/oracle/product/10.2.0/db_1/root.sh

Silent Installation

From the 10th step, proceed to the following process:

10 ': Prepare the answer file

Vim/tmp/enterprise.rsp

responsefile_version=2.2.1.0.0
from_location= "/mnt/database/stage/products.xml"
Oracle_home= "/u01/app/oracle/product/10.2.0/db_1"
Oracle_home_name= "Oradb10g_home1"
toplevel_component={"Oracle.server", "10.2.0.1.0"}
deinstall_list={"Oracle.server", "10.2.0.1.0"}
Show_splash_screen=false
Show_welcome_page=false
Show_component_locations_page=false
Show_custom_tree_page=false
Show_summary_page=false
Show_install_progress_page=false
Show_required_config_tool_page=false
Show_config_tool_page=false
Show_release_notes=false
Show_rootsh_confirmation=false
Show_end_session_page=false
Show_exit_confirmation=false
Next_session=false
Next_session_on_fail=false
Show_deinstall_confirmation=false
Show_deinstall_progress=false
Accept_license_agreement=true
component_languages={"en"}
cluster_nodes=
Install_type= "EE"
S_namefordbagrp=dba
S_nameforopergrp=dba
B_oneclick=false
Show_database_configuration_page=false
B_createstarterdb=false

Run the setup file to indicate the answer file

./runinstaller-silent-responsefile/tmp/enterprise.rsp

Or

./runinstaller-ignoresysprereqs-silent-responsefile/tmp/enterprise.rsp

12, the installation is complete execution

Execute under Root user

/u01/app/oracle/orainventory/orainstroot.sh

/u01/app/oracle/product/10.2.0/db_1/root.sh

Special attention:

Do not install the i386 version of Oracle on the x86_64 platform, or there will be a lot of links to problems (such as ins_net_client.mk cannot be created, etc.). Remember, remember.


RHEL5 Installing Oracle 10g

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.