You are on page 1of 38

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


PREPARED BY RAVI KUMAR LANKE Page 1

The following is a list of software requirements:


Oracle Database 10g or 11g must be installed Oracle WebLogic Server 11g must be installed An HTTP server must be installed (required for UCM) Your system environment must meet the general installation requirements for Oracle Fusion Middleware, Oracle WebCenter, and RCU

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) 7. Know the address and port number of your HTTP Server 8. Have some familiarity with basic product installs 1. 2. 3. 4. 5. 6.

Creating WebCenter Schemas


To create the WebCenter database schemas using RCU, perform the following steps: 1. Navigate to the RCU bin directory and start RCU: $ cd /u01/app/rcu/bin $ ./rcu 2. In the Welcome window, click Next.

PREPARED BY RAVI KUMAR LANKE

Page 2

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

PREPARED BY RAVI KUMAR LANKE

Page 3

4. In the Database Connection Details window, enter the following values and click Next. Field Host Name Port Service Name Username Password Role Value <your_host_name> 1521 owcdb01 sys welcome1 SYSDBA

PREPARED BY RAVI KUMAR LANKE

Page 4

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

5. 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.

PREPARED BY RAVI KUMAR LANKE

Page 5

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

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

PREPARED BY RAVI KUMAR LANKE

Page 6

7. In the Map Tablespaces window, click Next.

PREPARED BY RAVI KUMAR LANKE

Page 7

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.

8. In the Summary window, click Create.

PREPARED BY RAVI KUMAR LANKE

Page 8

A dialog box opens showing the progress of schema creation.

9. In the Completion Summary window, click Close.

PREPARED BY RAVI KUMAR LANKE

Page 9

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: 1. 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
PREPARED BY RAVI KUMAR LANKE Page 10

environment, use the JRockit JRE.

2. In the Welcome window, click Next.

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

PREPARED BY RAVI KUMAR LANKE

Page 11

4. 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.

PREPARED BY RAVI KUMAR LANKE

Page 12

5. 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.

PREPARED BY RAVI KUMAR LANKE

Page 13

6. 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. Field Connect String Value <your_host_name>:<port_number>:owcdb01

Schema User DEV_OCSERVER Name Schema Password welcome1

PREPARED BY RAVI KUMAR LANKE

Page 14

7. In the Installation Summary window, click Install.

PREPARED BY RAVI KUMAR LANKE

Page 15

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

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

PREPARED BY RAVI KUMAR LANKE

Page 16

UCM Installation Progress is shown .

9. In the Installation Complete window, click Finish.

PREPARED BY RAVI KUMAR LANKE

Page 17

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: 1. 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 2. In the Welcome window, accept the default of Create a new WebLogic domain and click Next.

PREPARED BY RAVI KUMAR LANKE

Page 18

3. 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.

PREPARED BY RAVI KUMAR LANKE

Page 19

4. In the Specify Domain Name and Location window, enter the following values and click Next. Field Domain name Domain location Value practice_domain /u01/app/oracle/product/fmwhome/user_projects/domains

Application /u01/app/oracle/product/fmwhome/user_projects/applications location

PREPARED BY RAVI KUMAR LANKE

Page 20

5. 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.

PREPARED BY RAVI KUMAR LANKE

Page 21

6. 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.

PREPARED BY RAVI KUMAR LANKE

Page 22

7. 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. Field DBMS/Service Driver Host Name Schema Owner Port Schema Password Value owcdb01 default value <your_host_name> default value default value welcome1

PREPARED BY RAVI KUMAR LANKE

Page 23

The Testing Connections dialog opens.

8. In the Test Component Schema window, click Next.

PREPARED BY RAVI KUMAR LANKE

Page 24

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

PREPARED BY RAVI KUMAR LANKE

Page 25

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

PREPARED BY RAVI KUMAR LANKE

Page 26

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

PREPARED BY RAVI KUMAR LANKE

Page 27

12. In the Configure Clusters window, click Next.

13. In the Configure Machines window, click Add. Enter the following values and click Next. Field Name Node manager listen address Node manager listen port Value practice_machine All Local Addresses default value

PREPARED BY RAVI KUMAR LANKE

Page 28

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

PREPARED BY RAVI KUMAR LANKE

Page 29

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

PREPARED BY RAVI KUMAR LANKE

Page 30

16. In the Creating Domain window, click Done.

PREPARED BY RAVI KUMAR LANKE

Page 31

Starting the WebLogic Servers


To start all the WebLogic Servers as well as the Node Manager, perform the following steps:

Starting the Administration Server


1. 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

PREPARED BY RAVI KUMAR LANKE

Page 32

1. 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. 2. 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


1. 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.

PREPARED BY RAVI KUMAR LANKE

Page 33

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

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

PREPARED BY RAVI KUMAR LANKE

Page 34

4. 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: 1. 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.

PREPARED BY RAVI KUMAR LANKE

Page 35

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

PREPARED BY RAVI KUMAR LANKE

Page 36

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:

Create the database schemas required by WebCenter Spaces, WebCenter Services, and UCM
Page 37

PREPARED BY RAVI KUMAR LANKE

Install WebCenter Spaces, WebCenter Services, and UCM Create and configure the WebCenter Spaces domain Start the WebLogic Servers in the WebCenter Spaces domain Verify that WebCenter Spaces has been installed correctly

PREPARED BY RAVI KUMAR LANKE

Page 38

You might also like