Installing Dimdim on CentOS

Do you want a free Web Conferencing? Then you can try DIMDIM.
Dimdim lets anyone deliver synchronized live presentations, whiteboards and web pages and share their voice and video over the Internet – with no download required

Official Dimdim Website:  www.dimdim.com

You can try the Open source Community Edition.

This is based on Dimdim Installation Procedure for CentOS

This step-by-step procedure was tested and implemented successfully on CentOS 5.2 32 bit (64 bit won’t work since the dimdim installation pack is for 32-bit only)

Requirements

1. Libc – ver. required is 2.5
2. OpenOffice – ver. required is 3.0
3. Java Runtime Environment(JRE) – ver. required is 1.6
4. CherryPy – ver. required is 3.1
5. Flup  – ver. required is 1.0
6. Pycurl – ver. required is 7.19
7. demjson – ver. required is 1.3
8. Python – ver. required is 2.5

DimDim is very easy to install since it’s available in RPM package. The pre-requisites will take some of your time installing.

Here are the steps:

1. Chceck if you have libc v2.5 installed by using this command below:

[root@freelinuxtutorials]#ldconfig -v |grep libc

You should get similar output

libcidn.so.1 -> libcidn-2.5.so
libcrypt.so.1 -> libcrypt-2.5.so
libc.so.6 -> libc-2.5.so
libcap.so.1 -> libcap.so.1.10
libcom_err.so.2 -> libcom_err.so.2.1
libcrypto.so.6 -> libcrypto.so.0.9.8b
libcapi20.so.3 -> libcapi20.so.3.0.4
libcairo.so.2 -> libcairo.so.2.9.2
libckyapplet.so.1 -> libckyapplet.so.1.0.0
libcddb-slave2.so.0 -> libcddb-slave2.so.0.0.0
libcspi.so.0 -> libcspi.so.0.10.11
libcdda_interface.so.0 -> libcdda_interface.so.0.9.8
libcupsimage.so.2 -> libcupsimage.so.2
libcrack.so.2 -> libcrack.so.2.8.0
libcryptsetup.so.0 -> libcryptsetup.so.0.0.0
libcdda_paranoia.so.0 -> libcdda_paranoia.so.0.9.8
libcurl.so.3 -> libcurl.so.3.0.0
libcamel-provider-1.2.so.8 -> libcamel-provider-1.2.so.8.1.0
libcamel-1.2.so.0 -> libcamel-1.2.so.0.0.0
libcups.so.2 -> libcups.so.2
libcroco-0.6.so.3 -> libcroco-0.6.so.3.0.1

2. Check if you have OpenOffice installed by following this step:

[root@freelinuxtutorials]# find / -name soffice.bin | grep openoffice | grep program | grep org3″

Or query it via rpm

[root@freelinuxtutorials]#rpm -qa |grep openoffice

* If openoffice 3.0 not yet installed, install it by following this step

a. Get the installater from

URLs: http://mirrors.isc.org/pub/openoffice/stable
http://download.openoffice.org/other.html#en-US

HOW TO INSTALL:
a. Download the tarball file, choose the JRE version
[root@freelinuxtutorials]#wget http://mirrors.isc.org/pub/openoffice/stable/3.1.1/OOo_3.1.1_LinuxIntel_install_wJRE_en-US.tar.gz

b.To install open office v-3.0.0.0 please follow below steps:
b.1. Uncompress the open office pack you have downloaded.
[root@freelinuxtutorials]# tar zxvf OOo_3.1.1_LinuxIntel_install_wJRE_en-US.tar.gz
b.2. Go to open office directory
[root@freelinuxtutorials]#cd OOo_3.1.1_LinuxIntel_install_wJRE_en-US
b.3. go to RPMS directory
[root@freelinuxtutorials]#cd RPMS
b.4. You will find many rpm files ,install these rpm files by running the command
[root@freelinuxtutorials]#rpm -ivh *.rpm

3. Install Java Runtime Environment ( JRE )

Check if you have JRE Installed,issue the below command:

[root@freelinuxtutorials]#java -version

You should get similar output

java version “1.6.0?
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Type echo $JAVA_HOME
You should get
/usr/bin/java

Some time java -version shows lower version even after installing newer version. This is because newer java is not in the system path.
you can locate jre1.6 by the following command

[root@freelinuxtutorials]#find / -name java | grep /bin/java | grep jre | grep 1.6

It will show similar output:

[root@freelinuxtutorials]# /usr/java/jre1.6.0_05/bin/java

then type:

[root@freelinuxtutorials]# /usr/java/jre1.6.0_05/bin/java -version
java version “1.6.0?
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Note: If you have version lower that 1.6 then you need to install v1.6

