My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
InstallationOf05RC3Beta3  
Installation of 05 Release Candidate 3
Updated Aug 28, 2011 by seba.wag...@gmail.com

Requirements

  • Database availible (MySQL,Postgres,... MSSQL,Oracle,DB2 see full-list) I recommend to make/use an empty database/scheme
  • Open-Office-Service started and listening on port 8100 (see OpenOfficeConverter, this is not necessary for installation but for running later on)
  • Installed ImageMagick (this is not necessary for installation but for running later on), you can get more information on http://www.imagemagick.org regarding installation. The instructions for installation can be found there http://www.imagemagick.org/script/binary-releases.php, however on most linux systems you can get it via your favorite package managers (apt-get it)
  • Installed GhostScript (this is not necessary for installation but for running later on), you can get more information on http://pages.cs.wisc.edu/~ghost/ regarding installation. The instructions for installation can be found there, however on most linux systems you can get it via your favorite package managers (apt-get it).

Install latest Red5 Server

  • you can get the latest Version of Red5 from: http://www.osflash.org
  • configure Red5, the default ports Red5 is listening are also the default ports openmeetings application will try to connect. However you will find the exact port settings in $RED5-HOME/conf/red5.properties (or follow the installation of red5)

Install Openmeetings

  1. Download Openmeetings 0.5 Rc3 (beta3) from http://code.google.com/p/openmeetings/downloads/list Openmeetings-Download-Page
  2. Unpack it to $RED5-HOME/webapps/ your new folder structure will be $RED5-HOME/webapps/xmlcrm/ this is the base directory of Openmeetings (following $OPENMEETINGS-HOME)
  3. Prepare Database Settings - goto $OPENMEETINGS-HOME/install there are two preconfigured files for MySQL and Postgres: mysql_hibernate.cfg.xml and postgres_hibernate.cfg.xml. Following explains it for MySQL-Database-Users, Postgres-Database-Users and Any-Database-Users. Choose Your One!! Of course the database must already exist! Meaning if you want to use jdbc:mysql://localhost/xmlcrm then the database xmlcrm must be already an existing empty database!!
    • MySQL-Database-User: Rename mysql_hibernate.cfg.xml to hibernate.cfg.xml and alter following config values in (mysql_)hibernate.cfg.xml
    • 		<property name="connection.username">root</property>
      		<property name="connection.password"></property>
      
      		<property name="connection.url">jdbc:mysql://YOUR_HOSTNAME/YOUR_DATABASE</property>	
    If you go problems in connecting your database you properly need to replace the jdbc-driver with the one for your mysql-version, see http://www.mysql.com/products/connector/j/ for drivers and replace the mysql-connector-java-3.0.6-stable-bin.jar in xmlcrm/WEB-INF/lib with the one you have downloaded. If your mysql server is not located in localhost make sure the mysql-server is listening on that network-interface. Of course you must alter YOUR_HOSTNAME/YOUR_DATABASE to fit your needs for example to:jdbc:mysql://localhost/xmlcrm
    • Postgres-Database-Users: Rename postgres_hibernate.cfg.xml to hibernate.cfg.xml and alter following config values in (postgres_)hibernate.cfg.xml
    • 		<!-- User  / Password -->
      		<property name="connection.username">postgres</property>
      		<property name="connection.password"></property>
      		
      		<property name="connection.url">jdbc:postgresql://YOUR_HOSTNAME/YOUR_DATABASE</property>	
    If you go problems in connecting your database you properly need to replace the jdbc-driver with the one for your postgres-version, see http://jdbc.postgresql.org/download.html for drivers and replace the postgresql-8.2-504.jdbc2.jar in xmlcrm/WEB-INF/lib with the one you have downloaded. Don't forget that the encoding of the database must be UNICODE! In past Postgres Version this has been Latin1. Of course you must alter YOUR_HOSTNAME/YOUR_DATABASE to fit your needs for example to:jdbc:postgresql://localhost/xmlcrm
    • Any-Database-Users: Rename any_hibernate.cfg.xml to hibernate.cfg.xml.
    Alter the following config values to fit your needs:
    		<!-- User  / Password -->
    		<property name="connection.username">user</property>
    		<property name="connection.password">*****</property>
    		
    		<!-- Database Settings -->
    		<property name="connection.driver_class">org.postgresql.Driver</property>
    		<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
    		<property name="connection.url">jdbc:postgresql://localhost/xmlcrm</property>	
    		
    You can see a list of available dialect's here hibernate-SQL-dialects. You must download the driver for your database and copy it to $OPENMEETINGS-HOME/WEB-INF/lib
  4. (Re)start Red5 (The table's and default database scheme will be automatically created by hibernate if there is something wrong with your database values you will see errors in Red5 logfile, you can reduce Error log output by switching $RED5-HOME/conf/log4j.properties from DEBUG to ERROR to see only relevant value's)
  5. go to the Installer by accessing it via browser: http://$rmpthostlocal/xmlcrm/Install it looks like that (If you unpack your stuff on localhost and do not alter the red5 port settings it will be http://localhost:5080/xmlcrm/Install):
  1. Step 1 - install welcome and reminding

  1. Step 2 - adding data

  1. Step 3 - installation complete

  1. Step 4 - enter Application (http://$rmpthostlocal/xmlcrm/)

If you have it that far and openoffice+imagmagick runs correctly your installation is complete

Tips and Tricks

Powered by Google Project Hosting