Installing Oracle WebCenter Sites 12c

image

The following tutorial, by Function1's Michael Crawford, takes you step by step through the process of installing WebCenter Sites 12c from scratch, including installing Oracle Fusion Middleware 12c Infrastructure, and then Sites itself. You will be guided through each step with screenshots of the entire process.

Login as oracle user

Description: 1.png

Files are on desktop

They can be downloaded at:

http://www.oracle.com/technetwork/middleware/webcenter/sites/downloads/index.html

http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html  (You want the Fusion Middleware Infrastructure Installer)

Description: 1.png

Run the Oracle Fusion Middleware 12c Infrastructure Installer

Description: 1.png

Tell the installer where you would like to keep your inventory

Set an inventory location then click OK

Description: 1.png

Welcome Screen

Click next

Description: 1.png

Set Auto Updates

We will skip and just click next

Description: 1.png

Set the installation directory

Set the installation directory of weblogic then click next

Description: 1.png

Choose whether to install samples

In this case we will not install the samples, so just click next.

Description: 1.png

Prerequisite Checks

If nothing is wrong just click next

Description: 1.png

Select whether to receive security updates

In our case we simply deselected this and clicked next since this is an example install

Description: 1.png

Accecpt the warning (if you chose not to receive security updates)

Description: 1.png

Installation Summary

Review then click on install.

Description: 1.png

Intallation Success

Presumming everything works you will see all green checkmarks.  Just click finish.

Description: 1.png

Start the Oracle Fusion Middleware 12c Oracle WebCenter Sites Installer

This may take a while to start up.

Description: 1.png

Specify your inventory

This should be the same as from the infrastructure installer

Description: 1.png

Welcome Screen

Just click next

Description: 1.png

Auto Updates

We will choose to skip.

Description: 1.png

Specify the Oracle Weblogic Home

This will be the same as what you set when doing the infrastructure install.  The drop down should find it automagically.

Description: 1.png

Installation Type

Note that we selected with examples since we want the sample sites to play with

Description: 1.png

Prerequisite Checks

If everything is green just click next

Description: 1.png

Installation Summary

If you are happy with the options you selected click install.

Description: 1.png

Installation Success

Assuming all the check marks are green you are good to go.  Click finish

Description: 1.png

Start the rcu utility

You need to go to the oracle_common/bin directory under the weblogic home and start the rcu utility

Description: 1.png

Welcome Screen

Click next

Description: 1.png

Create Repository

Select "System Load and Product Load" then click next

Description: 1.png

Database Connection Details

Specify the hostname, port, servicename, username and password of the database where you want to install.

Note:  This needs to be a dba user as the RCU utility will creates your sites database user for you

Description: 1.png

XE Warning

If you are using XE it will give you a certification warning.  Just click ignore.

Description: 1.png

Select Components

Enter the prefix you would like to use for this environment then check next to WebCenter Sites and some other things should get check automatically as in the picture.  Finally click next.

Description: 1.png

Checking Prerequisites

If everything is green just click OK

Description: 1.png

Set the schema password

Set and confirm the dbuser/schema password you would like to use for the new Sites user then click next

Description: 1.png

Confirm Tablespaces

Make any modifications you want and then click next

Description: 1.png

Repository Creation Confirmation

Just click OK

Description: 1.png

Tablespace creation success

If everything is green the tablespaces were created and you can click ok

Description: 1.png

Summary

Review summary of what is going to be created in the database and click Create

Description: 1.png

Checking Prerequisites

Assuming everything is green you can just clikc ok

Description: 1.png

Success

Presuming everything states success you can click close.

Note that you may get some warnings when creating audit services if using XE.  You can just ignore those.

Description: 1.png

Run config.sh

Change to the /u01/app/weblogic/oracle_common/common/bin directory and run config.sh

Description: 1.png

Create Domain

Set the name and location of your domain and click next

Description: 1.png

Select Templates to Use in the Domain

We will select Oracle WebCenter Sites with Examples, Visitor Services and Oracle Enterprise Manager. 

Oracle Enterprise Manager will select a few other things for us.

Description: 1.png

Application Location

Specify where the applications should get installed

Description: 1.png

Administrator Account

Set the weblogic password and click next

