You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "Chamberland, Martin" <Ma...@fadq.qc.ca> on 2017/11/07 20:32:42 UTC

installation 4.0 (SUCCESS)

Hi there,

Here the quick installaton i'v done with succes (sorry, there is no comments for now)

Debian 9.2 fresh install

Note : LDAP work perfectly with that 4.x installation.

*************************************************************
sudo apt-get update
sudo apt-get upgrade

sudo apt -y install openjdk-8-jdk openjdk-8-jdk-headless
sudo apt -y install icedtea-8-plugin
sudo update-alternatives --config java
java -version

RESULT:
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-1~deb9u1-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)

sudo apt-get -y install libreoffice

apt -y install imagemagick gdebi libgif7 libgif-dev synaptic zlib1g-dev unzip make

apt-get -y install build-essential
apt-get -y install build-essential libfreetype6-dev wget
cd /opt
wget http://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2.tar.gz
tar xzvf sox-14.4.2.tar.gz
cd /opt/sox-14.4.2
./configure
time make && make install

sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev
mkdir ~/ffmpeg_sources
apt install -y yasm libx264-dev libx265-dev libfdk-aac-dev libmp3lame-dev libopus-dev
cd ~/ffmpeg_sources
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libx264 --enable-nonfree --disable-x86asm
PATH="$HOME/bin:$PATH"
make
make install
hash -r
sudo cp -av /root/bin/ff* /usr/bin

ffmpeg -version

RESULT:
ffmpeg version N-88606-g15c6327 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libx264 --enable-nonfree --disable-x86asm
libavutil      56.  0.100 / 56.  0.100
libavcodec     58.  1.100 / 58.  1.100
libavformat    58.  2.100 / 58.  2.100
libavdevice    58.  0.100 / 58.  0.100
libavfilter     7.  0.101 /  7.  0.101
libswscale      5.  0.101 /  5.  0.101
libswresample   3.  0.101 /  3.  0.101
libpostproc    55.  0.100 / 55.  0.100

sudo apt -y install software-properties-common

apt -y install mysql-server
/etc/init.d/mysql start
mysql -u root -p
CREATE DATABASE open4 DEFAULT CHARACTER SET 'utf8';
GRANT ALL PRIVILEGES ON open4.* TO 'openuser4'@'localhost' IDENTIFIED BY '12345' WITH GRANT OPTION;
flush privileges;
quit;
apt install -y phpmyadmin

mkdir /opt/red54
cd /opt/red54
wget http://apache.miloslavbrada.cz/openmeetings/4.0.0/bin/apache-openmeetings-4.0.0.zip
unzip
cd /opt
chown -R nobody /opt/red54
rm /opt/red54/apache-openmeetings-4.0.0.zip

cd /opt
wget http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.42/mysql-connector-java-5.1.42.jar
cp -av /opt/mysql-connector-java-5.1.39.jar /opt/red54/webapps/openmeetings/WEB-INF/lib
nano -c /opt/red54/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml

Modify on line 71:
, Url=jdbc:mysql://localhost:3306/openmeetings?
...to
, Url=jdbc:mysql://localhost:3306/open4
...it is the name of the database that we did initially.
Modify on line 76:
, Username=root
...to
, Username=openuser4
...is the user that we did initially for the database.
Modify on line 77:
, Password=" />
...to
, Password=12345" />

chmod 640 /opt/red54/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml

cd /opt
wget https://cwiki.apache.org/confluence/download/attachments/27838216/red5-ubdeb2
cp -av red5-ubdeb2 /etc/init.d/
sudo chmod +x /etc/init.d/red5-ubdeb2
sudo nano /etc/init.d/red5-ubdeb2

Change la ligne [RED5_HOME=]
 /opt/red54
/etc/init.d/mysql start
/etc/init.d/red5-ubdeb2 start
ps aux | grep java

tailf /opt/red54/log/openmeetings.log

################################################################################
#                              Openmeetings is up                              #
#     4.0.0 23b20a3cfa3fa7a47003e56665597da5963aa631 2017-10-30T13:43:35Z      #
#                               and ready to use                               #
################################################################################

http://URL:5080/openmeetings/install

*************************************************************


Re: installation 4.0 (SUCCESS)

Posted by Maxim Solodovnik <so...@gmail.com>.
Great :)
One note: icetea is also required on client only


WBR, Maxim
(from mobile, sorry for the typos)

On Nov 8, 2017 04:08, "Chamberland, Martin" <Ma...@fadq.qc.ca>
wrote:

