Not much to say, download Oracle 11gR2, note for two package linux_11gr2_database_1of2.zip,linux_11gr2_database_2of2.zip, download and upload to Linux.
One, the Linux system to install the packet.
Personal experience, the installation of the Linux process, the selection of all the default package, the basic installation is almost.
Linux system to install the following packages, the packages to be installed are:
binutils-2.15.92.0-10.el4compat-db-4.1.25-9compat-gcc-32-3.2.3-47.3 compat-gcc-32-c++-3.2.3-47.3 compat-libstdc+ +-33-3.2.3-47.3 control-center-2.8.0-12gcc-3.4.3-9.el4gcc-c++-3.4.3-9. l4glibc-2.3.4-2glibc-common-2.3.4-2gnome-libs-1.4.1.2.90el4libstdc++-3.4.3-9.el4libstdc++- Devel-3.4.3-9.el4libaio-0.3.102-1openmotif21-2.1.30-11make-3.80.5pdksh-5.2.14.30sysstat-5.0.5-1setarch-1.3-1 xscreensaver-4.18-5.rhe4.2
Configuring a host name is important in this step.
#vi/etc/hosts192.168.0.11 test.or.com Test
Set the IP and computer name is necessary, if not configured, after the installation will be error, said the connection is not the host and so on.
Ii. creating Oracle groups and user accounts
#usr/sbin/groupadd oinstall#/usr/sbin/groupadd dba#/usr/sbin/useradd-m-G oinstall-g dba oracle#passwd Oracle
Iii. Create a directory and authorize
#mkdir-P/oracle/app/oracle#mkdir-p/oracle/app/orainventory #chown-R oracle:oinstall/oracle/app/oracle #chown-R ora Cle:oinstall/oracle/app/orainventory #chmod-R 775/oracle/app/oracle
Iv. Editing kernel parameters
#cat >>/etc/sysctl.conf <<eofkernel.shmall = 268435456kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096kernel.sem = 32000 128fs.aio-max-nr = 1048576fs.file-max = 6815744net.ipv4.ip_local _port_range = 9000 65500net.core.rmem_default = 4194304net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576EOF #/sbin/sysctl-p
Five. set Shell limits for Oracle users
#cat >>/etc/security/limits.conf <<eoforacle soft nproc 2047oracle hard NPR OC 16384oracle soft nofile 1024oracle hard nofile 65536eof#cat>>/etc/pam.d/login <<eofsession required/lib/security/pam_limits.soeof
VI.Environment Variables for Oracle users Note that the operation is now an Oracle user
$vi. Bash_profileexport oracle_base=/oracle/app/oracle Export Oracle_home=/oracle/app/oracle/product/11.2.0/dbhome _1 Export Oracle_sid=test export path= $PATH: $ORACLE _home/bin export oracle_owner=oracle $source. Bash_profile
OK, now we can install Oracle 11GR2. After entering the unzip directory.
$./runinstaller
This article is from the "xiangcun168" blog, make sure to keep this source http://xiangcun168.blog.51cto.com/4788340/1663322
Six steps to install Linux Oracle 11gR2 configuration