Go to URL below to download and install JRE v1.6

http://java.com/en/download/manual.jsp

4. Install CherryPy

Check if you have CherryPy Installed,issue the below command:

*CHECK:
Type python2.4
Type import cherrypy

You should get similar output
[root@freelinuxtutorials]# python2.4
Python 2.4.3 (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import cherrypy
>>>
Above output indicates that cherrypy is installed.If it gives an output
saying “NO SUCH MODULE” then please follow below steps.

If you encounter such message above then you need to install CherryPy

Go to below URL to download and install CherryPy v3.1

http://www.cherrypy.org/wiki/CherryPyDownload

CherryPy Installation:

a) Download
[root@freelinuxtutorials]# wget http://download.cherrypy.org/cherrypy/3.1.0/CherryPy-3.1.0.zip
b) UnZip
[root@freelinuxtutorials]#unzip CherryPy-3.1.0.zip
c) Go to the directory and change permission to executable
[root@freelinuxtutorials]#cd CherryPy-3.1.0
[root@freelinuxtutorials]#chmod +x *
d) Run the following command to install
[root@freelinuxtutorials]#python2.4 setup.py install
e) Check if Cherrypy is already imported in python2.4
[root@freelinuxtutorials]#python2.4
[root@freelinuxtutorials]#import cherrypy

5. Flup

a) See if you have Flup Installed:

Type python2.4
Type import flup

You should get similar output

[root@freelinuxtutorials]# python2.4
Python 2.4.3 (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import flup
>>>

Above output indicates that flup is installed.If it gives an output
saying “NO SUCH MODULE” then please follow below steps.

If you encounter such message above then you need to install Flup

b. Installing Flup

Go to below URL to download and install Flup v1.0

http://www.saddi.com/software/flup/dist/flup-1.0.tar.gz

Flup installation:
Follow these steps:
a) Download Flup
[root@freelinuxtutorials]#wget http://www.saddi.com/software/flup/dist/flup-1.0.tar.gz
b) Uncompress the tarball file
[root@freelinuxtutorials]#tar xvzf flup-1.0.tar.gz
c) Go to the directory and change permission to executable
[root@freelinuxtutorials]#cd flup-1.0 and chmod +x *
d)Setup
[root@freelinuxtutorials]#python2.4 ez_setup.py -U setuptools
e) Install
[root@freelinuxtutorials]#python2.4 setup.py install
f)Check if Flup is already imported in python2.4
[root@freelinuxtutorials]#python2.4
[root@freelinuxtutorials]#import flup

6.    pycurl
Upgrade your curl 7.15 to 7.19.
a)Download curl 7.19
[root@freelinuxtutorials]#wget http://curl.haxx.se/download/curl-7.19.0.tar.gz
b)Uncompress
[root@freelinuxtutorials]#tar xzf curl-7.19.0.tar.gz
c) Go to the curl directory and compile it
[root@freelinuxtutorials]#cd curl-7.19.0
[root@freelinuxtutorials]# ./configure
[root@freelinuxtutorials]# make
[root@freelinuxtutorials]# make install
d) Soft link the curl
[root@freelinuxtutorials]#ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.4
e) Install pycurl, make sure you have python-devel package installed
[root@freelinuxtutorials]# yum install python-devel
f)Install pycurl
[root@freelinuxtutorials]#easy_install-2.4 pycurl
[root@freelinuxtutorials]#cd ..
[root@freelinuxtutorials]#python2.4
[root@freelinuxtutorials]#import pycurl

You should get similar output
[root@freelinuxtutorials]#python2.4
Python 2.4.3 (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import pycurl
>>>

7. demjson
a) Check if demjson Installed:
[root@freelinuxtutorials]#python2.4
[root@freelinuxtutorials]#import demjson

You should get similar output
[root@freelinuxtutorials]# python2.4
Python 2.4.3 (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import demjson
>>>

b) Install demjson
[root@freelinuxtutorials]#wget http://deron.meranda.us/python/demjson/dist/demjson-1.3.tar.gz
c) Uncompress tar
[root@freelinuxtutorials]#tar xzf demjson-1.3.tar.gz
d) Go to demjson directory and change permission to executable
[root@freelinuxtutorials]#cd demjson-1.3
[root@freelinuxtutorials]#chmod +x *
e)Install
[root@freelinuxtutorials]#python2.4 setup.py install
f)Check if demjson is already imported in python2.4
[root@freelinuxtutorials]#python2.4
[root@freelinuxtutorials]#import demjson

