Comment by [email protected]:
I wanted to install OpenMeeting on a Debian Squeeze server (which after the
install is now running well).
I followed the instructions provided by this site, making the following
changes for Debian Squeeze, I hope someone may find this useful.
If you do not have an already existing mySQL server, then install
mysql-server;
aptitude install mysql-server (and during the install, create the mysql
server's root account).
Add/edit the following lines to /etc/mysql/my.conf to enable localization:
[mysqld]
default-character-set=utf8
character-set-server=utf8
Login into mysql and create a user account and database for OpenMeetings
(I have called the user "openmeetings"and the database "openmeetings")
mysql> create user 'openmeetings'@'[mysql-server FQDN or IP]';
mysql> create database openmeetings default character set 'utf8';
mysql> grant all on openmeetings.* to 'openmeetings'@'[mysql-server FQDN or
IP]' identified by '[password]';
If they are not already installed, then install xvfb and OpenOffice.org;
aptitude install xvfb
aptitude install openoffice.org
I found that the Setup.xcu was located in a slightly different location
than it was
previously "/usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu".
I edited the
file "/usr/lib/openoffice/basis3.2/share/registry/data/org/openoffice/Setup.xcu"
adding below the line "<node oor:name="Office">";
<prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
<value>socket,host=localhost,port=8100;urp</value>
</prop>
Install other required Debian packages;
If they are not already installed, then install ImageMagic, FFMpeg, SoX,
libart-2.0-2 and Ghostscript
You can check to see if they are installed with, for example, "aptitude
show ghostscript | grep installed"
aptitude install ghostscript
Note: gs-gpl is now dummy package provided for a smooth transition from
the previous gs-gpl package (the package is replaced by ghostscript)
aptitude show imagemagick | grep installed
aptitude install imagemagick
aptitude install ffmpeg
aptitude install sox
aptitude show libart-2.0-2
aptitude install libart-2.0-2
Install SwfTools
First install other Debian Squeeze packages which are required by SwfTools;
aptitude install zlib1g-dev
aptitude install libfreetype6-dev
aptitude install libgif-dev
aptitude install libjpeg62-dev
Now install SwfTools from www.swftools.org;
wget http://www.swftools.org/swftools-0.9.1.tar.gz
tar -zvxf swftools*
cd swftools-0.9.1/
./configure
make
make install
Note: I got a message, "config.status: WARNING: 'Makefile.common.in' seems
to ignore the --datarootdir setting", I hope this is not important !
Now check the install by typing in "pdf2swf" and if it compiled, pdf2swf
should display its help (I had a few issues here until I installed to
above *-dev Debian packages).
Install Java and red5
aptitude install sun-java6-demo (installs sun-java6-bin as well as other
packages)
aptitude install red5-server
aptitude install red5-doc (not required, so only install if you want the
doc files)
If you open a browser and enter your servers' IP address with port 5080,
e.g. http://[server.ip.address]:5080/ you should get a page up which
says "If you can read this page it means that the Red5 server installed at
this site is working properly. "
Now is a great time to check the installations of SwfTools, ImageMagick,
GhostScript, FFMpeg, SoX installations, see;
http://code.google.com/p/openmeetings/wiki/ConvertersInstallation#check_installation
Now install Subversion and byacc (these may not be needed but I installed
then anyway)
aptitude show subversion
If subversion and byacc are not installed, then install then with;
aptitude install subversion
aptitude install byacc
Install openlazslo
Using a web browser download
http://download.openlaszlo.org/4.9.0/openlaszlo-4.9.0-unix.tar.gz by
entering in the two pass words. I was not able to use wget as you need to
enter two pass words.
tar xvf openlaszlo-4.9.0-unix.tar.gz
mv lps-4.9.0/ /opt/
I do not know if this is required, however I set the environment variables
for JAVA_HOME and JRE_HOME
To check to see if you already have these set, enter "echo
$JAVA_HOME", "echo $JRE_HOME".
JAVA_HOME="/usr/lib/jvm/java-6-sun"
JRE_HOME="/usr/lib/jvm/java-6-sun/jre"
export JAVA_HOME
export JRE_HOME
echo $JAVA_HOME
echo $JRE_HOME
Openmeetings site said, "there is no need to install OpenLaszlo if you only
use the application but don't want to modify it", and so I did not run any
specific Openlaszlo installation, and all worked.
Install OpenMeetings
wget http://openmeetings.googlecode.com/files/openmeetings_1_6_2_r3675.zip
(this was the lastest version at the time of my install)
This package also comes with Red5, however later we install Debian
Squeeze's own red5-server package so we will only make use of the
openmeetings folder.
unzip openmeetings_1_6_2_r3675.zip
Find out where hibernate.cfg.xml exists;
find . -name hibernate.cfg.xml
./red5/webapps/openmeetings/conf/hibernate.cfg.xml
Backup up the original hibernate.cfg.xml.org file and copy the mysql
version to this file name;
mv hibernate.cfg.xml hibernate.cfg.xml.org
cp mysql_hibernate.cfg.xml hibernate.cfg.xml
Edit this file;
nano ./red5/webapps/openmeetings/conf/hibernate.cfg.xml
On the line "<property name="connection.password"></property>" enter the
password you used for the "openmeetings" mysql database user you created
above.
modify the mysql connection line to point to your mysql server and your
openmeetings database (which we created above)
<property name="connection.url">jdbc:mysql://[mysql-server FQDN or
IP]/openmeetings?autoReconnect=true&useUnicode=true&createDatabaseIfNotExist=true&characterEncoding=utf-8</property>
Copy the openmeetings folder to the Debian Squeeze's Red5 webapps folder
(in Debian Squeeze this folder is /var/lib/red5/webapps/, and I had
unzip'ed openmeetings into the /root folder where I was logged in)
cp -R /root/red5/webapps/openmeetings /var/lib/red5/webapps/
Start every thing
xvfb-run --server-args='-screen 0 800x600x16' -a
/usr/lib/openoffice/program/soffice -headless -nologo -norestore &
/opt/lps-4.9.0/Server/tomcat-5.0.24/bin/startup.sh
/etc/init.d/red5 start
Run the Openmeetings Installer by accessing it via browser:
http://localhost:5080/openmeetings/install and in the resulting page, enter
the details for an Openmeetings administrator account which it will create
when you press install, and if you want, then you can supply any other
details that you know.
If the installations above for SwfTooks, ImageMagick, FFMpeg and SoX
worked, then you should not have to enter in any path statements for;
SWFTools Path
ImageMagick Path
FFMPEG Path
SoX Path
For more information:
http://code.google.com/p/openmeetings/wiki/InstallationOpenMeetings
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.