0% found this document useful (0 votes)
75 views8 pages

Install Apache OpenMeetings On CentOS 6

This document provides step-by-step instructions to install Apache OpenMeetings on CentOS 6.5. It involves updating the system, modifying SELinux security settings, installing required packages like Java, MySQL, and tools used by OpenMeetings like LAME, swftools, ffmpeg. It also explains downloading and extracting OpenMeetings, configuring the MySQL database, and modifying configuration files. Finally, it describes starting the Red5 and HTTPD services to launch OpenMeetings.

Uploaded by

sopan sonar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views8 pages

Install Apache OpenMeetings On CentOS 6

This document provides step-by-step instructions to install Apache OpenMeetings on CentOS 6.5. It involves updating the system, modifying SELinux security settings, installing required packages like Java, MySQL, and tools used by OpenMeetings like LAME, swftools, ffmpeg. It also explains downloading and extracting OpenMeetings, configuring the MySQL database, and modifying configuration files. Finally, it describes starting the Red5 and HTTPD services to launch OpenMeetings.

Uploaded by

sopan sonar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Install Apache OpenMeetings On CentOS 6.

5
Installation
We;ll be using Centos 6.5 to setup OpenMeetings.
Update system:

# yum update
First of all modify Selinux Security level to permissive mode.

vi /etc/selinux/config
Set SELINUX value as Permissive.
SELINUX=Permissive

Start Installing required packages:


# yum install wget gcc-c++ unzip zlib-devel libjpeg-devel freetype-devel
giflib-devel ghostscript ImageMagick sox gedit wget

Make sure that LibreOffice is installed.


Configure MySQL Database for OpenMeetings
Create database password for root user:
# yum install mysql-server mysql
# service mysqld start
Create MySQL password for root:
# mysqladmin -u root password "password"
Create database database named ‘openmeetings’ and a database user ‘openmeetings’,
assign password to that user.
# mysql -u root -p
mysql> CREATE DATABASE openmeetings DEFAULT CHARACTER SET 'utf8';
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER 'openmeetings'@'localhost' IDENTIFIED BY 'openmeetings';
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON openmeetings.* TO 'openmeetings'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
Verify Java version installed:
# java -version

Now we need to install various add on tools required to configure openmeetings.


Install LAME
It is an open source tool used to compress audio to mp3 format.
# curl -L -O http://downloads.sourceforge.net/project/lame/lame/3.99/lame-
3.99.5.tar.gz
# tar -xvf lame-3.99.5.tar.gz
# cd lame-3.99.5
# ./configure --libdir=/usr/lib --bindir=/usr/bin
# make
# make install
Install swftools
Tool is required to support .swf file formats.
cd /opt

# wget http://www.swftools.org/swftools-2013-04-09-1007.tar.gz

# tar -xvf swftools-2013-04-09-1007.tar.gz

# cd swftools-2013-04-09-1007

# ./configure --libdir=/usr/lib --bindir=/usr/bin

# make

# make install
Install Jodconverter
A document converter which converts various office formats.
# /opt

# wget http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-
dist.zip

# unzip jodconverter-core-3.0-beta-4-dist.zip
Install ffmpeg
A tool used to convert and stream audio, videos.
# wget http://ffmpeg.org/releases/ffmpeg-1.1.1.tar.gz

# tar -xvf ffmpeg-1.1.1.tar.gz

# cd ffmpeg-1.1.1

# ./configure --libdir=/usr/lib --bindir=/usr/bin --enable-libmp3lame --


disable-yasm

# make

# make install
Download and configure JAVA MySQL Connector
A tool used to connect OpenMeetings with mysql.
# wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-
5.0.8.tar.gz
#tar -xvf mysql-connector-java-5.0.8.tar.gz

Finally install openmeetings:


# mkdir /openmeetings && cd /openmeetings
# wget http://ftp.cixug.es/apache/openmeetings/3.0.7/bin/apache-openmeetings-
3.0.7.zip
Unzip package:
# unzip apache-openmeetings-3.0.7.zip
Now copy .jar file from Mysql-connector folder
to /openmeetings/webapps/openmeetings/WEB-INF/lib.
# cd ~/mysql-connector-java-5.0.8
# cp mysql-connector-java-5.0.8-
bin.jar /openmeetings/webapps/openmeetings/WEB-INF/lib
Go to /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/ and
get backup of persistence.xml.
# cd /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/
# cp persistence.xml persistence.xml.backup_rku

Rename mysql_persistence.xml to persistence.xml:


# cp mysql_persistence.xml persistence.xml
Edit persistence.xml and provide username and password details
#nano persistence.xml
Sample Output:

<property name="openjpa.ConnectionDriverName"
value="org.apache.commons.dbcp2.BasicDataSource" />
<property name="openjpa.ConnectionProperties"
value="DriverClassName=com.mysql.jdbc.Driver
,
Url=jdbc:mysql://localhost:3306/openmeetings?autoReconnect=true&amp;useUnicode
=true&amp;createDatabaseIfNotExist=true&amp;cha$
, MaxActive=100
, MaxWait=10000
, TestOnBorrow=true
, poolPreparedStatements=true
, Username=openmeetings
, Password=openmeetigns" />
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema" />
<property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO" />
Ok, now you are very close to finalize Apache Openmeetings server configuration.
Navigate to /openmeetings folder and run red5.sh script:
# cd /openmeetings
# ./red5.sh
After script run is over do not close terminal and run apache service through new terminal.
# service httpd start
Open Browser and type <ip_addr>:5080, a welcome window will appear, proceed to next
screen.
Specify username of database (‘openmeetings’ in our example scenario) and click next.

Provide username, password which were defined in persistence.xml file, click next.
Leave this step as default and click next.

Leave default and click next.


Now Openmeetings installation will start automatically. after this step is over click next.
Click on enter the application link and proceed.

Provide username and password and login to Apache OpenMeetings.


Now you are ready to run this wonderful application.

Note: One important thing to note is that I got error while running red5.sh script with
updated Java version, but when I tried to configure this application with older version i.e.
1.7, it worked successfully.
Have Fun!

You might also like