Oracle oel5u5

Solo disponible en BuenasTareas
  • Páginas : 6 (1255 palabras )
  • Descarga(s) : 0
  • Publicado : 11 de septiembre de 2012
Leer documento completo
Vista previa del texto
grep MemTotal /proc/meminfo
grep SwapTotal /proc/meminfo
free

uname -m
df -h /tmp
df -h

cat /proc/version
uname -r

binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
elfutils-libelf-devel-static-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-common-2.5
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
ksh-20060214libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.2
libgomp-4.1.2
libstdc++-4.1.2
libstdc++-devel-4.1.2
make-3.81
numactl-devel-0.9.8.i386
sysstat-7.0.2

rpm -q binutils
rpm -q compat-libstdc++-33
rpm -q elfutils-libelf
rpm -q elfutils-libelf-devel
rpm -q elfutils-libelf-devel-static
rpm -q gcc
rpm -q gcc-c++
rpm -q glibc-2.5
rpm -q glibc-common
rpm -q glibc-devel
rpm -qglibc-headers
rpm -q kernel-headers
rpm -q ksh
rpm -q libaio
rpm -q libaio-devel
rpm -q libgcc
rpm -q libgomp
rpm -q libstdc++
rpm -q libstdc++-devel
rpm -q make-3.81
rpm -q numactl-devel
rpm -q sysstat

cat /proc/sys/kernel/suid_dumpable
cat /proc/sys/fs/suid_dumpable
cat /proc/sys/kernel/core_setuid_ok

vi /etc/profile
busca
ulimit –S –c 0 > /dev/null 2>&1
cambiar por
ulimit-S -c unlimited > /dev/null 2>&1

vi /etc/sysctl.conf
buscar
kernel.core_uses_pid
cambiar por
kernel.core_uses_pid = 1
buscar
fs.suid_dumpable
cambiar por
fs.suid_dumpable = 1

sysctl -p

grep oinstall /etc/group
more /etc/oraInst.loc

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd -g 502 dba
/usr/sbin/groupadd -g 503 oper
/usr/sbin/groupadd -g 504 asmadmin/usr/sbin/groupadd -g 506 asmdba
/usr/sbin/groupadd -g 505 asmoper
id oracle
/usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba,oper oracle

passwd oracle

ulimit -Sn
ulimit -Hn
ulimit -Su
ulimit -Hu
ulimit -Ss
ulimit -Hs

vi /etc/security/limits.conf
oracle hard nproc 16384

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

/sbin/sysctl -a | grep sem
/sbin/sysctl -a | grep shm
/sbin/sysctl -a | grep file-max
/sbin/sysctl -a | grep ip_local_port_range
/sbin/sysctl -a | grep rmem_default
/sbin/sysctl -a | grep rmem_max
/sbin/sysctl -a | grep wmem_default
/sbin/sysctl -a | grep wmem_max
/sbin/sysctl -a | grep aio-max-nr

vi /etc/sysctl.conf
kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
fs.aio-max-nr = 1048576
fs.file-max = 6815744

/sbin/sysctl -p

mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/app/oracle

mkdir /u01/oradata
chown oracle:oinstall /u01/oradata
chmod 775 /u01/oradata

mkdir/u01/flash_recovery_area
chown oracle:oinstall /u01/flash_recovery_area
chmod 775 /u01/flash_recovery_area

[root@localhost ~]# grep MemTotal /proc/meminfo
MemTotal: 1035108 kB
[root@localhost ~]# grep SwapTotal /proc/meminfo
SwapTotal: 4194296 kB
[root@localhost ~]# free
total used free shared buffers cached
Mem: 1035108 102032014788 0 3460 883292
-/+ buffers/cache: 133568 901540
Swap: 4194296 120 4194176
[root@localhost ~]# uname -m
i686
[root@localhost ~]# df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
16G 4.5G 11G 31% /
[root@localhost ~]# df -h
Filesystem Size Used Avail Use%Mounted on
/dev/mapper/VolGroup00-LogVol00
16G 4.5G 11G 31% /
/dev/mapper/VolGroup02-LogVol00
20G 2.3G 17G 13% /software
/dev/mapper/VolGroup01-LogVol00
20G 173M 19G 1% /u01
/dev/sda1 99M 12M 82M 13% /boot
tmpfs 506M 0 506M 0% /dev/shm
[root@localhost ~]# cat...
tracking img