miércoles, 4 de noviembre de 2015

WCP 12.2.1: Installation I (O.S)

Installing the Operating System

For development I usually install Oracle Linux in its latest version. In this case I installed Oracle Linux 7.1 obtained from http://edelivery.oracle.com/

Virtual Box with WebCenter! :)

Note: Please, always check the compatibility of the software using the Certification Matrix

Oracle Linux 7.1 Terminal
You can find the Offical Installation guide in the following link Oracle Linux 7 Installation Guide

During the installation Wizard I recommend to select the Minimum Installation option. Why? Because I do not like to install extra components which consume resources and are never used. If you need something install it using yum!

Minimall Installation means less resources consumption!
 After installing the operating system I recommend to update / install the following components
  • Update the OL7 with the latest updates

    yum update

  • Install wget (it is not installed by default)

    yum -y install wget

  • Install locate command (I use a lot to find files and locations)

    yum install mlocate

  • Install unzip command to unzip the installatation files

    yum install unzip

  • Install the x11 packages for using the Installation Wizards UI

    yum  -y install xorg-x11-apps xauth

  • Install perl as it is required!

    yum install perl

  • Install the Oracle Database 12c Prepackage!!!!!!!!! It configures your O.S to be ready for Database installation :)

    yum install oracle-rdbms-server-12cR1-preinstall

Note: Database package also created the oracle user and the oinstall and dba groups
Do not forget to assign a password to oracle user using the passwd command!

  • Prepare the root folder for the Oracle Fusion Middleware 12c installation! I use to install under /oracle folder

    mkdir oracle

    chown -R oracle:oinstall oracle/

  • Update the firewall to accept connections to the ports used by WebCenter, FTP, OHS and WebLogic

    firewall-cmd --permanent --zone=public --add-port=7001/tcp
    firewall-cmd --permanent --zone=public --add-port=8888/tcp
    firewall-cmd --permanent --zone=public --add-port=80/tcp
    firewall-cmd --permanent --zone=public --add-port=8889/tcp
    firewall-cmd --permanent --zone=public --add-port=8890/tcp
    firewall-cmd --permanent --zone=public --add-port=16200/tcp
    firewall-cmd --permanent --zone=public --add-port=16250/tcp
    firewall-cmd --permanent --zone=public --add-port=1521/tcp
    firewall-cmd --reload
    firewall-cmd --permanent --zone=public --list-ports
  • If you want to connect now from you host do not forget to configure the Port Forwarding
    Port Forwarding Configuration in Virtual Box

What I found new???

Commands such ifconfig, netstat etc... are deprecated and non-installed by default. I used the new commands ip and ss instead. You can find a good guide of the new commands in the following blog:

https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/

E.g.:
ifconfig now is ip addr
netstat -an is now ss -an

In addition, I used firewall command instead of the old iptables. 
 
Now is time to install the Oracle JDK 8!: WCP 12.2.1: Installation II (Oracle JDK 8) 

No hay comentarios:

Publicar un comentario