vi /etc/selinux/config
selinux=disable

# epel repo
yum install -y epel-release

# rpmfusion repo
sudo yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm

# nux repo
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

# Adobe repo 64-bit x86_64 For Flash player
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

# JDK11. icedtea-web for can access to record and share desktop
yum install -y java-11-openjdk-devel icedtea-web wget

# 选择JDK版本
update-alternatives –config java

# OpenMeetings will need LibreOffice to convert to pdf the uploaded office files
yum -y install libreoffice libreoffice-headless

# Installation of Ghostscript, necessary packages and libraries
yum install -y ghostscript libjpeg libjpeg-devel freetype freetype-devel unzip gcc gcc-c++ ncurses ncurses-devel make zlib zlib-devel libtool bison bison-devel openssl-devel bzip2 bzip2-devel file-roller git autoconf automake pkgconfig tomcat-native nmap vlc

# ImageMagick, work the images files jpg, png, gif. Sox, work the sound
yum install -y ImageMagick sox giflib giflib-devel giflib-utils

# OpenMeetings even need Adobe Flash Player for cam and audio
yum install -y flash-plugin

# FFmpeg work with video
yum install -y glibc alsa-lib-devel faac faac-devel faad2 faad2-devel gsm gsm-devel imlib2 imlib2-devel lame-devel vorbis-tools theora-tools libvpx-devel vlc autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel curl

# Installation MariaDB data server
yum install -y mariadb-server
# 启动,设置
systemctl start mariadb.service
mysqladmin -u root password YOUR-password
mysql -u root -p
# create a user with all permission on this meetdb database. name of the database:meetdb; user for that database:meetuser; password of that user:meetuser
> CREATE DATABASE meetdb DEFAULT CHARACTER SET ‘utf8’;
> CREATE USER meetuser;
> GRANT ALL PRIVILEGES ON meetdb.* TO ‘meetuser’@’localhost’ IDENTIFIED BY ‘1a2B3c4D’ WITH GRANT OPTION;
> FLUSH PRIVILEGES;
> \q

# Installation of OpenMeetings
mkdir /opt/meeting
cd /opt/meeting
wget http://archive.apache.org/dist/openmeetings/4.0.10/bin/apache-openmeetings-4.0.10.tar.gz
tar xzvf apache-openmeetings-4.0.10.tar.gz
mv apache-openmeetings-4.0.10.tar.gz /opt

# Download and install the connector between OpenMeetings and MariaDB:
cd /opt
wget https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.48/mysql-connector-java-5.1.48.jar
cp /opt/mysql-connector-java-5.1.48.jar /opt/meeting/webapps/openmeetings/WEB-INF/lib

# Script to launch red5-OpenMeetings
cd /opt
wget https://cwiki.apache.org/confluence/download/attachments/27838216/red5-2
cp red5-2 /etc/init.d/
chmod +x /etc/init.d/red5-2
vi /etc/init.d/red5-2
RED5_HOME=/opt/red54010
…to
RED5_HOME=/your-path-installation

# Run red5-OpenMeetings
systemctl restart mariadb.service
/etc/init.d/red5-2 start

# go with your browser to:
http://localhost:5080/openmeetings

# 配置openmeetings
打开的网页,下一步,
第2页配置 Choose DB type to MySQL
mysql
localhost
3306
meetdb
meetuser
your-password
第3页,创建管理员用户
第4页,下一步,
第5页,配置IMAGEMAGICK,FFMPEG,SOX,LIBREOFFICE路径
ImageMagick Path == /usr/bin
FFMPEG Path == /usr/bin
FFMPEG Path == /usr/bin
OpenOffice/LibreOffice Path for
jodconverter == /usr/lib64/libreoffice
第6页,下一步,
第7页,Finish
# 重启应用
/etc/init.d/red5-2 restart
第8页,Enter the Application

# 防火墙开启如下端口
1935 5080

=========================
# 编译安装Ghostscript 9.27
cd /opt
wget https://cwiki.apache.org/confluence/download/attachments/27838216/ghostscript.sh
chmod +x ghostscript.sh
…and run it:
./ghostscript.sh
…when be finished will announce it: GhostScript compilation is Finished!
rm -Rf /opt/ghostscript-9.27

# 编译安装SOX
wget http://ftp.icm.edu.pl/packages/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
make && make install
cd /op

# 编译安装FFMPEG
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
cd /opt
wget https://cwiki.apache.org/confluence/download/attachments/27838216/ffmpeg_centos7.sh
…concede execution permission to it:
chmod +x ffmpeg_centos7.sh
…and run it (be connected to Internet). The compilation will spend about 30 minutes:
./ffmpeg_centos7.sh
All the compiled files will be installed in: /usr/local/bin