Instalação básica

INSTALANDO

vi /etc/hosts

127.0.0.1 localhost.localdomain localhost
10.0.2.15 jarvix-11gr2.localdomain jarvix-11gr2

##################################################################

vi /etc/sysctl.conf

fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586

/sbin/sysctl -p

##################################################################

vi /etc/sysctl.conf

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
##################################################################

SELINUX=disabled
##################################################################

iptables -F
##################################################################

yum update

yum install gcc-c++
yum install binutils-2.*
yum install compat-libstdc++-33*
yum install compat-libstdc++-33*.i386.rpm
yum install elfutils-libelf*
yum install gcc-4.*
yum install gcc-c++-4.*
yum install glibc-2.*
yum install glibc-common-2.*
yum install glibc-devel-2.*
yum install glibc-headers-2.*
yum install ksh*
yum install libaio-0.*
yum install libaio-devel-0.*
yum install libgomp-4.*
yum install libgcc-4.*
yum install libstdc++-4.*
yum install libstdc++-devel-4.*
yum install make-3.*
yum install sysstat-7.*
yum install unixODBC-2.*
yum install unixODBC-devel-2.*
yum install numactl-devel-2*
yum install pdk*
yum install compat-db*
yum install *motif*

cd /media/CentOS_5.4_Final/CentOSyum
yum install gcc-c++
rpm -Uvh binutils-2.*
rpm -Uvh compat-libstdc++-33*
rpm -Uvh compat-libstdc++-33*.i386.rpm
rpm -Uvh elfutils-libelf*
rpm -Uvh gcc-4.*
rpm -Uvh gcc-c++-4.*
rpm -Uvh glibc-2.*
rpm -Uvh glibc-common-2.*
rpm -Uvh glibc-devel-2.*
rpm -Uvh glibc-headers-2.*
rpm -Uvh ksh*
rpm -Uvh libaio-0.*
rpm -Uvh libaio-devel-0.*
rpm -Uvh libgomp-4.*
rpm -Uvh libgcc-4.*
rpm -Uvh libstdc++-4.*
rpm -Uvh libstdc++-devel-4.*
rpm -Uvh make-3.*
rpm -Uvh sysstat-7.*
rpm -Uvh unixODBC-2.*
rpm -Uvh unixODBC-devel-2.*
rpm -Uvh numactl-devel-2*
rpm -Uvh pdk*

##################################################################

groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin

##################################################################

useradd -g oinstall -G dba,oper,asmadmin oracle
passwd oracle
##################################################################

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

##################################################################
su -l oracle

##################################################################

vi /home/oracle/.bash_profile

# Oracle Settings
TMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=jarvix-11gr2.localdomain; export ORACLE_HOSTNAME
ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
ORACLE_BASE=/u01/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/orcl; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

##################################################################

su -l oracle

##################################################################

/u01/oracle/Middleware/user_projects/domains/Forms11g/bin/startWebLogic.sh &

##################################################################

http://IP_ou_NOME_DO_SEU_SERVIDOR:7001/console
##################################################################

/u01/oracle/Middleware/user_projects/domains/Forms11g/bin/stopWebLogic.sh

####################################################################################################################################

Anúncios

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

Conectando a %s