Install Personalization sample and database

 

+
Search Tips   |   Advanced Search

 

Ensure you have the basic system requirements listed in Prerequisites for the Personalization portlet exercise.

This exercise installs the sample Portal Personalization IBM Cloudscape database. No additional database requirements are needed.

  1. Start the IBM WebSphere Portal server.

  2. From a command prompt, navigate to /WebSphere/PortalServer/config.

  3. Enter the following commands to install the Personalization sample and create the users for this sample:

    If the WebSphere Portal server is secured the creation of the pzndemo users will fail. Create a group called pzndemousers and add the following four users manually rather than running create-pzndemo-users.

    • scott
    • marge
    • tawana
    • andy

  4. Stop the WebSphere Portal server.

  5. Restart the WebSphere Portal server

  6. Confirm that the users were created by logging in as the following users. Use pzndemo as the password for each user.

    • scott
    • marge
    • tawana
    • andy

  7. Click through the different pages and portlets for each user. Notice the different information that displays for each user.

  8. Log out of WebSphere Portal.

  9. Stop the WebSphere Portal server. This action is necessary to free the single connection to the IBM Cloudscape database, so we can continue the next steps in this exercise.

The sample demo and database configuration is complete.

We can now begin coding a basic personalized portlet.