|
InstallationDebian
Installing !Openmeetings on debian etchIn this how-to I'm going to descript way to install OpenMeetings on debian GNU/Linux Etch (4.0), Steps are following way:
What We NeedIn this article I will use aptitude to install packages, if you don't have apptitude please install it before going forward : $su #apt-get update #apt-get install aptitude After aptitude we need Debian GNU/Linux, I use version 4.0 (code name Etch), befor installing any thing else I recommend you to create a directory and manage every thing from there: #su #mkdir /root/tmpOpenMeetings/ #cd /root/tmpOpenMeetings/ Install !MySQLOpenMeetings can work with wide range of databases, I will install OpenMeetings with MySQL, to install !MySQL server: aptitude install mysql-server Add/edit the following lines to /etc/mysql/my.conf to enable localization: [mysqld] default-character-set=utf8 character-set-server=utf8 Install xvfb and OpenOfficeIf you would like exchange Presentation and Office documentation in OpenMeetings, you will nedd xvfb and OpenOffice.org #aptitude install xvfb openoffice.org Then edit Setup.xcu: #vim /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu You should insert following lines after: <node oor:name="Office">: <prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
<value>socket,host=localhost,port=8100;urp</value>
</prop>Install ImageMagick and GhostscriptImageMagick is a software suite for image manipulation and display, supporting close to 100 image formats. It is mainly used to perform various transformation and conversion operations on images and Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. To install this tools run: #aptitude install imagemagick gs-gpl
Install SWFToolsSWFTools s a collection of SWF manipulation and creation utilities written by Rainer Böhme and Matthias Kramm. It is released under the GPL. #aptitude install swftools If you get this message: "Couldn't find any package whose name or description matched "swftools" " please download swftools directly from web with running: #wget http://ftp.it.debian.org/debian/pool/main/s/swftools/swftools_0.8.1-1_i386.deb befor installing this ackage should install "libart-2.0-2 " so run: #aptitude install libart-2.0-2 and now install SWFTools: #dpkg -i swftools_0.8.1-1_i386.deb Install Java and Red5red5 is a Open Source Flash Server that OpenMeetings based on, so you should install it, and befor installing red5 should install Java Runtime Environment and Java development Kit run: #aptitude install sun-java5-bin #aptitude install sun-java5-demo # If aptitude gives you any error, please download all file with wget and then install #wget http://ftp.tr.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-demo_1.5.0-13-1_i386.deb #wget http://ftp.de.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-jdk_1.5.0-14-1etch1_i386.deb # wget http://ftp.de.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-bin_1.5.0-15-1_i386.deb #dpkg -i sun-java5-demo_1.5.0-13-1_i386.deb sun-java5-jdk_1.5.0-14-1etch1_i386.deb sun-java5-bin_1.5.0-15-1_i386.deb Now download red5 for Debian GNU/Linux and install it: #wget http://dl.fancycode.com/red5/0.6.3/debian/red5_0.6.3-1_all.deb #dpkg -i red5_0.6.3-1_all.deb openlazsloOpenLaszlo is an open source platform for the development and delivery of rich Internet applications. to installing it, run: #wget http://download.openlaszlo.org/4.0.6/openlaszlo-4.0.6-unix.tar.gz #tar -xvf openlaszlo-4.0.6-unix.tar.gz #mv lps-4.0.6/ /opt/ Note: there is no need to install OpenLaszlo if you only use the application but don't want to modify it. Note: you might would like to have a look at this shell script to start/stop/restart/status, if yes you can use this how-to. Installing OpenMeetingsHuraaa, making infrastructure is finished, now we are going to download latest OpenMeeting release and instaling it: #wget http://openmeetings.googlecode.com/files/openmeetings051.zip #unzip openmeetings051.zip To installing OpenMeetings you should tell OM where is your DataBase server and as I use MySQL as my Server, steps are like this: #cp openmeetings/conf/mysql_hibernate.cfg.xml openmeetings/conf/hibernate.cfg.xml Now edit file and config your database: #vim openmeetings/conf/hibernate.cfg.xml Now change :
<property name="connection.username"><DB_USER></property>
<property name="connection.password"><DB_PASSWORD></property>
<property name="connection.url">jdbc:mysql://<DB_HOST>/<DB_NAME></property>For example my config look likes:
<!-- User / Password -->
<property name="connection.username">root</property>
<property name="connection.password">dj76shwrsh16xsvak1</property>
<!-- Database Settings -->
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
<property name="connection.url">jdbc:mysql://localhost/openmeetings?useUnicode=true&createDatabaseIfNotExist=true&characterEncoding=utf-8</property>
Installing Must new Version?If you would like get must new version, I mean the version is under development, you should get a Snapshot from current source code, to do this follow this steps, if you don't like to have any thing more than OpenMeetings latest version or don't know what's snapshot, skip this step.
#aptitude install subversion Get (checkout) OpenMeetings latest snapshot: #svn checkout http://openmeetings.googlecode.com/svn/branches/dev/ I will rename dev to !OpenMeetingsFromSVN and then replace what updated in snapshot (from subversion) with what should be out of date in orginal openmeetings file downloaded from OpenMeetings and OpnLazslo: # mv dev/ OpenMeetingsFromSVN #cp -r OpenMeetingsFromSVN/laszlo/client/xmlcrm/videoconference/ /opt/lps-4.0.6/Server/lps-4.0.6/ Configure OpenMeetingsNow, first I update my language files: #cp OpenMeetingsFromSVN/xmlcrm/java/webapp/openmeetings/languages/* openmeetings/languages/. Ok, It's time to place my OpenMeting in red5 document root to serving: #cp -r openmeetings/ /usr/lib/red5/webapps/ Start every thingNow time to start every thing we installed, I will start OpenOffice.org at first and then OpenLazslo and will start red5 server: #xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore & #export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun #/opt/lps-4.0.6/Server/tomcat-5.0.24/bin/startup.sh #/etc/init.d/red5 start Instead of using a virtual frame buffer you may install and use a /etc/init.d/ooomeetings service. The last part of instalation is web based, with your web browser (Firefox, Opera, IE, ...) and servers IP address and port 5080 (default): http://$YOUR_IP:5080/openmeetings/Install For example: http://127.0.0.1:5080/openmeetings/Install after putting information in forms, OpenMeetings will initialize a DataBase (based on information that we gived to him) and now you can access OpenMeetings first page at: http://$YOUR_IP:8080/lps-4.0.6/videoconference/ For example: http://127.0.0.1:5080/openmeetings/ Congratulation, OpenMeetings is ready to use :) Touble ShootingIf you get any message about locales or fonts, you can use : #dpkg-reconfigure locales #aptitude install xfonts-base If you would like to change rtmp host, you can use: vim /opt/lps-4.0.6/Server/lps-4.0.6/videoconference/config.xml AuthorContributed by Roberto Torresani <erreti@gmail.com> Edited: Navid Abdi <navid@gnuiran.org> |
Sign in to add a comment
This was helpful. Thank you.
Very helpful, but I was installing in an ubuntu server I got some problems due to a wrong default character set in Mysql (It must be utf-8). I resolved the issue using
create database <db_name> default character set 'utf8';
for create the database.
Thanks to Sebastian for the help ;)
Integration
The "Configure xmlcrm" step: cp /root/dev/xmlcrm/java/outputjar/xmlcrm.jar /root/xmlcrm/WEB-INF/lib/xmlcrm.jar cp -r /root/dev/xmlcrm/java/webapp/xmlcrm/languages/ /root/xmlcrm/languages/ cp /root/dev/xmlcrm/java/webapp/xmlcrm/WEB-INF/web.xml /root/xmlcrm/WEB-INF/ cp /root/dev/xmlcrm/java/webapp/xmlcrm/WEB-INF/red5-web.xml /root/xmlcrm/WEB-INF/ cp -r /root/xmlcrm /usr/lib/red5/webapps/
Hi,
Thx for the tuto :)
Here is a unresolved dependency issue; you need to install "libungif4g libgif" in addition.
Steven
For those who have sun-java6 :
dpkg --extract red5_0.6.3-1_all.deb red5_0.6.3-1_all dpkg --control red5_0.6.3-1_all.deb red5_0.6.3-1_all/DEBIAN rm red5_0.6.3-1_all.deb vi red5_0.6.3-1_all/DEBIAN/control (and change sun-java5-bin to sun-java6-bin dpkg --build red5_0.6.3-1_all
and finally : dpkg -i red5_0.6.3-1_all.deb
I've been following this tutorial (extremely helpful!), but when I navigate to the install page (127.0.0.1:5080/openmeetings/Install) I get a 404 page not found error. Does anyone have any pointers on what might be going wrong? I'm using Debian Etch and encountered the same problem when trying to install on Windows in the past.
Same problem ... looks like red5 doesn't deploy the application ...
Matthieu, feeling a little foolish here: after a reboot, red5 found the application without any problems. Didn't seem to make any difference whether I put openmeetings in /usr/lib/red5/webapps/ or /usr/lib/red5/webapps/root (some people have found that it only seems to work inside the root folder on their machines). If you're still having problems, perhaps you should try restarting the red5 service or rebooting your machine.
Thanks for the tutorial very helpful. I installed Ubuntu 8.04 (the latest) a debian based linux.
Nevertheless, I got the same problem (Install not found). After rebooting the machine, I got an install page, but the step 1 page was empty.
I tried openmeetings, he asked for flashplayer. I got and install, and it began to load with autoconnect and the progress bar and then it sopped at 30% and says Net connection : call failed rtmpt://127.0.0.1:8088/openmeetings/hibernate
Then freezed !
Any idea ?
Thanks JFV
I had a similar problem which was caused by the fact that not all required services were running. In particular, I found the line in the tutorial
xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore
just hung and didn't work for me. For an alternative way to start the service, consult the converters installation tutorial for the command that worked in my case. After that, check it's running by entering: netstat -an | grep 8100. If your install hung part way through and you want to start from fresh, delete install.xml in openmeetings/conf/ before trying again. I also found that it's not really necessary to manually create a database before installation: the install routine is capable of doing this itself.
Hope that helps
Thnk you for your prompt answer,
xvfb ans openoffice runs (as stated by netstat -an | grep 8100 tcp 0 0 127.0.0.1:8100 0.0.0.0: LISTEN The install procedure stops after the step 1 (the page step is blank). The database was hand created using phpMyAdmin Tables have been created automaticaly (I dont know when) But still it stop after the step 3 with the message NetConnection?.Call.Net.Failed
Th log file is reall cryptic for me ! ERROR 08-13 16:06:12.098 ServiceInvoker?.java 1417580 242 org.red5.server.service.ServiceInvoker? btpool0-14? - Error executing call: Service: xmlcrm Method: getsessiondata Num Params: 0 ERROR 08-13 16:06:12.105 ServiceInvoker?.java 1417587 243 org.red5.server.service.ServiceInvoker? btpool0-14? - Service invocation error ... Caused by: java.lang.NullPointerException?
If any idea, Thank you
JFV
Following your remark concerning the database creation, I removed the openmeeting databas, and redo the install, effectively it is created, but no tables are created inside. Still an empty step1 page... and a freeze at step3
JFV
JFV,
I've managed to replicate your issue when using xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore to start the openoffice service. When checked, the process says it's running (netstat -an | grep 8100), but seems to be not in a usable state for openmeetings and I got the exact same issue. Try using this command to start the openoffice service instead: /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice?.ServiceManager?" -nologo -headless -nofirststartwizard Worked fine for me at least...
HD
Tried to install this on debian lenny, and the install directory was also missing.
btw, if one browses to: http://www.nanananana.com:5080/openmeetings/conf, one can look up your mysql username and password. And in this tutorial you use the root account.
(and no, havent fixed the install thing yet)
install thing fixed. Initially i had placed the openmeetings thing in the webapps/root folder, because it wasnt working otherwise. But i moved it back to the webapps folder and restarted red5.
I solved my problem with starting open office by also installing:
sudo apt-get install openoffice.org-headless
This presumably should be done at the same time as installing openoffice.org
I installed on Ubuntu and everything works except screen sharing. users get the following error. I tried upgrading sun java from 1.5 to 1.6, same error:
NLParseExceptionCould not parse launch file. Error at line 0.
java.io.EOFException: encoding.error.not.xml
Thanks GregHi
I installed thanks this article and it's very good one. When I start on my debian : xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore &
I've got this error : xvfb-run: error: xauth command not found
Someone has an idea ?
Thanks in advance ;
Aymeric
So, convertr installation solved my isue but when I go to Step 1 of installation, I've got blank page :-( Does someone experiences same thing ? Is there a solution because openmeetings seems to be excellent for my office !
Regards ;
Aymeric
fantastic job, the only problem i had with the installation was i was stuck on stupid with some of the packages but figure it out awesome application
Hi,
I´m getting a "NetConnection?.Call.Failed rtmpt://localhost:8088/openmeetings/hibernate" when browsing the installed site. Any ideas what´s going wrong?
My hibernate.cfg.xml is correct...
I hav some problem in the diffusion of a presentation some person in the conference don't see it
I'm seeing the same thing as several others here with the freezing of step 1 after the install page. Everything else seems correct. Any help here possibly? At least give me some idea where to look?
Just found an extremely easy way to get 52 up an running. Use the 51 VMware Image above, then issue this from the terminal:
Make the edits to your hibernate.cfg.xml file (username: openmeetings / pass: openmeetings)
then its all set!!
Forgot to mention... after you unzip openmeetings052.zip you need to copy it into place.
Helo everybody, I use openmeetings05.2 in a debian Etch, Everything works very good but the whiteboard doesn't display my presentation. someone can help to resolve this problem ?
When I want share a presentation, the application show a windows with this indication : The connexion with the server is lost ... And after the disappearance of this windows, nothing appears on the whiteboard.
Please help me to test all the functions of openmeetings052 on debian Etch
我在linux下也装了一个openmeetings.但是不能导入幻灯片之类的office文档,openoffice我装好了,也监听了8100端口。错误提示信息是说找不到ImageMagick?-6.2.7/convert文件,我感觉是安装时ImageMagick?和ghostscript路径填错了。能告诉怎么正确的填写吗。谢谢。 我的EMAIL:liu-23@163.com我会常来这个地方看回复。不过我还是希望知道的朋友,能Email告诉我,以便我最快的能解决问题。谢谢了。。。
I can't get the swftools installed - some conflicts with newer versions of the used librarys. Is there a stable version of swftools anywhere? I also can't get the tomcat startet, something about the JAV_HOME is not defined?? Isn't that the "export JAVA_HOME=/user..." Command?? there was no error when i used the command what's the problem?
Please update this wiki
we are getting many problems while installing ..
raghu
According to the installation guide, I've found something under the "Start every thing": "Instead of using a virtual frame buffer you may install and use a /etc/init.d/ooomeetings service."
What is this actually? I've download and put all files to the proper locations. But it doesn't work. 1. in the red5 file, I was forced to add user/group "video". and I still cannot make it work. 2. in /home/video/openmeetings/ I see: debian:/home/video/openmeetings# ls -al total 8 drwxr-xr-x 2 root root 4096 2009-05-06 13:03 . drwxr-xr-x 3 root root 4096 2009-05-06 13:46 .. lrwxrwxrwx 1 root root 30 2009-05-06 13:03 ooomeetings-daemon -> /home/video/ooomeetings-daemon lrwxrwxrwx 1 root root 23 2009-05-06 13:03 red5-daemon -> /home/video/red5-daemon
why? red5-daemon point to itself. also ooomeetings-daemon point to itself. when I try to start red5, I can only get the message: "Starting ooomeetings: sh: /home/video/openmeetings/ooomeetings-daemon: No such file or directory"
of course I cannot make openmeetings work.
Can you kindly let me know why?
By the way, I've tried to search the "ooomeetings" by google. I got nothing. I've also run the openmeetings from VMWareImageDebian051. and I also got nothing for ooomeetings.
Can anyone tell me why?
Sam
Hello Sam,
Please read the reply on the dev@ list. It seems you should unpack more files from the daemons.tar.gz to make things work.
Hi Alexei, Thanks for your kindly replying. I wish I did wrong. but actually when I unpack the file, all files I got is : etc/init.d/red5 etc/init.d/ooomeetings etc/default/red5 etc/default/ooomeetings home/video/openmeetings/red5-daemon home/video/openmeetings/ooomeetings-daemon
Is there anything I missed?
Hello Sam, Have you checked the author reply on the openmeetings-dev@googlegroups.com list? He knows these things better than me.
thanks! i've got a question - is it possible to increase "screenshare" quality?
> i've got a question - is it possible to increase "screenshare" quality?
you choose quality before starting screen sharing
Very good. But I need to now: where is admin console?
need to know
there is a new version of swftools at wget http://ftp.debian.org/debian/pool/main/s/swftools/swftools_0.8.1-2.1_i386.deb and libgif4 is a dependence for it
I followed the instructions as posted. Great tutorial. Worked with two small exceptions. Only noting because the docs are so great and I want them to be perfect.
The red5 package listed seems to have a broken /etc/default/red5 file. I needed to set the JAVA_HOME line and comment out the CLASSPATH to get red5 to start properly. The init.d script doesn't seem to properly report that it failed to start and led to a fair amount of time tracking down why port 5080 wasn't available.
The other part may not be a real problem, but it seemed I couldn't get this running as a amd64 install. Running via vserver, so reinstalling as i386 wasn't really a hard thing.
I have problem with invitation. When I send an Invitation with password authentification, it's doesn't work.
Thanks for the howto. I've installed openmeetings successfully on Ubuntu 8.04.2 LTS Server.
I have only an issue. I cannot create new user, everytime OpenMeetings? tell me wrong email.
Why ?
OK I will check my SMTP settings.
2°) I've installed OpenMeetings? inside a Virtual Machine, all seems to be OK but @ http://172.x.x.x/openmeetings/Install nothing appear, no error, just a blank page why ?
Step1 is empty
I've fixed _ my mistake
Hello i,m running the vmware 2056 image in a ESXi server. I want to know how can i upgrade this 2056 release to r2219.
thanks in advance...
I am running a Ubuntu server and while I had the original dist running I upgraded to r2227 and now I get the folowing error when I start red5 Starting red5: Unknown id: video What have I forgotten to do?
In the openoffice package step: #aptitude install xvfb openoffice.org There's a missing packages that enables the tool to run in headless mode: #aptitude install xvfb openoffice.org openoffice.org-headless And by adding this the following command should execute without errors: ##xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore &
I have problem with invitation. When I send an Invitation with password authentification, it's doesn't work.
how can I install OM manually? I'm getting a blank page in /openmeetings/Install?command=step2
I am getting:
in /openmeetings/Install?command=step2
If you have a blank page in step two, check your database. It needs to be utf-8 so that hibernate can insert the default values.
My default character set is UTF8 and I still can't get to step2. I checked netstat and it tells me, that my mySQL db is listening on port 3306 and my red5 Server is trying to connect to it. But the mysqld just seems to ignore it somehow...
any ideas?!
another application on the Server is writing into the DB without any problems...