8. Python2.5
a)Before installation of python2.5, you need to check and install zlib
[root@freelinuxtutorials]# yum install zlib*
b) Download demjson
[root@freelinuxtutorials]#wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
c) Uncompress
[root@freelinuxtutorials]# tar xvzf Python-2.5.2.tgz
d) Go to that directory and compile
[root@freelinuxtutorials]#cd Python-2.5.2
[root@freelinuxtutorials]# ./configure
[root@freelinuxtutorials]# make && make install

NOTE: BEFORE PROCEEDING FURTHER PLEASE NOTE THAT we need pycurl,demjson,flup,cherrypy modules in python 2.5 also.To
do this follow below steps.It will be using the same cherrypy,flup,demjson,pycurl which you have already downloaded

9. Configure those with python2.5 as follows

9-a) CherryPy for python2.5

Version Required: v3.1

a. Go to the directory where you downloaded the cherrypy package.
b. cd CherryPy-3.1.0
c. python2.5 setup.py install
d. rm -rf CherryPy-3.1.0
e. rm -rf CherryPy-3.1.0.zip

You should be out of Cherrypy-3.1.0 directory and then
Type python2.5
Type import cherrypy

You should get similar output which indicates that cherrypy is successfully installed with python2.5
[root@freelinuxtutorials]#python2.5
Python 2.5.X (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import cherrypy
>>>

Above output indicates that cherrypy is installed and imported in Python2.5 correctly.

9-b) Flup for python2.5

a. Version Required: v1.0

b. Go to the directory where you downloaded flup

c. cd flup-1.0 and chmod +x *

d. python2.5 ez_setup.py -U setuptools

e. python2.5 setup.py install

f. rm -rf flup-1.0

g. rm -rf flup-1.0.tar.gz

Open a terminal or move out from flup-1.0 directory and follow the below steps:

Type python2.5
Type import flup

You should get similar output
[root@freelinuxtutorials]#python2.5
Python 2.5.X (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import flup
>>>

Above output indicates that flup is installed and imported in Python2.5 correctly.

9-c) demjson for python2.5
a. Version Required: v1.3

b. Go to the directory where you downloaded demjson i.e. cd demjson-1.3

c. cd demjson-1.3 and chmod +x *

d. python2.5 setup.py install

e. rm -rf demjson-1.3

f. rm -rf demjson-1.3.tar.gz

Now to check you must change your directory cd .. and then
Type python2.5
Type import demjson

You should get similar output
[root@freelinuxtutorials]#python2.5
Python 2.5.X (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import demjson
>>>

Above output indicates that demjson is installed and imported in Python2.5 correctly.

9-e) pycurl for python2.5
a) Version Required: v7.19

b) Now we can proceed on pycurl installion for python2.5 .

c)for python2.5 pycurl installation do as follows:

Type
easy_install-2.5 pycurl

Type python2.5
Type import pycurl

You should get similar output
[root@freelinuxtutorials]#python2.5
Python 2.5.2 (r252:60911, Oct  9 2008, 08:13:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>>import pycurl
>>>

Note: Opening ports in the Firewall

Port 80, 1935, 40000, 40001, 40002 , 40005 must be free in the machine.
The Dimdim Servers use ports 80 &1935 for external communication. But port 80 alone is enough to be opened for external communication.

BELOW is the Dimdim Installation based on the README

—————————————————————————-

DIMDIM INSTALLATION:
====================

Installation Steps:

Step 1: Download dimdim rpm package

Step 2: Install rpm package by typing the command rpm -ivh Dimdim-4.5_SF_i386.rpm in a terminal

Dimdim-4.5 will be installed under location /usr/local and a soft link for dimdim will be created under /usr/local.

The place holder will exactly look like
— usr
|
|–local
|
|–dimdim
|
|–ConferenceServer
|
|–CobrowsingManager
|
|–DTP3
|
|–MediaServer
|
|–red5
|
|–nginx
|
|–ThirdPartyPackages

Step 3: By default, ip address of ethernet 0 interface of the box is configured for Dimdim Server.

i) To stop Dimdim, open a terminal and enter stopDimdim
ii) To start Dimdim, open a terminal and enter startDimdim.

To start the meeting do
http://<ip.address>/dimdim/

Note: If the ip address is not the same or if you need to configure with different IP address, follow the below steps:

Step A:    Get the IP Address of the machine

Example:
[root@localhost]# ifconfig eth0

The output will look like:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:CA:FA:7C
inet addr:192.168.1.10  Bcast:125.255.255.255  Mask:255.0.0.0

The IP Address for the above example is 192.168.1.10

Step b: Configure all the Dimdim components

There may be two cases:
1. Network has public and private IP mapping,

ExternalIP:port –> Internal:port

Please note that port should be same, Port 80 is recommended.
For example: 123.X.X.X:80 —> 192.168.X.X:80
publicIP is mapped to privateIP

