Installing the oracle11g____ applet on the Linux command line

Source: Internet
Author: User

Turn from: http://blog.itpub.net/21582653/viewspace-716034/

Normal 0 7.8 lb 0 2 false false en-US zh-cn x-none</w:lidthemecomplexscript. MicrosoftInternetExplorer4 <style. /* Style. Definitions */table. msonormaltable {mso-style-name: plain form; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; Mso-style-qformat:yes; Mso-style-parent: ""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; Mso-pagination:widow-orphan; font-size:10.0pt; font-family: "Calibri", "Sans-serif";} </style.

Environment Description:

System: CentOS 5.6

Databases: Oracle Database 11g 1R

Physical Memory: 4GB

One: Environment settings

1.1 Check server hardware Resources

Hardware requirements for Linux systems (X86-32)

Physical memory: Min. 1GB

Interaction space: When the physical memory is between 1GB and 2GB, the interaction space is 1.5 times times of the physical memory, and the interaction space is 1 time times the physical memory when the physical memory is between 2GB to 8GB, and the interactive space is 0.75 times times of the physical memory when the physical memory is more than 8GB.

Disk space: Enterprise Edition 4.35GB, Standard Edition 3.22GB, custom (max): 3.45GB

1.2 Operating system environment settings

X86 (32-bit) Red Hat enterise 5.0, CentOS5.0 installation package required:

Binutils-2.17.50.0.6-14.el5

Elfutils-libelf-0.137-3.el5

Elfutils-libelf-devel-0.137-3.el5

Gcc-4.1.2-50.el5

Gcc-c++-4.1.2-50.el5

glibc-2.5-58.el5_6.4

glibc-common-2.5-58.el5_6.4

glibc-devel-2.5-58.el5_6.4

glibc-headers-2.5-58.el5_6.4

Libaio-devel-0.3.106-5

Libaio-0.3.106-5

Libgcc-4.1.2-50.el5

Libstdc++-4.1.2-50.el5

Libstdc++-devel-4.1.2-50.el5

Make-3.81-3.el5

Sysstat-7.0.2-3.el5

unixodbc-2.2.11-7.1

unixodbc-devel-2.2.11-7.1

1.3 Kernel parameter settings

The following parameter settings are added to the/etc/sysctl.conf so that the kernel parameters are automatically set each time the operating system starts, without having to manually set each time.

# vi/etc/sysctl.conf

Fs.file-max = 6553600

Kernel.shmall = 2097152

Kernel.shmmax = 2147483648

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

Net.ipv4.ip_local_port_range = 1024 65000

Net.core.rmem_default = 4194304

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 262144

Use the sysctl–p command to make the/etc/sysctl.conf set value effective.

1.4 Setting System Resource limits

Assuming that the future is installed by Oracle This system user Orace Database 11g, the system administrator needs to add the following parameters to the/etc/security/limits.conf

# vi/etc/security/limits.conf

Oracle Soft Nproc 2047

Oracle Hard Nproc 16384

Oracle Soft Nofile 1024

Oracle Hard Nofile 65536

Next, set the/etc/pam.d/login and start the system resource limit.

# Vi/etc/pam.d/login

Session required/lib/security/pam_limits.so

Session Required Pam_limits.so

Finally, in order to enable each user after each login system, can automatically set its maximum number of bootable processes and the maximum number of open files, set/etc/profile.

# Vi/etc/profile

if [$USER = "Oracle"]; Then

if [$SHELL = "/bin/ksh"]; Then

Ulimit–p 16384

Ulimit-n 65536

Else

Ulimit–u 16384-n 65536

Fi

Fi

1.5 Network Settings

The server that installs Oracle database 11g must have a fixed IP address.

1.6 Creating user groups and user accounts

# Groupadd Oinstall

#groupadd DBA

#groupadd Oper

#useradd-G oinstall-g dba,oper Oracle

#passwd Oracle

Setting User Environment variables

Add the following settings to the/home/oracle/.bash_profile file

# Vi/home/oracle/.bash_profile

Umask 022

Oracle_base=/u01/app/oracle

Oracle_home= $ORACLE _base/product/11.1.0/db_1

Oracle_sid=orcl

Path= $ORACLE _home/bin: $PATH

Export PATH

Export Oracle_base oracle_home Oracle_sid

Export nls_lang= "simplified Chinese_china. ZHS16GBK "

Set Installation path

# mkdir-p/home/u01/app/oracle/product/11.1.0

# mkdir-p/home/u01/oradata

#chmod-R 775/home/u01

#chown-R oracle.oinstall/home/u01

Installation of Oracle Database 11g R1

Download the Orace database 11g R1 installation package to the Oracle user's home directory and extract the unpacked folder as database

# Unzip Linux_11gr1_database_1013.zip

To modify an answer file that is silently installed

# VI DATABASE/INSTALL/RESPONSE/EE.RSP

Oracle_base= "/home/u01/app"

Oracle_home= "/home/u01/app/oracle/product/11.1.0/db_1"

Oracle_home_name= "Orarch"

Switch to an Oracle user to silently execute the installation script, and if there is no error in the installation, there will be no information output, and then the information to run the root.sh script will be output.

# su-oracle

$CD Database

$./runinstaller-responsefile/home/oracle/linux_11gr1/database/install/response/ee.rsp–silent

Output please run the root.sh script information, open another terminal to run the/home/u01/app/oracle/product/11.1.0/db_1 script as root.

When the root.sh script is run, carriage return in the installed terminal completes the installation.

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.