Amazon EC2 Dimdim Configuration

The Dimdim AMI comes pre-built and ready to go directly from boot when properly configured.

The Dimdim server utilizes special configuration files to run efficiently. These files are located under the folder
/usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources

To make configuration more customizable, these files have purposely been excluded from this folder so you may conveniently retain your settings for future instances.

For default configuration:

At the shell prompt input the following:

[root@dimdim ~]# cp /defaults/* /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/

This will allow you to quickly start Dimdim with a blank configuration file.

You must now set your IP address by running the following commands:

[root@dimdim ~]# export IETH0=$(ifconfig eth0 | sed -n 2p | cut -d ":" -f2 | cut -d " " -f1)
[root@dimdim ~]# export EETH0=$(wget http://linuxmade.com/myip.php -O - -o /dev/null | tail)
[root@dimdim ~]#
/usr/local/dimdim/Config-ipaddress.pl $EETH0 80 $IETH0

To start the server type:

[root@dimdim ~]# startDimdim

You can then immediately start a web conference by navigating to http://[public_dns]/dimdim

 

 

For a more advance customized setup:

Stop Dimdim if running:

[root@dimdim ~]# stopDimdim

Delete all previous configuration files

[root@dimdim ~]# rm -f /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/*

Create an EBS volume of 1GB. We will use this volume to store our configuration files in.

Format the volume and mount the drive

[root@dimdim ~]# mkfs /dev/[assigned device]
[root@dimdim ~]# mount /dev/[assigned device] /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources

Copy the default files over

[root@dimdim ~]# cp /defaults/* /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/

Navigate to the resources directory to customize your settings:

[root@dimdim ~]# cd /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources

You should at least change your SMTP server settings to allow invitation settings to be sent out. The file to change is dimdim.properties
The following instructions are from the Dimdim installation guide.

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
##
##


Do not change the IP address settings manually. Use the configuration program to do so by running:

[root@dimdim ~]# export IETH0=$(ifconfig eth0 | sed -n 2p | cut -d ":" -f2 | cut -d " " -f1)
[root@dimdim ~]# export EETH0=$(wget http://linuxmade.com/myip.php -O - -o /dev/null | tail)
[root@dimdim ~]#
/usr/local/dimdim/Config-ipaddress.pl $EETH0 80 $IETH0

Now you can start your server:

[root@dimdim ~]# startDimdim

The advance setup allows you to configure your server in a more customizable way without having to re-bundle and save the server for personal use.

If you have any questions or problems, please post them in the Dimdim forums and I will try to answer them there or shoot me an e-mail at:

ywaston at linuxmade.com

AMI setup provided by Open Teleservices