install oracle10.2.0 in RHEL4U2

1-install rpms

binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
to me i need:
compat-libstdc++-296-2.96-132.7.2
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
libstdc++-devel-3.4.3-22.1
sysstat-5.0.5-1


2-Creating Required Operating System Groups and Users
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -g oinstall -G dba oracle
# passwd oracle

3-Configuring Kernel Parameters
/etc/sysctl
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
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.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144

#/sbin/sysctl -p

4-Setting Shell Limits for the oracle User
  1. Add the following lines in the /etc/security/limits.conf file:

    oracle           soft    nproc   2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536

  2. Add the following line to the /etc/pam.d/login file, if it does not already exist:

    session    required     /lib/security/pam_limits.so
    session required pam_limits.so

  3. Depending on the oracle user's default shell, make the following changes to the default shell startup file:
    /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
---------------------
5 (can be choosed)
vi .bash_profile
umask=022

6-create your folder and install
 

                            

你可能感兴趣的:(oracle,.net,gcc,Security,bash)