It's been quite a while since I've used OM. I thought I'd check it out again...
Below is the script I used to install, it's my own script, I updated it after
reading the requirements http://openmeetings.apache.org/installation.html .
Everything seems to start fine when I run red5.sh. I'm not seeing any errors.
However, I can't access the install URL. Any ideas? BTW, this is on CentOS 7
64bit.
Here is an excerpt of OM saying it's started
[INFO] [Launcher:/openmeetings] org.red5.server.Server - Add mapping global:
default host: 127.0.0.1 context: openmeetings
DEBUG 09-26 21:23:00.307 ScopeApplicationAdapter.java 4461 125
org.apache.openmeetings.remote.red5.ScopeApplicationAdapter
[Launcher:/openmeetings] - webAppPath : /opt/om/webapps/openmeetings
WARN 09-26 21:23:02.703 ConfigurationDao.java 6857 123
org.apache.openmeetings.db.dao.basic.ConfigurationDao [Launcher:/openmeetings]
- Could not find key in configuration CONF_KEY: crypt_ClassName
DEBUG 09-26 21:23:02.739 EmoticonsManager.java 6893 62
org.apache.openmeetings.data.whiteboard.EmoticonsManager
[Launcher:/openmeetings] - ##### loadEmot completed
DEBUG 09-26 21:23:02.743 Version.java 6897 96
org.apache.openmeetings.util.Version [Launcher:/openmeetings] -
##################################################
# Openmeetings is up #
# 3.0.7-RELEASE 1704681 23-September-2015 #
# and ready to use #
##################################################
Here is how I installed OM
#/bin/bash
sed -i -e 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux
sed -i -e 's/SELINUX=permissive/SELINUX=disabled/g' /etc/sysconfig/selinux
service firewalld stop
chkconfig firewalld off
rm -rf /root/om
rm -rf /root/prereqs
rm -rf /opt/red5sip
rm -rf /opt/om
rm -rf /root/prereqs/ffmpeg_sources
mkdir /opt/red5sip | mkdir /opt/om | mkdir /root/om | mkdir /root/prereqs
mkdir /root/prereqs/jdk | mkdir /root/prereqs/red5sip | mkdir
/root/prereqs/ffmpeg_sources
yum install epel-release -y
yum update -y
yum install wget vim mysql-server mlocate ImageMagick ghostscript swftools
unzip ant svn sox ntp mysql-connector-odbc autoconf automake cmake
freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel
-y
cd /root/om
wget
http://apache.claz.org/openmeetings/3.0.7/bin/apache-openmeetings-3.0.7.tar.gz
cp -rf /root/om/apache-openmeetings-3.0.7.tar.gz /opt/om
cd /opt/om
tar -xf apache-openmeetings-3.0.7.tar.gz
rm -f apache-openmeetings-3.0.7.tar.gz
cd /root/prereqs
wget
https://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip
unzip jodconverter-core-3.0-beta-4-dist.zip
mkdir /usr/lib/jodconverter
cp -rf /root/prereqs/jodconverter-core-3.0-beta-4/* /usr/lib/jodconverter/
yum remove java* *openjdk -y
cd /root/prereqs/jdk
#wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com"
"http://download.oracle.com/otn-pub/java/jdk/7u17-b02/jdk-7u17-linux-x64.rpm"
wget --no-cookies --no-check-certificate --header "Cookie:
gpw_e24=http%3A%2F%2Fwww.oracle.com%2F;
oraclelicense=accept-securebackup-cookie"
"http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm"
mv -f /root/prereqs/jdk/* /root/prereqs/jdk/jdk8.rpm
yum remove jdk*
yum localinstall jdk8.rpm
cd /etc/alternatives
yum install libreoffice -y
rm -f /etc/alternatives/java
ln -s /usr/java/jdk1.8.0_60/bin/java java
export JAVA_HOME=/usr/java/latest
cd /root/prereqs/ffmpeg_sources
git clone --depth 1 git://github.com/yasm/yasm.git
cd yasm
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
make
make install
make distclean
cd /root/prereqs/ffmpeg_sources
git clone --depth 1 git://git.videolan.org/x264
cd x264
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static
make
make install
make distclean
cd /root/prereqs/ffmpeg_sources
hg clone https://bitbucket.org/multicoreware/x265
cd /root/prereqs/ffmpeg_sources/x265/build/linux
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build"
-DENABLE_SHARED:bool=off ../../source
make
make install
cd /root/prereqs/ffmpeg_sources
git clone --depth 1 git://git.code.sf.net/p/opencore-amr/fdk-aac
cd fdk-aac
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
make
make install
make distclean
cd /root/prereqs/ffmpeg_sources
curl -L -O
http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
tar xzvf lame-3.99.5.tar.gz
cd lame-3.99.5
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --disable-shared
--enable-nasm
make
make install
make distclean
cd /root/prereqs/ffmpeg_sources
curl -O http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz
tar xzvf libogg-1.3.2.tar.gz
cd libogg-1.3.2
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
make
make install
make distclean
cd /root/prereqs/ffmpeg_sources
curl -O http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.gz
tar xzvf libvorbis-1.3.4.tar.gz
cd libvorbis-1.3.4
LDFLAGS="-L$HOME/ffmeg_build/lib" CPPFLAGS="-I$HOME/ffmpeg_build/include"
./configure --prefix="$HOME/ffmpeg_build" --with-ogg="$HOME/ffmpeg_build"
--disable-shared
make
make install
make distclean
cd /root/prereqs/ffmpeg_sources
git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git
cd libvpx
./configure --prefix="$HOME/ffmpeg_build" --disable-examples
make
make install
make clean
cd /root/prereqs/ffmpeg_sources
git clone --depth 1 git://source.ffmpeg.org/ffmpeg
cd ffmpeg
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure
--prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin"
--pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265
make
make install
make distclean
hash -r
chkconfig ntp on
service ntpd start
updatedb
init 6
I also went back and ran the following commands, thinking that it needed a
little bit of configuring before it would work.
sed -i -e '87 c\<currentappname>MyConf\ Conferencing</currentappname>'
/opt/om/webapps/openmeetings/public/config.xml
sed -i -e '93
c\<currentappnameurl>http://myconf.cyient.com</currentappnameurl<http://myconf.cyient.com%3c/currentappnameurl>>'
/opt/om/webapps/openmeetings/public/config.xml
sed -i -e '99
c\<currentappnamebugurl>mailto:[email protected]</currentappnamebugurl<mailto:[email protected]%3c/currentappnamebugurl>>'
/opt/om/webapps/openmeetings/public/config.xml
sed -i -e '67 c\<red5httpport>80</red5httpport>'
/opt/om/webapps/openmeetings/public/config.xml
________________________________
DISCLAIMER:
This email may contain confidential information and is intended only for the
use of the specific individual(s) to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any unauthorized
use, dissemination or copying of this email or the information contained in it
or attached to it is strictly prohibited. If you received this message in
error, please immediately notify the sender at Cyient and delete the original
message.