OpenMeetings 是一款免费、开源的网络视频会议系统,下面是在CentOS上安装 OpenMeetings 的手记。
首先确认以下系统服务正常运行:
apmd
auditd
autofs
avahi-daemon
bluetooth
cpuspeed
cups
firstboot
gpm
hidd
ip6tables
iptables
irqbalance
mcstrans
mdmonitor
microcode_ctl
netfs
nfslock
pcscd
portmap
restorecond
rpcidmapd
rpcsvcgssd
sendmail
smartd
xfs
yum-updatesd
更新系统软件
yum update
安装好 MySQL 数据库
MySQL配置文件 /etc/my.cnf ,增加中文支持
[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
character-set-server=utf8
collation-server=utf8_general_ci
init-connect='SET NAMES utf8'
[client]
default-character-set=utf8
重启MySQL服务
/etc/init.d/mysqld start
如果不能关闭防火墙,请开放以下端口
1935 (RTMP), 8088 (基于HTTP的RTMP), 5080 (HTTP), 4445 (桌面共享), 8443 (基于SSL的RTMP)
导入 rpmforge 安装源
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
修改启动配置文件 /etc/rc.local,增加一行
/usr/lib/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
如果是64位系统,则为
/usr/lib64/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
安装以下所有的软件包
yum install freetype freetype-devel fontconfig fontconfig-devel java-1.6.0-openjdk-devel libtiff libtiff-devel libjpeg-devel libjpeg giflib giflib-devel libpaper libpaper-devel xml-commons-apis libpng libpng-devel libxml2 libxml2-devel fftw3 fftw3-devel cairo cairo-devel flac flac-devel wavpack wavpack-devel libsndfile libsndfile-devel libmad libmad-devel yasm-devel yasm gcc gcc-c++
安装 OpenOffice 产品
yum install openoffice.org-base openoffice.org-headless openoffice.org-writer openoffice.org-impress openoffice.org-calc
yum groupinstall 'Office/Productivity'
yum install openoffice.org-headless
修改文件 /etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh"
安装中文字体支持
yum -y install fonts-chinese fonts-ISO8859-2-75dpi
安装 Ghostscript
yum install ghostscript
安装 Lame
yum install lame
安装 SWFTOOLS
yum install swftools
安装 ImageMagick
yum install ImageMagick
安装 FFmpeg
yum install ffmpeg
安装 SoX
yum install sox
准备 openmeetings 软件包
( 最新版本从Google 代码获得,目前为 v1.6.2 release 3675 )
cd /usr/src
wget http://openmeetings.googlecode.com/files/openmeetings_1_6_2_r3675.zip
unzip openmeetings_1_6_2_r3675.zip -d om
cd /usr/src/om/webapps/openmeetings/conf
cp mysql_hibernate.cfg.xml hibernate.cfg.xml
修改OpenMeetings 的配置文件 /usr/src/om/webapps/openmeetings/conf/hibernate.cfg.xml
输入数据库用户名、密码,其中 //localhost/openmeetings 是数据库地址和数据库名称 (可以先建好这个空数据库)
cd /usr/src/om
nohup ./red5.sh &
启动openoffice 服务
nohup /usr/lib/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
如果是64位系统,则为
nohup /usr/lib64/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
开始安装 OpenMeetings,输入下面的地址
http://www.域名.com:5080/openmeetings/install
Hi Jack,
I have installed and configured all of above, and now I can’t access http://www.yourdomain.com:5080/openmeetings/install this website, could you give me some help?
Thanks,
Ivan
Hi Jack,
I can access the website via port 5080, which module will open this port? I’ve successfully install everything, so I don’t know what should I do for now?
Sorry to bother you again.
Thanks,
Ivan
You will need to open port 5080 on the firewall.
After a long struggle i managed to install succesfully. I had to set mysql NOT to bind to any address (besides the informations to do exactly the opposite) and I had to chmod 777 all the openmeeting installation directories.
I still couldn´t set as a service to run in init.d, any idea?
Do you have any idea for optimization? My connection seems to close to often.
Thanks
Hey there how to get it running as a default service on centos as soon as i close the ssh window openmeetings stops working
use “nohup” so that OpenMeetings will continue to work after you close the ssh window.