Cmdbuild Installation Ubuntu

Feb 12, 2010 This install guide has been tested on a fresh Karmic Koala 9.10 Ubuntu installation. Apache Tomcat installation. CMDBuild installation. These steps should be performed on the x8664 host system, rather than the target system. To install the native CUDA Toolkit on the target system, refer to the native Ubuntu installation section. Perform the pre-installation actions. Install repository meta-data package with.

Cmdbuild Installation Ubuntu

CMDBuild (http://www.cmdbuild.org/en) is a open-source configuration and management tool: It comprises a completely configurable web application to model and manage a database containing assets, and handle related workflow operations. CMDBuild can be used as an asset management system for any kind of assets, as it gives the administrator full flexibility over the asset model and inter-relationships between assets. CMDBuild also provides connectors to other open source components that can be used to extend the usability of the tool, and add features such as document management, automatic inventorying, external authentication, reports, workflows, GIS features, etc.Alfresco DMS can be connected to CMDBuild and used to store “attachments” for any assets defined and tracked within CMDBuild. Refer to my earlier post here to see how to manually install Alfresco on your Tomcat server. Both Alfresco & CMDBuild can be installed on the same instance of Tomcat if needed. I have on my to-do list a set of posts on CMDBuild itself, and how to install/build/configure it. For this tutorial, we assume you have both CMDBuild and Alfresco DMS up and running already on your server. As a pre-configuration check, you may want to login to CMDBuild and open any card: Check the Attachments tab in the Card Pane on the bottom half of your screen. It should be disabled since we haven’t configured the Alfreco connectivity yet. You will see this button get enabled by the end of this tutorial.

WebApp configuration

  1. Login to Alfresco web application (typically http://localhost:8080/Alfresco if Alfresco is running on your local machine on the usual Tomcat port) using the admin credentials.
  2. Navigate to Company Home > User Homes using the navigation pane on the left.
  3. You can use any name you would like, you just need to be sure to reference the same when you do the configuration within CMDBuild (Step 2 of this tutorial).

  4. Now that the space is created, go to the Administration Console. You can find a link to the top of the page (the very first icon)
  5. Create a new category for CMDBuild documents.

FTP configuration

Ubuntu
  1. Find alfresco-global.properties within your Tomcat Alfresco installation (if you followed my earlier post to setup Alfresco, this file would be at <Tomcat Home>/shared/classes. Else you can do a search within <Tomcat Home> to find the file).
  2. Ensure that the FTP properties are not commented out and similar to below. If you are using port 1121 on your machine, you may change the port to an unused one. Just be sure to configure CMDBuild accordingly (Step 2 of this tutorial).
  3. If you needed to edit the property file to get it in line, then you will have to bounce Tomcat to apply the changes. The configuration changes done on the webapp do not need a bounce.

Webapp Configuration

Cmdbuild installation ubuntu linux

Do I Need To Install CMDBuild First Or Will OpenMAINT Work As ...

  1. Login to CMDBuild (typically http://localhost:8080/cmdbuild if CMDBuild is running on your local machine on the usual Tomcat port) using admin credentials.
  2. Go into the Administration Module (use the link on the top below the User Name).
  3. Go to Setup > Alfresco and ensure the following Alfresco properties are setup correctly:
    1. Webapp URL: Check hostname & port number (UPDATE: Starting alfresco 4.2.d, the soap web services have moved from http://localhost:8080/alfresco/api to http://localhost:8080/alfresco/soapapi. Ensure your URL setup is correct for your version of alfresco. Thanks for the headsup @MSKang!)
    2. FTP: Check hostname & port number.
    3. Category:
    4. File Server Path: This is the path to the “space” you created under User Homes in Alfresco.
  4. Save the configuration changes.
Installation

Ubuntu

  1. Now go back into the Data Management Module in CMDBuild and open up a card.
  2. If the configuration was done correctly, the Attachments tab should be enabled now.
  3. Try adding an attachment in CMDBuild & finding it in Alfresco.

    CMDBuild: Alfresco:

Cmdbuild Installation Ubuntu Command

If there were any issues with the configuration of either app, you would see errors displayed. Below is one such error that would show up if CMDBuild were unable to reach Alfresco through the URL configured (incorrect hostname/portname/Tomcat not running/Alfresco app not running). Here is another error that would show up if CMDBuild were able to reach the Alfresco URL, but unable to reach its FTP service (incorrect FTP port configuration/Alfresco FTP not enabled).

There are other extensions available for CMDBuild that let you add additional functionality as required. See here for instructions on how to install Enhydra Shark workflow engine for CMDBuild. See here for instructions on how to upload documents to Alfresco via CMDBuild web services.