Sunday, May 28, 2017

openmeeting installation


Install default-jre, default-jdk
Install libreoffice
install imagemagick

install sox

install swftools
extract tar file
./configure
make


install flashplugin-nonfree

*. open source list locate deb://http:...../ jessie main
replace with
deb : // http:..../ jessie main contrib non-free

apt-get update

install ffmpeg

install jodconverter (upload converter)

install mariadb-server

install openmeeting

mkdir /opt/red5
copy all unzip files(openmeeting.zip) to this folder

wget http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.38/mysql-connector-java-
5.1.38.jar
...and copy it to where must be:
cp /opt/mysql-connector-java-5.1.38.jar /opt/red5311/webapps/openmeetings/WEB-INF/lib
Now we are going to form OpenMeetings for our database in MariaDB:
gedit /opt/red5311/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml


---- Script to launch red5-OpenMeetings ----
Please, download the red5 run script:
cd /opt
(Only one line without space)
wget https://cwiki.apache.org/confluence/download/attachments/27838216/red5?
version=4&modificationDate=1458903758300&api=v2
...when the download is finished press Ctrl+c keyboard.
Rename the file unloaded to red5:
mv red5?version=4 red5
...and copy it to:
cp red5 /etc/init.d/
Give permission of execution:
chmod +x /etc/init.d/red5
Pag 10
11)
------- Run red5-OpenMeetings --------
Start MariaDB if still it is not:
/etc/init.d/mysql start
...and now start red5-OpenMeetings:
/etc/init.d/red5 start

...will appear two text lines in the shell:
start-stop-daemon: --start needs --exec or --startas
Try 'start-stop-daemon --help' for more information.
...you do nothing. Don ́t worry, everything work right.
Wait about 20 seconds minimum, in order that red5 it is runing completely, and later can go to:


/etc/init.d/mysql start
/etc/init.d/red5-ubded start

trouble shooting

/opt/red5311/red5.sh

Unrecognized VM option 'MaxPermSize-128m'
Could not create the Java virtual machine.

ERROR: Failed to launch Maven. Exit code = 1
remove openjdk

install jdk1.8 from oracle
copy folder into /opt/jdk1.8

update-alternatives –install /user/bin/java java /opt/jdk1.8/bin/java 100
update-alternative –config java
input number
java
java -v


update-alternatives –install /user/bin/javac javac /opt/jdk1.8/bin/javac 100
update-alternative –config javac

update-alternatives –install /user/bin/jar jar /opt/jdk1.8/bin/jar 100
update-alternative –config jar

# export JAVA_HOME=/opt/java/jdk1.8.0_45/       
# export JRE_HOME=/opt/java/jdk1.8.0._45/jre    
# export PATH=$PATH:/opt/java/jdk1.8.0_45/bin:/opt/java/jdk1.8.0_45/jre/bin
/etc/init.d/red5311 start

successful

swftools path : /usr/local/bin
imagemagick path : /usr/bin
ffmpeg path : /usr/local/bin
sox path : /usr/bin
openoffice/libreoffice path ofr jodconverter : /usr/lib/libreoffice
not /usr/lib/libreoffice/program


don't put mysql password with <>+- not connect with database. Openmeetins installation failed.





































No comments:

Post a Comment