Use Config-ipaddress.pl like below
cd /usr/local/dimdim
./Config-ipaddress.pl 123.X.X.X 80 192.168.X.X

2. VM has a singleIP, There is no network mapping(no Network Address Translation):

Use Config-ipaddress.pl like below
cd /usr/local/dimdim
./Config-ipaddress.pl 123.X.X.X 80

Step c: On completion of configuration, open a terminal and enter the command “startDimdim”. This will start all the Dimdim components.
To ensure all Dimdim Components are started, check the status of the Dimdim Components.

You are now ready to start meeting. Start the meeting by providing the URL http://<IPAddressORHostnameConfigured>/dimdim/.
Please note the trailing slash is required in the URL after dimdim.Example http://192.168.1.10/dimdim/

Dimdim Sever Machine Restart:
=============================

When the machine where Dimdim Server installed is restarted,
open a terminal and type startDimdim – This will start Dimdim Server

Dimdim SMTP Server Configuration :
==================================

Please note that the current smtp settings are just sample setting. It is adviced that you change these settings to your own smtp configuration.

Below is suggested way to modify the smtp configuration

1) Open dimdim.properties configuration file

Go to folder cd /<dimdim_home>/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/

i.e. cd /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/

2) Modify the below settings as suggested. Please note that setting “dimdim.smtptype” needs to be configured depending on the type of smtp server.

##    Email Parameters that can be configured by the user.
##
email.server=<gmail smtp server address>
email.user=<your gmail id>
email.password=<your gmail account password>
email.sender=<your gmail account id>
email.PORT=465
email.EMAIL_CC=
email.EMAIL_BCC=
##
##
email.PROTOCOL=smtp
email.DEBUG_MAIL_SESSION=false
email.BUFFER_SIZE=2048
email.EMAIL_SUBJECT = has invited you to a Dimdim web meeting.
email.EMAIL_FROM_PERSON=DimDim Invitations
email.EMAIL_FROM=<your gmail account id>
email.EMAIL_REPLY_TO=<your gmail account id>
email.EMAIL_TO=
email.EMAIL_CHARSET=utf-8
##
##
##  This property refers to type of the SMTP Server
##  1 : Non SSL SMTP Server i.e. Dimdim SMTP Server
##  2 : SSL SMTP Server  i.e. gmail SMTP Server
dimdim.smtptype=2
##
##

DIMDIM UNINSTALLATION:
======================

Step 1:    rpm -e     dimdim

All the Dimdim Components installed by rpm package will be removed.

Share

About the author

tux

View all posts

13 Comments

  • After DimDim Installation YUM doesn’t work..:-)

  • what error message are you getting? it should work since no part in the installation steps will affect yum not to function.

  • Hello,

    when i start dimdim i get the error says that pyuno module is not installed. Can you tell me how to solve this?

    Thanks.

  • hi bogdan, pyuno module comes with the openoffice.org. Have you installed the openoffice package already?thanks

  • Yes, i installed, 3.2.0
    package ooobasis3.2-ooolinguistic-3.2.0-9483.i586 is already installed
    package ooobasis3.2-pyuno-3.2.0-9483.i586 is already installed
    package ooobasis3.2-testtool-3.2.0-9483.i586 is already installed

  • The error looks like this:

    Traceback (most recent call last):
    File “/usr/local/dimdim/Mediaserver/mods/interface.py”, line 7, in ?
    from document_manager.slidedeck import CSlidedeck
    File “/usr/local/dimdim-4.5/Mediaserver/mods/document_manager/slidedeck.py”, line 22, in ?
    from engine import exportEngine
    File “/usr/local/dimdim-4.5/Mediaserver/mods/document_manager/engine.py”, line 34, in ?
    import uno
    File “/usr/lib/python2.4/site-packages/uno.py”, line 36, in ?
    import pyuno
    ImportError: No module named pyuno

    Thanks

  • This problem does not exist in debian… So i switch to debian

  • instead of doing this:

    d) Soft link the curl
    [root@freelinuxtutorials]#ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.4

    you should do this (as root):

    # echo “/usr/local/lib” > /etc/ld.so.conf.d/local.conf
    # ldconfig

    which tells the dynamic linker to look in /usr/local/lib for shared libraries.

  • Is this only good for version 4.5 of DimDim? I would like to try this and would be happy to share my experiences. I would just like to know if a newer version of the software can be used?
    Thank you,

  • @COP thanks for dropping by on my site. Regarding the license, I think you can read their FAQ why they are moving to GPL license and using it for profit, I can’t really answer that. As a business, of course you can get wider features on the commercial release.

  • hi lamont,thanks for dropping by. That’s one approach and you can use any way you are comfortable of.

Leave a Reply