Installing and Configuring Oracle WebCenter Spaces

Purpose

This tutorial covers installing and configuring Oracle WebCenter Spaces along with the bundled Oracle WebCenter Services and the optional Oracle Universal Content Management (UCM) in a Linux environment.

Time to Complete

Approximately 1.5 hours

Overview

WebCenter Spaces is an online environment that brings together an array of social networking, collaboration, and personal productivity tools. WebCenter Services is a complete set of complementary services that enables you to embed Web 2.0-style communication and collaboration services directly into WebCenter Spaces. The component applications for both WebCenter Spaces and WebCenter Services run on Oracle WebLogic Server and store their metadata in an Oracle database. UCM is an enterprise level content management platform.

Scenario

You are an Administrator who needs to install WebCenter Spaces in a Linux environment. You will run the Repository Creation Utility (RCU) to create the required schemas in the database. Then you will create the necessary files in the file system by running the WebCenter Installer. You will install WebCenter Spaces, WebCenter Services, as well as the optional UCM. Next you will run the Oracle Fusion Middleware Configuration Wizard to create the WebCenter domain. WebCenter Spaces and WebCenter services are deployed to servers in this domain. In this scenario, you create a single node WebCenter domain and everything is installed on one machine. This would not be typical for a production installation but can work well for a development or test environment. In this scenario you are setting up for a development environment but apart from the single node domain and the startup mode of the WebLogic Server, the steps are essentially the same as for a production environment.

Note: The screenshots will not reflect the specific environment you are using. Also product installer directories, installation directories, and the location of Middleware_Home may be different from the locations on your system.

Software and Hardware Requirements

The following is a list of software requirements:

Prerequisites

Before starting this tutorial, you should:

. Have access to the WebCenter installer
. Have access to the UCM installer
. Have access to the Repository Creation Utility (RCU)
. Start your Oracle database
. Know the location of your Java Runtime Environment (JRE)
. Know the location of your Middleware_Home directory (the directory that contains your WebLogic_Server_Home directory)
. Know the address and port number of your HTTP Server
. Have some familiarity with basic product installs

Creating WebCenter Schemas

To create the WebCenter database schemas using RCU, perform the following steps:

.

Navigate to the RCU bin directory and start RCU:

$ cd /u01/app/rcu/bin
$ ./rcu


.

In the Welcome window, click Next.


.

In the Create Repository window, accept the default of Create and click Next.

 

.

In the Database Connection Details window, enter the following values and click Next.

FieldValue
Host Name <your_host_name>
Port 1521
Service Name owcdb01
Username sys
Password welcome1
Role SYSDBA

A dialog box opens confirming the database prerequisites have been checked successfully. Click OK.

 

.

In the Select Components window, accept the default of Create a new Prefix with the value of DEV (this is the default prefix, you can give it any value.) Select the WebCenter Suite component and click Next.

Note: When you select WebCenter Suite, Metadata Services under AS Common Schemas will also be selected.

A dialog box opens confirming the database component prerequisites have been checked successfully. Click OK.

 

.

In the Schema Passwords window, accept the default of Use same passwords for all schemas and enter the password welcome1 twice. Click Next.

 

.

In the Map Tablespaces window, click Next.

A dialog box may open requesting confirmation to create the tablespaces. Click OK. Then a dialog box opens confirming the tablespaces have been created successfully. Click OK.

 

.

In the Summary window, click Create.

A dialog box opens showing the progress of schema creation.

 

.

In the Completion Summary window, click Close.

 

Installing WebCenter Spaces

The WebCenter installer installs the files for WebCenter Spaces, WebCenter Services, and UCM. To install WebCenter Spaces, WebCenter Services, and UCM, perform the following steps:

.

Navigate to the staged location for the WebCenter installer and start the installer:

$ cd /stage
$ ./runInstaller -jreLoc /u01/app/oracle/product/fmwhome/jdk160_14_R27.6.5-32

The installer requires the location of a JRE. When you installed Oracle WebLogic Server, a JRE was installed on your system. You can use this location to start the installer. You must supply an absolute path. The JRE location in this path is the Sun JRE. The Sun JRE is recommended when you are installing in a development environment. If you are installing in a production environment, use the JRockit JRE.


.

In the Welcome window, click Next.


.

The installer runs various tests to check system prerequisites. When it is done, click Next in the Prerequisite Checks window.

 

.

In the Specify Installation Location window, enter the location of Middleware_Home, in this scenario, /u01/app/oracle/product/fmwhome/. Accept the default Oracle Home Directory and click Next.

 

.

In the Specify UCM Configuration Options window, select Install and Configure Oracle Universal Content Management. Accept the defaults for Content Server Port and Content Server Admin Port and for Web Server HTTP Address the format should be http://<your_host_name>:<port_number>/<webroot>. In this scenario, it is http://edvmr1p0.us.oracle.com:7777/idc. Click Next.

 

.

In the Specify UCM Database Details window, enter the following values and click Next.
Note: These values must match the values used when you ran RCU in the previous section.

FieldValue
Connect String <your_host_name>:<port_number>:owcdb01
Schema User Name DEV_OCSERVER
Schema Password welcome1

 

.

In the Installation Summary window, click Install.

Installation Progress is shown. When it is complete, click Next.

 

.

In the Specify UCM Installer Directory window, enter the location of the UCM installation files, /stage/ContentServer. Click Next.

UCM Installation Progress is shown .

 

.

In the Installation Complete window, click Finish.

 

Configuring WebCenter Spaces

