{"id":1714,"date":"2018-03-11T22:52:57","date_gmt":"2018-03-12T01:52:57","guid":{"rendered":"https:\/\/zmsolution.laraclaud.com.br\/?p=1714"},"modified":"2018-03-12T14:08:06","modified_gmt":"2018-03-12T17:08:06","slug":"instalando-o-oracle-soa-12-2-1-parte-2","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/instalando-o-oracle-soa-12-2-1-parte-2\/","title":{"rendered":"Instalando o Oracle SOA 12.2.1 \u2013 Parte 2"},"content":{"rendered":"
Parte 2<\/strong> \u2013 Instalando o\u00a0 Oracle\u00a0SOA Su\u00edte 12.2.1.3<\/strong>.<\/p>\n Edite o Arquivo\u00a0 sysctl.conf<\/strong><\/p>\n Criando o Usu\u00e1rio<\/strong><\/p>\n Edite o Arquivo\u00a0 hosts.conf<\/strong><\/p>\n Linux firewall<\/strong><\/p>\n desabilite o firewall.<\/strong><\/p>\n Altere o SELinux de \u201cenforcing\u201d para \u201cpermissive\u201d.<\/strong><\/p>\n Editando o arquivo limits.conf<\/strong><\/p>\n Criando os Diret\u00f3rios da aplica\u00e7\u00e3o:\u00a0<\/strong><\/p>\n Instalando o JAVA(JDK).<\/strong><\/p>\n Fa\u00e7a o download do java no site da Oracle.yum install\u00a0 binutils-2.*\r\nyum install\u00a0 compat-libstdc++-33*\r\nyum install\u00a0 elfutils-libelf-0.*\r\nyum install\u00a0 libaio-0.*\r\nyum install\u00a0 libaio-devel-0.*\r\nyum install\u00a0 sysstat-9.*\r\nyum install\u00a0 glibc-2.*\r\nyum install\u00a0 glibc-common-2.*\r\nyum install\u00a0 glibc-devel-2.* glibc-headers-2.*\r\nyum install\u00a0 ksh-2*\r\nyum install\u00a0 make-3.*\r\nyum install\u00a0 libgcc-4.*\r\nyum install\u00a0 libstdc++-4.*\r\nyum install\u00a0 libstdc++-4.*.i686*\r\nyum install\u00a0 libstdc++-devel-4.*\r\nyum install\u00a0 gcc-4.*x86_64*\r\nyum install\u00a0 gcc-c++-4.*x86_64*\r\nyum install\u00a0 allfiles elfutils-libelf-0*x86_64* elfutils-libelf-devel-0*x86_64*\r\nyum install\u00a0 elfutils-libelf-0*i686* elfutils-libelf-devel-0*i686*\r\nyum install\u00a0 libtool-ltdl*i686*\r\nyum install\u00a0 ncurses*i686*\r\nyum install\u00a0 readline*i686*\r\nyum install\u00a0 unixODBC*<\/pre>\n
vi\u00a0 \/etc\/sysctl.conf\r\n\r\nfs.suid_dumpable = 1\r\nfs.aio-max-nr = 1048576\r\nfs.file-max = 6815744\r\nkernel.shmall=1048576\r\nkernel.shmmax=2147483648\r\nkernel.shmmni = 4096\r\n# semaphores: semmsl, semmns, semopm, semmni\r\nkernel.sem = 250 32000 100 128\r\nnet.ipv4.ip_local_port_range = 9000 65500\r\nnet.core.rmem_default=262144\r\nnet.core.rmem_max=4194304\r\nnet.core.wmem_default=262144\r\nnet.core.wmem_max=1048586\r\n\r\nsysctl \u2013p<\/pre>\n
groupadd -g 521 oinstall\r\nuseradd -g oinstall oracle\r\npasswd oracle\r\nChanging password for user oracle.\r\nNew password:\r\nRetype new password:\r\npasswd: all authentication tokens updated successfully.\r\nSenha\u00a0oracle<\/pre>\n
vi \/etc\/hosts\r\n\r\n127.0.0.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 localhost localhost.localdomain\r\n192.168.56.109\u00a0\u00a0 soaapp.localdomain soaapp\r\n\r\n<\/pre>\n
chkconfig iptables off\r\nchkconfig ip6tables off<\/pre>\n
vi \/etc\/selinux\/config\r\n\r\n# This file controls the state of SELinux on the system.\r\n# SELINUX= can take one of these three values:\r\n# enforcing - SELinux security policy is enforced.\r\n# permissive - SELinux prints warnings instead of enforcing.\r\n# disabled - No SELinux policy is loaded.\r\nSELINUX=permissive\r\n# SELINUXTYPE= can take one of these two values:\r\n# targeted - Targeted processes are protected,\r\n# mls - Multi Level Security protection.\r\nSELINUXTYPE=targeted<\/pre>\n
vi \/etc\/security\/limits.conf\r\n\r\n# Oracle configuration - zmsolution\r\n\r\n@oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 soft\u00a0\u00a0 nproc\u00a0\u00a0\u00a0\u00a0\u00a0 16384\r\n@oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 hard\u00a0\u00a0 nproc\u00a0\u00a0\u00a0\u00a0\u00a0 16384\r\n@oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 soft\u00a0\u00a0 nofile\u00a0\u00a0\u00a0\u00a0 8192\r\n@oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 hard\u00a0\u00a0 nofile\u00a0\u00a0\u00a0\u00a0 65536\r\n@oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 soft\u00a0\u00a0 stack\u00a0\u00a0\u00a0\u00a0\u00a0 10240\r\n@oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 hard\u00a0\u00a0 stack\u00a0\u00a0\u00a0\u00a0\u00a0 32768\r\n@root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 soft nproc\u00a0 4096\r\n@root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 hard nproc\u00a0 16384\r\n@root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 soft nofile 8192\r\n@root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 hard nofile 65536<\/pre>\n
mkdir -p \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\r\nmkdir -p \/u02\/middleware\/config\/domains\/\r\nmkdir -p \/u02\/middleware\/config\/applications\/\r\nmkdir -p \/u01\/app\/oracle\/java\/\r\nchown -R oracle:oinstall \/u01\r\nchmod -R 775 \/u01\/\r\nchmod -R 775 \/u02\/<\/pre>\n
\nhttp:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/a><\/p>\ncp jdk-8u161-linux-x64.tar.gz \/u01\/app\/oracle\/java\r\ntar -xvzf\u00a0 jdk-8u161-linux-x64.tar.gz<\/pre>\n