Description: 1.png

Domain Mode and JDK

Set the domain mode (we will use development) and select your JDK.  Oracle 1.8 JDK is required.

Description: 1.png

Database Configuration Type

Set the database service, hostname and port.  Set the schema owner that you specified previously (will be prefix_STB) along with the password.

Then click on Get RCU Configuration.  If everything says OK click next.

Description: 1.png

Component Datasources

Just click next

Description: 1.png

JDBC Component Schema test

Assuming everything is green click next

Description: 1.png

Advanced Configuration

Select first 3 items

Description: 1.png

Administration Server

Make any changes you want then click next

Description: 1.png

Node Manager

Set the username and password then click next

Description: 1.png

Managed Servers

Set the names and ports then click next

Description: 1.png

Clusters

Add clusters if you need them.  For a single install just click next

Description: 1.png

Coherence Clusters

Just click next

Description: 1.png

Machines

Add your machines then click next

Description: 1.png

Assign Servers to Machines

Select all the sites servers (vistorservices and wcsites) and add them

Description: 1.png

Configuration Summary

Click create

Description: 1.png

Configuration Progress

Presuming you see Domain Created Successfully you can just click next.

Description: 1.png

End Of Configuration

Presuming it is green just click finish

Description: 1.png

Start the admin server

Go to /u01/app/weblogic/user_projects/domains/sites/bin and run startWebLogic.sh

You will see all kinds of messages and warnings about various things.  Wait until you see:

<Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>

Description: 1.png

Start the Node Manager

Go to /u01/app/weblogic/user_projects/domains/sites/bin and run startNodeManager.sh

It is done when you see:  <INFO> <Secure socket listener started on port 5556, host localhost/127.0.0.1>

Description: 1.png

Grant Permission for OPSS

Go to /u01/app/weblogic/user_projects/domains/sites/wcsites/bin and run grant-opss-permission.sh

Description: 1.png

Make a Shared Directory

We made a directory under the u01 direcotry for it.  Note the sudo's which are needed to create there and make sure you change the ownership.

Description: 1.png

Navigate to the WebLogic Server Console

Navigate to http://localhost:7001/console

Enter your username and password then login

Description: 1.png

Start the Sites Managed Server

Expand Environment and click on Servers.  Then move to the Control tab and check wcsites_server1 and click start and the refresh button.

Once the state says "RUNNING"  you can proceed to the next step.

Description: 1.png

Navigate to the Oracle WebCenter Sites Configurator

Point your browser to localhost:7003/sites/sitesconfigsetup

Description: 1.png

Specify the Shared Directory Location

Description: 1.png

Database Parameters

Specify the JNDI datasource.  This should already be set for you.

Description: 1.png

Web Application Parameters

This is where you would specify the hostname and port if you have web servers in front.  We will just leave this as is.

Description: 1.png

CAS Deployment Parameters

Unless you are clustering or have a web server in fron this can be left alone.

Description: 1.png

Set the Sites User Passwords

We will take defaults and just click next

Description: 1.png

Select Sample Sites to Install

We will install Avisports, FirstSiteII and Samples

Description: 1.png

Configuration Summary

Click test to verify everything is working

Description: 1.png

Start Install

If test comes back green then you can click start

Description: 1.png

Installing in Progress

This will take a while...............

Description: 1.png

Success!

Sites has now been installed

Description: 1.png

Shutdown the Sites Managed Server

Go into the weblogic console as before and shut down the wcsite_server1

Description: 1.png

Start the Server Back Up

Click the checkbox next to wcsites_server1 and click start then refresh.  Wait for the state to say "RUNNING"

Description: 1.png

Login to Sites

Navigate to http://localhost:7003/sites and enter firstsite/firstsite or fwadmin/xceladmin

Description: 1.png

Select the Site and UI

Select the site and the UI you want. 

Description: 1.png

Looks like it is working

Congratulations, you now have a working sites install.

Description: 1.png

 

Need Help?

At Function1 we specialize in WebCenter Sites consulting, providing best-of-breed solutions on this powerful platform. If you would like any assistance with WebCenter Sites and would like to explore how Function1 can help you, please contact us.

Comments

Subscribe to Our Newsletter

Stay In Touch