The Oracle Fusion Middleware Configuration Wizard creates and configures a new WebLogic domain for Oracle WebCenter Spaces and components. To configure WebCenter Spaces and components , perform the following steps:

.

Navigate to the WebCenter_Oracle_Home/common/bin directory and start the Configuration Wizard:

$ cd /u01/app/oracle/product/fmwhome/Oracle_WC1/common/bin
$ ./config.sh


.

In the Welcome window, accept the default of Create a new WebLogic domain and click Next.


.

In the Select Domain Source window, accept the default of Generate a domain configured automatically to support the following products and select the following products then click Next:

  • Oracle WSM Policy Manager (oracle_common)
  • Oracle WebCenter Spaces
  • Oracle Portlet Producers
  • Oracle Wiki and Blog Server
  • Oracle WebCenter Discussion Server
  • Oracle Identity Management
  • Oracle Enterprise Manager
  • Oracle JRF


Note: You need to select Oracle WSM Policy Manager before you select Oracle WebCenter Spaces else you will receive an error. Also Oracle Enterprise Manager and Oracle JRF are selected automatically when you select Oracle WebCenter Spaces.

 

.

In the Specify Domain Name and Location window, enter the following values and click Next.

FieldValue
Domain name practice_domain
Domain location /u01/app/oracle/product/fmwhome/user_projects/domains
Application location /u01/app/oracle/product/fmwhome/user_projects/applications

 

.

In the Configure Administrator User Name and Password window, accept the default User name of weblogic and enter welcome1 twice for the password. Click Next.

 

.

In the Configure Server Start Mode and JDK window, accept the defaults of Development Mode and Sun SDK 1.6.0_14 and click Next.

 

.

In the Configure JDBC Component Schema window, select all the component schemas in the lower portion of the window. Enter the following values in the upper portion of the window and click Next.

FieldValue
DBMS/Service owcdb01
Driver default value
Host Name <your_host_name>
Schema Owner default value
Port default value
Schema Password welcome1

The Testing Connections dialog opens.

 

.

In the Test Component Schema window, click Next.

 

.

In the Select Optional Configuration window, select Administration Server and Managed Servers, Clusters and Machines. Click Next.

 

.

In the Configure the Administration Server window, accept all the defaults and click Next.


.

In the Configure Managed Servers window, accept all the defaults and click Next.

 

.

In the Configure Clusters window, click Next.


.

In the Configure Machines window, click Add. Enter the following values and click Next.

FieldValue
Name practice_machine
Node manager listen address All Local Addresses
Node manager listen port default value

 

.

In the Assign Servers to Machines window, select all the servers in the left pane and click the right arrow icon. Click Next.

 

.

In the Configuration Summary window, click Create. This may take a few minutes to complete.

 

.

In the Creating Domain window, click Done.

 

Starting the WebLogic Servers


Starting the Administration Server


.

Navigate to the domain directory and start the Administration server:

$ cd /u01/app/oracle/product/fmwhome/user_projects/domains/practice_domain
$ ./startWebLogic.sh

Wait until you see the message <Server started in RUNNING mode>. Do not close this window as it will shut down the Administration server.

Starting the Node Manager


.

In a new window, navigate to the Oracle_Common_Home/common/bin directory and set the Node Manager properties:

$ cd /u01/app/oracle/product/fmwhome/oracle_common/common/bin
$ ./setNMProps.sh

You see the message Appending required nodemanager .properties.

Note: If you are installing and older 11g version of WebCenter Spaces that does not include Patch Set 1 then the Node Manager file is located in WebCenter_Oracle_Home/common/bin.

.

Navigate to the WebLogic_Server_Home/server/bin directory and start the Node Manager:

$ cd /u01/app/oracle/product/fmwhome/wlserver_10.3/server/bin
$ ./startNodeManager.sh

Wait until y ou see the message INFO: Secure socket listener started on port 5,556. Do not close this window as it will shut down the Node Manager.

Starting the Managed Servers


.

Start the WebLogic Server Administration Console by opening a web browser and entering http://<your_host_name>:7001/console. For Username enter weblogic, for Password enter welcome1 then click Log In.

Note: You can also start the managed servers from the commandline using DOMAIN_DIR/bin/startManagedWebLogic.sh.

Before you see the login window a message briefly appears indicating the application is being deployed for the console.

 

.

In the left Domain Structure pane, expand Environment and click Servers.


.

In the Summary of Servers window, click the Control tab and select the three managed servers. Then click the Start button.


.

Refresh the window by clicking the Refresh icon in the browser or pressing F5 until the State for all servers is RUNNING.


Verifying the Installation

To verify that WebCenter Spaces has been installed correctly , perform the following steps:

.

Start WebCenter Spaces by opening a web browser and entering http://<your_hostname>:8888/webcenter. For User Name enter weblogic, for Password enter welcome1 then click Login.


.

You are now logged into WebCenter Spaces. This confirms that it has been installed correctly.


Note: The messages on the right of the window regarding the Worklist and Documents services being unavailable are because they are not configured yet. At this point WebCenter Spaces is installed and up and running but your work is not complete. You still need to configure the services you wish to use in WebCenter Spaces, for example, the Documents service (including UCM), the Worklist service, and the Discussions service. You may also wish to register portlet producers. See the Oracle Fusion Middleware Installation Guide for Oracle WebCenter 11g and the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter for more information.



Summary

In this tutorial, you should have learned how to:

Resources


Credits

  • Lead Curriculum Developer: Mary Peek