Guides
R24 AMR | Min(s) read

Install Live Content Management System (CMS)

Please find below the Installation Guide for Live Content Management System (CMS).

Install PostgreSQL

The following steps show you how to install PostgreSQL.

  1. Click the Installer EXE file to start the PostgreSQL Installer.

  1. The Welcome Screen is displayed.

  1. After you click Next button the Installation Directory Screen is displayed.
  2. Remove “Program Files\” from Installation Directory Path. (This simply makes PostgreSQL easier to find).

    C:\Program Files\PostgreSQL\9.5

  1. Click Next button. The Data Directory Screen is displayed.

  1. Click Next button. The Password Screen is displayed.
  1. Enter Password.

    alfresco

  1. Enter Retype password.

    alfresco

  1. Click Next button. The Port Screen is displayed.

  1. Click Next button. The Advanced Options Screen is displayed.

  1. Click Next button. The Ready to Install Screen is displayed.

  1. Click Next button. The Installing Screen is displayed.

  1. The Install Complete Screen is displayed.

  1. Click Finish button.

Set PostgreSQL Maximum Connections for Alfresco

The following steps show you how to edit the PostgreSQL max_connections property to prepare PostgreSQL for use with Alfresco.

  1. Open Windows Explorer.
  2. Navigate to folder.

    C:\PostgreSQL\9.5\data

  3. Right-click postgresql.conf » Edit with Notepad++.
  4. Edit property max_connections.

    275

  1. Select File menu > Save.
  2. Select File menu > Exit to close Notepad++.
  3. Close Windows Explorer.

To force this change to take effect we just need to restart the PostgreSQL Windows Service.

  1. Select Start Button > Control Panel > Administrative Tools > Services.
  2. Right-click postgresql-x64-9.4 Windows Service > Restart.

  1. Close Services window.
  2. Close Administrative Tools window.
  3. Close Control Panel window.

Add a Alfresco Database and User

The following steps show you how to use the PostgreSQL pgAdmin III application to add a Database and User for use with Alfresco.

  1. Start pgAdmin III application.

    Windows Start Button > All Programs > PostgreSQL 9.5 > pgAdmin III

  1. Right-click Server PostgreSQL 9.5 (localhost:5432) > Connect.

  1. The Connect to Server dialog is displayed.
  1. Enter Password.

    alfresco

  1. Mark Store password.

  1. Click OK. A Guru Hint dialog may be displayed.

  2. Click OK.
  3. Right-click Login Roles > New Login Role.

The New Login Role dialog is displayed.

  1. Enter Role Name.

    alfresco

  2. Select Definition tab.
  3. Enter Password.

    alfresco

  1. Enter Password.

    alfresco

  1. Select Role privileges tab.
  2. Mark Superuser
  3. Mark Can create databases
  4. Mark Can create roles

  1. Click OK to close the New Login Role dialog. The pgAdmin III application is displayed. We can then add a new Database and assign it to the User.
  2. Confirm that the new User (or Login Role) exists.

    alfresco

  1. Right-click Databases > New Database.

The New Database dialog is displayed.

  1. Enter (Database) Name.

    alfresco

  1. Select Owner.

    alfresco

  2. Click OK to close the New Database dialog. The pgAdmin III application is displayed.
  3. Confirm that the new Database exists.

    alfresco

  1. Select File menu > Exit.

Add a CMS Database and User

An additional Database/User also need to be added to support CMS:

  • User: CMSRole: Superuser (Can create databases and can create roles).
  • Database: CMSOwner: CMS

Install PostgresSQL Driver in Temenos UXP

For Temenos UXP to be able communicate with the PostgresSQL database a suitable driver must be added to the UXP Library and a reference to the file needs to be added to the Developer LAX configuration.

If you are following the course in a Training Classroom or as Self-study, you will find the necessary JAR find in your Student Course Materials. If you are building your environment you will able to easily download the appropriate driver for the Java version from the https://jdbc.postgresql.org/download.html

The PostgreSQL Database Driver for the 6.2 Release working with Java 1.8+.

When you click to save the file it is saved as a .jar file with the file name: postgresql-42.2.2.jar.

Community Installer

The Alfresco Community Installer is a wizard-oriented application that allows you to install all the Temenos UXP requirements to run Live CMS.

Setup Permissions for Live CMS

When you start to work with Live CMS on a project you will be saving articles into a folder in the Alfresco Repository Root Folder. Typically, you would have a different named folder setup to support each project. The folder name is defined in the connection properties when a Content Data Source in created in the Integration editor.

For example, the /cmisprojects folder above is then created under the Alfresco Repository Root Folder when you first run Live CMS.

To use Live CMS to create folders and Articles you will then need to modify the permissions for the folder directly on the Alfresco Server to correctly setup the correct Live CMS user roles to create (Contributor/Collaborator) and publish (Coordinator) content.

The following pages show how to set permissions for the ‘admin’ user on the folder /cmisprojects and to add a new user called ‘coordinator’. You will then be able to login to Live CMS with these user names and create and publish Live CMS articles.

Copyright © 2020- Temenos Headquarters SA

Published on :
Thursday, May 30, 2024 11:18:25 AM IST