OpenMeetings 安装
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 need!
[*]Install MySQL
[*]Install xvfb and OpenOffice.org
[*]Install ImageMagic & !Ghostscript
[*]Install SwfTools
[*]Install Java and red5
[*]Download openlazslo
[*]Install OpenMeetings
[*]Installing must new version?
[*]Configure OpenMeetings and place files
[*]tart every thing
[*]Troobleshooting
[*]uthor
What We Need
In this article I will useaptitudeto installpackages, if you don't have apptitude please install it before going forward :
$su#apt-get update#apt-get install aptitudeAfter aptitude we needDebian GNU/Linux,I use version 4.0 (code name Etch), befor installing any thing else Irecommend you to create a directory and manage every thing from there:
#su#mkdir /root/tmpOpenMeetings/#cd /root/tmpOpenMeetings/Install !MySQL
OpenMeetings can work with wide range of databases, I will install OpenMeetings withMySQL, toinstall !MySQL server:
aptitude install mysql-serverIt'sbetter to creat database with hand, if your mysql installation is freshas like what I executed, you can use this way to create new MySQLdatabase, I will use "openmeetings" as database name:
#mysql -u root> create database openmeetings>\qInstall xvfb and OpenOffice
If you would like exchange Presentation and Office documentation in OpenMeetings, you will nedd xvfb andOpenOffice.org
#aptitude install xvfb openoffice.orgThen edit Setup.xcu:
#vim /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcuYou 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 andGhostscript
ImageMagickis a software suite for image manipulation and display, supportingclose to 100 image formats. It is mainly used to perform varioustransformation and conversion operations on images and Ghostscriptis a suite of software based on an interpreter for Adobe Systems'PostScript and Portable Document Format (PDF) page descriptionlanguages.
To install this tools run: #aptitude install imagemagick gs-gpl
Install SWFTools
SWFToolss a collection of SWF manipulation and creation utilities written byRainer Böhme and Matthias Kramm. It is released under the GPL.
#aptitude install swftoolsIfyou get this message: "Couldn't find any package whose name ordescription matched "swftools" " please download swftools directly fromweb with running:
#wget http://ftp.it.debian.org/debian/pool/main/s/swftools/swftools_0.8.1-1_i386.debbefor installing this ackage should install "libart-2.0-2 " and "libungif4g" so run:
#aptitude install libart-2.0-2#aptitude install libungif4g and now install SWFTools:
#dpkg -i swftools_0.8.1-1_i386.debInstall Java and Red5
red5is a Open Source Flash Server that OpenMeetings based on, so you shouldinstall it, and befor installing red5 should install Java RuntimeEnvironment 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.debopenlazslo
OpenLaszlo 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 OpenMeetings
Huraaa, 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.zipToinstalling OpenMeetings you should tell OM where is your DataBaseserver and as I use MySQL as my Server, steps are like this:
#cp openmeetings/conf/mysql_hibernate.cfg.xml openmeetings/conf/hibernate.cfg.xmlNow edit file and config your database:
#vim openmeetings/conf/hibernate.cfg.xmlNow 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&amp;createDatabaseIfNotExist=true&amp;characterEncoding=utf-8</property>Installing Must new Version?
Ifyou would like get must new version, I mean the version is underdevelopment, you should get a Snapshot from current source code, to dothis follow this steps, if you don't like to have any thing more thanOpenMeetings latest version or don't know what's snapshot, skip thisstep.
[*]nstall Subversion if you don't have:
#aptitude install subversionGet (checkout) OpenMeetings latest snapshot:
#svn checkout http://openmeetings.googlecode.com/svn/branches/dev/Iwill rename dev to !OpenMeetingsFromSVN and then replace what updatedin snapshot (from subversion) with what should be out of date inorginal 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 OpenMeetings
Now, 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 thing
Nowtime to start every thing we installed, I will start OpenOffice.org atfirst 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 startThelast 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
afterputting information in forms, OpenMeetings will initial a DataBase(based on information that we gived to him) and now you can accessOpenMeetings 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 Shooting
If you get any message about locales or fonts, you can use :
#dpkg-reconfigure locales#aptitude install xfonts-baseIf you would like to change rtmp host, you can use:
vim /opt/lps-4.0.6/Server/lps-4.0.6/videoconference/config.xml Author
Contributed by Roberto Torresani <erreti@gmail.com>
Edited: Navid Abdi <navid@gnuiran.org>
页:
[1]