Finally, after a long searching and research, I was successful in installing DimDimv4.5 in my Debian Lenny Stable Version. We have been facing a lot of problems because we needed to use RPM based distros for DimDim but that was not really desirable.
At last I was able to test the installation, but with crashing browsers. All of my browsers crashed after starting the DimDim server. Moreover, other applications didnot open up as well. The terminal was good, nothing happened to it. I just let the DimDim server running and tested it from other PCs.
I had tried the same process of installation in Ubuntu 9.10 but my GUI became unstable. It kept on flickering, I don’t know why.
I strongly recommend to continue this installation in fresh PC. DONOT use development mode PCs.
This is what I did to make my installation. The most of the parts are from a very well complied French tutorial which showed me the way.
I don’t know why, but they need OpenOffice3 as a clear dependency to install DimDim. So grab your copy from here .
Just extract the tar file and install all the debs in the DEBS folder in it.
Note: You must be root.
# tar xvf Ooo_3.0.1_LinuxIntel_install_fr_deb.tar.gz
# cd OOO300_m15_native_packed-1_fr.9379/DEBS/
# dpkg -i *.deb
Install Java 6 Next
# apt-get install sun-java-6
I have heard that SUN has been bought by Oracle, so there may be a different version of this command. Check out your local repo.
Then set some variables and environment for easier future reference.
# echo "JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.12" >> /root/.bashrc
# echo "export JAVA_HOME" >> /root/.bashrc
# echo "PATH=$JAVA_HOME/bin:$PATH" >> /root/.bashrc
# echo "export PATH" >> /root/.bashrc
Some more modules that may or may not trouble you. They troubled me, so it is better to have them in the latest version.
# apt-get install gawk
# apt-get install python-uno python2.5-dev
# apt-get install unzip
# apt-get install openoffice.org-java-common openoffice.org-headless
# apt-get install binutils build-essential
Finally comes very impossible looking Python Modules. I hope you get the sources as I did.
*******************************************************************************
Cherry Py
*******************************************************************************
wget http://download.cherrypy.org/cherrypy/3.1.0/CherryPy-3.1.0.zip
unzip CherryPy-3.1.0.zip
cd CherryPy-3.1.0
chmod +x *
python2.5 setup.py install
python2.5
>>>import cherrypy
>>>
Ctrl+D
*******************************************************************************
Flup
*******************************************************************************
wget http://www.saddi.com/software/flup/dist/flup-1.0.tar.gz
tar xvf flup-1.0.tar.gz
cd flup-1.0
chmod +x *
python2.5 ez_setup.py -U setuptools
python2.5 setup.py install
python2.5
>>>import flup
>>>
Ctrl+D
*******************************************************************************
Pycurl
*******************************************************************************
wget http://curl.haxx.se/download/curl-7.19.0.tar.gz
tar xvf curl-7.19.0.tar.gz
cd curl-7.19.0
./configure
make
make install
ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.0
easy_install-2.5 pycurl
python2.5
>>>import pycurl
>>>
Ctrl+D
*******************************************************************************
DemJSON
*******************************************************************************
wget http://deron.meranda.us/python/demjson/dist/demjson-1.3.tar.gz
tar xvf demjson-1.3.tar.gz
cd demjson-1.3
chmod +x *
python2.5 setup.py install
python2.5
>>>import demjson
>>>
Ctrl+D
Now get the DimDim package from SourceForge repository. This is the link
http://sourceforge.net/projects/dimdim/files/Dimdim%20v4.5%20Release/Dimdim%20Cent%20OS%205.2%20RPM%20Package%20v4.5/Dimdim_RPM_Package_CentOS_5.2_v4.5.zip/download
# unzip Dimdim_RPM_Package_CentOS_5.2_v4.5.zip
# apt-get install alien
# cd Dimdim_RPM_Package_v4.5/
# alien Dimdim-4.5_SF_i386.rpm
# dpkg -i dimdim_4.5-2_i386.deb
# mv /usr/local/dimdim-4.5/ /usr/local/dimdim
#cd /usr/local/dimdim/
# tar xvf CobrowsingManager.tar.gz
Note: If you are installing DimDim in RPM based distros then you don’t need to convert the RPM to DEB using alien.
Instead use rpm -i Dimdim-4.5_SF_i386.rpm
Now change some permissions for access:
# chmod +x /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/bin/*
# chmod +x /usr/local/dimdim/red5/*
# chmod +x /usr/local/dimdim/red5/conf/*
# chmod +x /usr/local/dimdim/nginx/sbin/*
# chmod +x /usr/local/dimdim/DTP3/Reflector/*
# chmod +x /usr/local/dimdim/Mediaserver/mods/*
# chmod +x /usr/local/dimdim/Mediaserver/www/pages/*
# chmod +x /usr/bin/*
# chmod +x /usr/lib/*
# chmod +x /usr/local/share/*
# chmod +x CobrowsingManager/cob/*
# chmod +x StartDimdim.sh
# chmod +x StopDimdim.sh
# chmod +x Config-ipaddress.pl
Next we need to adjust some paths in the code according to our needs.
# gedit /usr/local/dimdim/Mediaserver/mods/toolkit/osconfig.py
Find: return os.path.dirname('/opt/openoffice.org2.4/program/')
Replace: return os.path.dirname('/opt/openoffice.org3/program/')
# gedit /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/conf/wrapper.conf
Find: wrapper.java.command=DIMDIM_JAVA_HOME/bin/java
Replace: wrapper.java.command=/usr/lib/jvm/java-6-sun-1.6.0.12/bin/java
# gedit /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/conf/server.xml
Find: Connector port="DIMDIM_PORT_NUMBER" maxHttpHeaderSize="8192"
Replace: Connector address="127.0.0.1" port="40000" maxHttpHeaderSize="8192"
# gedit /usr/local/dimdim/StopDimdim.sh
Find: cd /usr/local/dimdim-4.5/ConferenceServer/apache-tomcat-5.5.17/bin/
Replace: cd /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/bin/
# gedit /usr/local/dimdim/StartDimdim.sh
Find: cd /usr/local/dimdim-4.5/ConferenceServer/apache-tomcat-5.5.17/bin/
Replace: cd /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/bin/
# gedit /usr/local/dimdim/Mediaserver/mods/interface.py
Find: #!/usr/bin/python2
Replace: #!/usr/bin/python2.5
# gedit /usr/local/dimdim/CobrowsingManager/cob/startCobServer.sh
Find: /usr/local/bin/python2.5
Replace: /usr/bin/python2.5
Make some soft links and copy the startup
# ln -s /usr/lib/libpcre.so.3 /usr/lib/libpcre.so.0
# cp Mediaserver/mods/spawn-fcgi DTP3/Reflector/spawn-fcgi
Make link to newly installed OpenOffice3 and remove the old one.
Note: You need to be careful while this step.
# rm /usr/bin/soffice
# ln -s /opt/openoffice.org3/program/soffice.bin /usr/bin/soffice.bin
Now, finally you need to install some 3rd party software from the dimdim source.
# cd /usr/local/dimdim/ThirdPartyPackages/
# tar xvf swftools.tar.gz
# cp swftools/pdf2swf /usr/bin/
# cp swftools/libs/* /usr/lib/
# cp swftools/swfdump /usr/bin/
# cp swftools/swfextract /usr/bin/
# cp -r swftools/swffonts/fonts/ /usr/local/share/swftools/
Finally, you can configure your DimDim server by providing IP address and PORT to the script as follows:
# ./Config-ipaddress.pl
Note: During this step, all my browsers crashed. I don’t know what went wrong but I suggest not to execute the above script with any application open in the system. Please close all the applications before executing this script.
Then, start the DimDim server by executing the following script:
# ./StartDimdim.sh
You can stop the DimDim server by executing the following script:
# ./StopDimdim.sh
I hope you get DimDim server installed.
Finally, you can browse the application by pointing your browser to http://<IP>:<PORT>



















Hello Nitesh Rijal,
I think you have to check port opened for other PC…
And have to check route for other PC…
Thanks
SV
[Spanish]Los invito a leer mi serie de tres articulos tutoriales sobre la instalacion de Dimdim Open Source en Linux. La siguiente es la direccion:[/Spanish]
[English]I invite you to read my series of three articles tutorials on the installation of Dimdim Open Source on Linux. The following is the address:[/English]
http://orlandocarcamo.com/como_instalar_dimdim_open_source_en_un_servidor_linux.html