linux centos6.4下搭建openmeetings2.1.1视频会议教程

参考博文:http://www.linuxidc.com/Linux/2013-07/87872.htm
openmeetings介绍见网站http://openmeetings.apache.org/,还有一些其它的限制

一. 先说下所需软件(安装时都是最新的):

1. centos6.4

2. openmeetings2.1.1

3. jdk-1.7.0_45-fcs.x86_64,OpenMeetings是基于Java的,需要SUN/Oracle JRE 6, not openJDK!下载网址:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

4. mysql-server-5.1.71-1.el6.x86_64,默认openmeetings集成的是Apache Derby database。但Derby现在已经不开源了,最好选用替代数据库例如mysql,更多信息见官方网站。 

5. ImageMagick-6.5.4.7-6.el6_2.x86_64, 是一个图象处理软件,它可以编辑、显示包括JPEG、TIFF、PNM、PNG、GIF和Photo CD在内的绝大多数当今最流行的图象格式。该软件可以将图片上传并显示到whiteboard。http://www.imagemagick.org

6. ghostscript-8.70-19.el6.x86_64,是阅读开放性文件格式(如pdf)的软件。pdf上传后要转化成swf才能显示到whiteboard。因此需要swftools。http://ghostscript.com/releases/

7. swftools-0.9.1-1.el5.rf.x86_64。http://www.swftools.org/download.html

8. jodconverter-core-3.0-beta-4-dist.zip, 导入.doc, .docx, .ppt, .pptx, ...时用来调用openoffice显示, 下载网址:https://code.google.com/p/jodconverter/downloads/detail?name=jodconverter-core-3.0-beta-4-dist.zip

9. openoffice_4.0.1, enabling import of .doc, .docx, .ppt, .pptx, ... all Office Documents into whitebaord。http://www.openoffice.org/download/other.html。如果linux没有安装桌面系统,openoffice安装无法成功。

10. ffmpeg-0.6.5-1.el5.rf.x86_64,是用于录制、转换和流化音频和视频的完整解决方案,包括libavcodec ,一套领先的音/视频编解码类库。协助openoffice提供会议录制功能。可以导入视频文件到whiteboard。http://www.ffmpeg.org

11. sox-14.2.0-6.el6.x86_64, 用于录制功能。http://sox.sourceforge.net, SoX 12.xx will NOT work!

二. 现在开始安装(在centos6.4上)

1. 安装RPMForge,如果不安装RPMForge上面有几个文件无法用yum安装(如果自己下载安装也可以不用RPMForge)。安装方法见http://www.cnblogs.com/js-html/p/3475862.html    

2. 安装jdk和设置环境变量,安装方法见http://www.cnblogs.com/js-html/p/3470203.html

3. yum安装。yum install mysql-server ImageMagick ghostscript swftools ffmpeg sox   (openoffice和jodconverter无法用yum安装)

4. 设置mysql密码。

# chkconfig mysqld on
# /etc/init.d/mysqld start
# /usr/bin/mysqldadmin -u openmeetings -p 123456

使用中文时,发现登录界面都是error,这里需要修改一下mysql配置文件/etc/my.cnf。官方网站mysql的配置中也强调mysql服务器端要使用utf8编码。http://openmeetings.apache.org/MySQLConfig.html
vi /etc/my.cnf
在相应的位置添加下面内容
[mysqld]
default-character-set=utf8
character-set-server=utf8
[client]
default-character-set=utf8

5. 安装openoffice

下载openoffice安装文件,http://www.openoffice.org/download/other.html。我安装的是64位中文版
# tar -zxvf Apache_OpenOffice_4.0.1_Linux_x86-64_install-rpm_zh-CN.tar.gz
cd进入解压后的文件夹中,找到rpm文件所在的文件夹,安装所有的rpm文件
# rpm -ivh openoffice*

6. 安装openmeetings

下载openmeetings文件apache-openmeetings-2.1.1.tar.gz。http://openmeetings.apache.org/downloads.html。apache-openmeetings-2.1.1.tar.gz

将openmeetings安装到/openmeetings(官方网站是安装到/red5下面了,所以官网的路径都是以red5开头的)
# mkdir /openmeetings
# tar -zxvf apache-openmeetings-2.1.1.tar.gz -C /openmeetings

7. 安装jodconverter

下载jodconverter文件jodconverter-core-3.0-beta-4-dist.zip在https://code.google.com/p/jodconverter/,解压到/openmeetings下面即可,#unzip jodconverter-core-3.0-beta-4-dist.zip。下面配置的是后要用到这个路径。

8. 相关配置

JConnector是JDBC(Java Database connectivity)驱动,文件mysql-connector-java-5.1.27.tar.gz从http://dev.mysql.com/downloads/connector/j/,安装到 /openmeetings/webapps/openmeetings/WEB-INF/lib。要解压,将jar文件放在lib文件夹下面。如果不放在该位置,http://localhost:5080/openmeetings/install完成配置的时候会出现这样的下面的错误。如果mysql有问题也会出现这个问题

Rename:/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml to /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml,直接cd到该目录下# cp mysql_persistence.xml persistence.xml,覆盖persistence.xml即可

在persistence.xml中添加数据库mysql信息
# vi persistence.xml
找到Url, Username, Password改成自己相应的,Username和Password是上面mysql设置中自己设置的,Url如果不是远程mysql就保持默认

三. 启动配置openmeetings

1. 启动openmeetings
# cd /openmeetings
# nohup ./red5.sh &   也可以选择# ./red5.sh命令

使用# ./red5.sh时,可以看到启动过程,中间会有Bootstrap complete和


信息,表示启动完成。然后在浏览器中输入http://localhost:5080/openmeetings/install完成配置。这两个信息在众多信息的中间,有时候不容易找到,还有启动的Terminal不能关闭。

使用# nohup ./red5.sh &命令时,过2分钟在浏览器中输入http://localhost:5080/openmeetings/install即可。(如果是在虚拟机中安装的,需要打开5080端口,或者关闭防火墙,查看虚拟机的ip,将localhost换成虚拟机的ip) 

2.配置openmeetings

在http://localhost:5080/openmeetings/install页面中出现Continus with STEP1,点进去,出现OpenMeetings-Installation页面。在这个页面中完成配置

SWFTools Path用命令来检测路径 #type pdf2swf ,出现/usr/bin/pdf2swf,只需要填/usr/bin就可以了
ImageMagick Path  #type convert 
FFMPEG Path  #type ffmpeg
Sox Path  #type sox
JOD Path  填写上面/jodconverter解压的路径(该路径一定要包含到lib文件夹下)如:/openmeetings/jodconverter-core-3.0-beta-4/lib
OpenOffice   自己安装的一般都在/opt下面。填写/opt/openoffice4
个人信息填写,其余的保持默认就可以了
然后点击Install,等待几分钟,转到登录界面。

到此安装配置完成。

上述配置信息也可以在openmeetings管理员账户登录后在管理-配置信息中修改。

posted on 2014-09-02 09:13  木没有  阅读(1067)  评论(0编辑  收藏  举报

导航