Skip to main content

Setup your own WebCenter Suite on a VM from scratch


I’d like to share my own “Install Notes” on step-to-step how to build your own WebCenter Suite on a VM from scratch. If you follow my notes here, you should have your own WebCenter work station in a few hours. The install notes here are based on the Linux 64 OS which is the industry standard. Let’s begin.

Software needed (can be obtained from e-delivery)

a.       Oracle Linux64 bit (ver6.2 or whatever latest)
b.      Oracle VirtualBox
c.       Oracle DB XE11g Linux 64
d.      Oracle RCU
e.      Oracle Weblogic Server 11g Linux
f.        Oracle WebCenter 11g
g.       Oracle UCM 11g
h.      Oracle Web Tier 11g

Create a new Virtual Disk

a.       Install VirtualBox on your host. Start the virtualbox and create a new virtual disk.
b.      Set the memory to 4096Mb or above depending on how much RAM you have on your host.
c.       Storage: choose “dynamic” and set the size to 50Gb

Install Linux 64bit

Download the Linux 64bit and install it on the virtual disk created in the previous step. After the system is installed, do the following using root.

Install required kernels

a.       Enable yum - on oracle Linux 6 series, do the following:
# cd /etc/yum.repos.d

b.      Update the system:
# yum update
And
# yum update kernel

c.       Install GNU C compiler and the kernel development package:
# yum install gcc
# yum install kernel-devel
# yum install kernel-uek-devel-2.6.32-300.3.1.1el6uek.x86_64
To make it more generic:
# yum install kernel-uek-devel-`uname –r`
d.      Install DKMS by using the following:

# cd /tmp
# wget http://linux.dell.com/dkms/permalink/dkms-2.2.0.3-1.noarch.rpm
# yum install /tmp/dkms-2.2.0.3-1.noarch.rpm –nogpgcheck


Install VBox Guest Addition

There are numbers of reasons that you want to install the VBox guest additions. You can enable the file sharing between your host and VM. Also, the graphic support is enhanced so the resolution of the VM is dynamically set to the VM window size.

In case there is an error in installing VBox guest addition, the error could be:


Here is the fix:

# cd /lib/modules/2.6.32-300.3.1.1el6uek.x86_64
# ls –l
You would see there is no such folder “2.6.32-300.3.1.1el6uek.x86_64” exists. So the fix is to install the package using the following:
# yum install kernel-uek-devel-2.6.32-300.3.1.1el6uek.x86_64

Before doing this step, do a vm clone or take a snapshot of the VM. Mount the guest addition, and execute the following:
# sh ./VBoxLinuxAdditions.run
Share the resource folder with the host

Install required libraries on Linux 64

Check all the required libraries from Fusion Middleware: http://docs.oracle.com/html/E18558_01/fusion_requirements.htm#BABCEFEA
This is the list for Oracle Linux 6/Red Hat 6 (Totally 17 packages)
compat-libcap1-1.10-1
compat-libstdc++-33-3.2.3-69.e16 for x86_64
compat-libstdc++-33-3.2.3-69.e16 for i686
libaio-0.3.107-10.e16
libaio-devel-0.3.107-10.e16
libgcc-4.4.4-13.e16
libstdc++-4.4.4-13.e16 for x86_64
libstdc++-4.4.4-13.e16 for i686
libstdc++-devel-4.4.4-13.e16
libXext for i686
libXtst for i686
gcc-4.4.4-13.e16
gcc-c++-4.4.4-13.e16
glibc-2.12-1.7.e16 for x86_64
glibc-2.12-1.7.e16 for i686
glibc-devel-2.12-1.7.e16
sysstat-9.0.4-11.e16

Install Oracle DB 64 bit

Create the dba group in the system:
# /usr/sbin/groupadd dba 
Create the installation folder as root
# mkdir –p /u01/app/oracle
Change the ownership of the folder:
# chown –R oracle:dba /u01/app/oracle
Modify the permission on the directory to 775:
# chmod –R 775 /u01/app/oracle
Configure the oracle user environment before installation:
Login as oracle user:
# ORACLE_SID=XE
# export ORACLE_SID
# ORACLE_BASE=/u01/app/oracle
# export ORACLE_BASE
If the domain name of the machine has been changed during OS installation, here the domain name 
must be added to the system before continue. Change the user to ‘root’:
# vi /etc/hosts
Add the domain name after the “127.0.0.1”.
Start the db install:
# su -c "rpm -i ./oracle-xe-univ-10.2.0.1-1.0.i386.rpm"
Configure the db after install:
# su –c “/etc/init.d/oracle-xe configure”
Once you finish your install, make sure it’s up and running then connect to Oracle XE as sys and change the PROCESSES param to 300.
SQL> conn sys/sena as sysdba
SQL> alter system set processes=300 scope=spfile; 
After that, restart your instance:
su -c "/sbin/service oracle-xe reload"

Using RCU to create Schemas

You can use RCU in two ways: on your host or on the Linux VM. To use it on your host (I assume it’s a 
windows host), first disable the firewall on the Linux VM so that the host can access the DB hosted on 
the VM:
# su -c “/etc/init.d/iptables save”
# su –c “/etc/init.d/iptables stop”
Then you can use the RCU on your windows to create schemas. 
To use it on your Linux VM: 
If the linux system is on 64 versions, do the following (this will 32bit lib).
# yum install /lib/ld-linux.so.2 
# yum install libXext.i686*
# yum install libXtst.i686*
After this, we can continue with RCU – 
# cd rcuHome/bin
# ./rcu

Install JRockit JDK

      # ./jrockit*****.bin

Install Weblogic Server

Set the JAVA_HOME and PATH evn variables. Navigate to the directory of the 
wls1036_generic.jar:
# export JAVA_HOME=/jrockit_install_path
# export PATH=$JAVA_HOME/bin:$PATH
# java –d64 –jar wls1036_generic.jar

Install WebCenter/UCM/WebTier


Modify the limits.conf file:
# vi /etc/security/limits.conf
Add the following if not exist:
# oracle soft nofile 4096;
# oracle hard nofile 4096;
And run the installer:
./runInstaller

Create WebCenter WSL domain (clustering, SSL)

# cd $FMW_HOME/Oracle_WC1/common/bin
# ./config.sh

After all the above, you can start your Admin server and managed servers. You are ready to explore your WebCenter environment.

Comments

Oracle Web Center Suite Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/oracle-web-center-suite-online-training-7.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, IT Support, Corporate Training institute in India - +919000444287 - +917386622889 - Visakhapatnam,Hyderabad Oracle Web Center Suite Online Training, Oracle Web Center Suite Training, Oracle Web Center Suite, Oracle Web Center Suite Online Training| Oracle Web Center Suite Training| Oracle Web Center Suite| "Courses at 21st Century Software Solutions
Talend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
Visit: http://www.21cssindia.com/courses.html"