首页 > Linux Usage > install openmeetings on ubuntu12.04 server

install openmeetings on ubuntu12.04 server

2014-09-02 12:18 星期二    浏览: 1,081    绿 发表评论 阅读评论

用于备忘

reference:
1. http://openmeetings.apache.org/installation.html
2. http://openmeetings.apache.org/PortSettings.html
3.https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools
安装依赖库:
apt-get install imagemagick

apt-get install ghostscript(if not installed)

apt-get install python-software-properties
add-apt-repository ppa:guilhem-fr/swftools
apt-get update
apt-get install swftools

apt-get install jodconverter

apt-get install sox
安装编译环境,用于ffmpeg及第三方库的编译安装:
apt-get install build-essential nasm

下载最新ffmpeg代码及其最新mp3 and x264 coder:
sudo apt-get remove ffmpeg x264 libx264-dev(若已安装旧版本的话)
ffmpeg src download list: http://ffmpeg.zeranoe.com/builds/source/ffmpeg/
wget http://ffmpeg.zeranoe.com/builds/source/external_libraries/lame-3.99.5.tar.xz
wget http://ffmpeg.zeranoe.com/builds/source/external_libraries/x264-20140826-git-dd79a61.tar.xz
wget http://ffmpeg.zeranoe.com/builds/source/ffmpeg/ffmpeg-20140830-git-596636a.tar.xz
tar xf ffmpeg-20140830-git-596636a.tar.xz
tar xf lame-3.99.5.tar.xz
tar xf x264-20140826-git-dd79a61.tar.xz

编译并安装lame3:
cd lame-3.99.5/
./configure –enable-nasm
make
make install

安装yasm汇编器(默认安装版本太老,因编译x264需yasm 1.2.0以上版本)
apt-get install yasm(too old,don’t use it)
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
or
wget https://github.com/yasm/yasm/archive/v1.3.0.zip(don’t use it, no configure file)
cd yasm-1.3.0/
./configure
make
make install
cd x264-20140826-git-dd79a61/
./configure –enable-shared –enable-strip
make
make install

编译安装ffmpeg
./configure –enable-gpl –enable-nonfree –enable-pthreads –enable-libmp3lame –enable-libx264

因很多第三方库未安装,若使用下面的配置将提示libxxx未找到:
./configure –enable-gpl –enable-nonfree –enable-pthreads –enable-libmp3lame –enable-libtheora –enable-libx264 –enable-libxvid –enable-x11grab –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libopencore-amrnb –enable-version3 –enable-libvorbis –enable-libvpx –enable-libfaac

make
make install

下载并安装openmeetings:
镜像列表:http://www.apache.org/dyn/closer.cgi/openmeetings/3.0.2/bin/apache-openmeetings-3.0.2.tar.gz
wget http://mirrors.cnnic.cn/apache/openmeetings/3.0.2/bin/apache-openmeetings-3.0.2.tar.gz

下面的命令并不生效
./admin.sh -i -v -user admin -email billyang@redwolf-soft.com -tz “Asia/Shanghai” -l “zh_cn” -group “admingroup” –db-type mysql –db-host localhost –db-name db_xxx –db-user xxx –db-pass xxxxxx
编辑/etc/hosts和/etc/hostname,配置好hostname,否则在调用red5-debug.sh时会执行错误

下载mysql-connector并将其放置到webapps/openmeetings/WEB-INF/lib/下面:
wget http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.29/mysql-connector-java-5.1.29.jar

配置mysql用户名和密码:
cd openmeetings/WEB-INF/classes/META-INF
mv persistence.xml persistence.xml-ori
mv mysql_persistence.xml persistence.xm

http://127.0.0.1:5080/openmeetings/install

本文链接地址: http://blog.redwolf-soft.com/?p=2429

原创文章,版权©红狼博客所有, 转载随意,但请注明出处。

    分享到:

相关文章:

  • 无相关文章
  1. 本文目前尚无任何评论.
订阅评论
  欢迎参与讨论,请在这里发表您的看法、交流您的观点。