> Hi there,
>
>
>
> Here the quick installaton i’v done with succes (sorry, there is no
> comments for now)
>
>
>
> Debian 9.2 fresh install
>
>
>
> Note : LDAP work perfectly with that 4.x installation.
>
>
>
> *************************************************************
>
> sudo apt-get update
>
> sudo apt-get upgrade
>
>
>
> sudo apt -y install openjdk-8-jdk openjdk-8-jdk-headless
>
> sudo apt -y install icedtea-8-plugin
>
> sudo update-alternatives --config java
>
> java -version
>
>
>
> RESULT:
>
> openjdk version "1.8.0_141"
>
> OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-1~deb9u1-b15)
>
> OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)
>
>
>
> sudo apt-get -y install libreoffice
>
>
>
> apt -y install imagemagick gdebi libgif7 libgif-dev synaptic zlib1g-dev
> unzip make
>
>
>
> apt-get -y install build-essential
>
> apt-get -y install build-essential libfreetype6-dev wget
>
> cd /opt
>
> wget http://sourceforge.net/projects/sox/files/sox/14.4.2/
> sox-14.4.2.tar.gz
>
> tar xzvf sox-14.4.2.tar.gz
>
> cd /opt/sox-14.4.2
>
> ./configure
>
> time make && make install
>
>
>
> sudo apt-get update
>
> sudo apt-get -y install autoconf automake build-essential libass-dev
> libfreetype6-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev
> libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config
> texinfo wget zlib1g-dev
>
> mkdir ~/ffmpeg_sources
>
> apt install -y yasm libx264-dev libx265-dev libfdk-aac-dev libmp3lame-dev
> libopus-dev
>
> cd ~/ffmpeg_sources
>
> wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
>
> tar xjvf ffmpeg-snapshot.tar.bz2
>
> cd ffmpeg
>
> PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
>
> ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static"
> --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib"
> --bindir="$HOME/bin" --enable-gpl --enable-libfdk-aac --enable-libfreetype
> --enable-libmp3lame --enable-libopus --enable-libx264 --enable-nonfree
> --disable-x86asm
>
> PATH="$HOME/bin:$PATH"
>
> make
>
> make install
>
> hash -r
>
> sudo cp -av /root/bin/ff* /usr/bin
>
>
>
> ffmpeg -version
>
>
>
> RESULT:
>
> ffmpeg version N-88606-g15c6327 Copyright (c) 2000-2017 the FFmpeg
> developers
>
> built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
>
> configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
> --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib
> --bindir=/root/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype
> --enable-libmp3lame --enable-libopus --enable-libx264 --enable-nonfree
> --disable-x86asm
>
> libavutil      56.  0.100 / 56.  0.100
>
> libavcodec     58.  1.100 / 58.  1.100
>
> libavformat    58.  2.100 / 58.  2.100
>
> libavdevice    58.  0.100 / 58.  0.100
>
> libavfilter     7.  0.101 /  7.  0.101
>
> libswscale      5.  0.101 /  5.  0.101
>
> libswresample   3.  0.101 /  3.  0.101
>
> libpostproc    55.  0.100 / 55.  0.100
>
>
>
> sudo apt -y install software-properties-common
>
>
>
> apt -y install mysql-server
>
> /etc/init.d/mysql start
>
> mysql -u root -p
>
> CREATE DATABASE open4 DEFAULT CHARACTER SET 'utf8';
>
> GRANT ALL PRIVILEGES ON open4.* TO 'openuser4'@'localhost' IDENTIFIED BY
> '12345' WITH GRANT OPTION;
>
> flush privileges;
>
> quit;
>
> apt install -y phpmyadmin
>
>
>
> mkdir /opt/red54
>
> cd /opt/red54
>
> wget http://apache.miloslavbrada.cz/openmeetings/4.0.0/bin/
> apache-openmeetings-4.0.0.zip
>
> unzip
>
> cd /opt
>
> chown -R nobody /opt/red54
>
> rm /opt/red54/apache-openmeetings-4.0.0.zip
>
>
>
> cd /opt
>
> wget http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.
> 1.42/mysql-connector-java-5.1.42.jar
>
> cp -av /opt/mysql-connector-java-5.1.39.jar /opt/red54/webapps/
> openmeetings/WEB-INF/lib
>
> nano -c /opt/red54/webapps/openmeetings/WEB-INF/classes/
> META-INF/mysql_persistence.xml
>
>
>
> Modify on line 71:
>
> , Url=jdbc:mysql://localhost:3306/openmeetings?
>
> ...to
>
> , Url=jdbc:mysql://localhost:3306/open4
>
> ...it is the name of the database that we did initially.
>
> Modify on line 76:
>
> , Username=root
>
> ...to
>
> , Username=openuser4
>
> ...is the user that we did initially for the database.
>
> Modify on line 77:
>
> , Password=" />
>
> ...to
>
> , Password=12345" />
>
>
>
> chmod 640 /opt/red54/webapps/openmeetings/WEB-INF/classes/
> META-INF/mysql_persistence.xml
>
>
>
> cd /opt
>
> wget https://cwiki.apache.org/confluence/download/
> attachments/27838216/red5-ubdeb2
>
> cp -av red5-ubdeb2 /etc/init.d/
>
> sudo chmod +x /etc/init.d/red5-ubdeb2
>
> sudo nano /etc/init.d/red5-ubdeb2
>
>
>
> Change la ligne [RED5_HOME=]
>
>  /opt/red54
>
> /etc/init.d/mysql start
>
> /etc/init.d/red5-ubdeb2 start
>
> ps aux | grep java
>
>
>
> tailf /opt/red54/log/openmeetings.log
>
>
>
> ############################################################
> ####################
>
> #                              Openmeetings is
> up                              #
>
> #     4.0.0 23b20a3cfa3fa7a47003e56665597da5963aa631
> 2017-10-30T13:43:35Z      #
>
> #                               and ready to
> use                               #
>
> ############################################################
> ####################
>
>
>
> http://URL:5080/openmeetings/install
>
>
>
> *************************************************************
>
>
>