logo资料库

OpenMeetings 5.0.0-M2在Ubuntu 18.04上的安装手册.pdf

第1页 / 共17页
第2页 / 共17页
第3页 / 共17页
第4页 / 共17页
第5页 / 共17页
第6页 / 共17页
第7页 / 共17页
第8页 / 共17页
资料共17页,剩余部分请下载后查看
Installation of Apache OpenMeetings 5.0.0 M2 on Ubuntu 18.04 lts The present tutorial is made based on a minimal fresh installations of bionic-desktop-amd64.iso My sincere thanks to Maxim Solodovnik for his help, without which i could not have finished this tutorial satisfactorily. It is made step by step. 16-7-2019 Starting... 1) First, we update and upgrade the OS: sudo apt update sudo apt upgrade 2) ------ Installation of OpenJava ------
Pag 1 OpenMeetings 5.0.0-M2 need Java 11 to work. So we install OpenJava 11: sudo apt install openjdk-11-jdk openjdk-11-jdk-headless nano Now, please, select OpenJava 11, if you have more than one java versions installed: sudo update-alternatives --config java To see the active java version: java -version 3) ------ Installation of LibreOffice ------ LibreOffice is need it to convert to pdf the uploaded office files. The ubuntu desktop iso have already LibreOffice installed. But we install it specially for server iso: sudo add-apt-repository ppa:libreoffice/ppa sudo apt update sudo apt install libreoffice 4) ------ Installation ImageMagick and Sox ------ ImageMagick, will work the image files, png, jpg, gif, etc. Will install it and some more libraries and paquets: sudo apt install -y imagemagick libjpeg62 zlib1g-dev We modify ImageMagick, so OpenMeetings can upload office files to whiteboard: sudo nano /etc/ImageMagick-6/policy.xml ...and comment the two follow lines, near to bottom file: ...to:
Pag 2 Press in the keyboard Ctrl+x, will ask to save, press Y, and press Enter to exit nano editor. This last must be repeated every time you update the ImageMagick. Sox, work the sound. We install it: sudo apt install sox 5) ------ Compilation of FFmpeg ------ FFmpeg will work the video. This compilation is based on: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu Install some paquets and libraries: (Only one line with space between each one) sudo apt -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texi2html zlib1g-dev nasm libx264-dev cmake mercurial libopus-dev curl git vlc unzip make build-essential wget nmap I made a script that will download, compile and install ffmpeg. The result of any recording we do in OpenMeetings will be in mp4 format. Please, download the script: cd /opt (Only one line without space between both) sudo wget https://cwiki.apache.org/confluence/download/attachments/27838216/ ffmpeg_UbunDebi.sh ...concede permission of execution: sudo chmod +x ffmpeg_UbunDebi.sh ...and run it (be connected to Internet). The compilation will spend about 20-30 minutes: sudo ./ffmpeg_UbunDebi.sh
Pag 3 When finish the compilation, a text will announce it: FFmpeg Compilation is Finished! ...then, please, go to next step. 6) ------ Installation and configuration of MariaDB data server ------ MariaDB is the data server. Will install it: sudo apt install mariadb-server Run MariaDB: sudo /etc/init.d/mysql start Now we give a root password to MariaDB. Please, replace new-password with your own: sudo mysqladmin -u root password new-password Make a database with his own user for OpenMeetings: sudo mysql -u root -p ...will ask for the root password that you have just choosen, type it... MariaDB [(none)]> CREATE DATABASE open502 DEFAULT CHARACTER SET 'utf8'; (Only one line with space between both) MariaDB [(none)]> GRANT ALL PRIVILEGES ON open502.* TO 'hola'@'localhost' IDENTIFIED BY '1a2B3c4D' WITH GRANT OPTION; * open502 ......is the database name. * hola ………is the user name for this database. * 1a2B3c4D ..is the password for this user. You can change the data...but remember it! Later we´ll need it. Now, we leave MariaDB: MariaDB [(none)]> quit
Pag 4 7) ------ Installation of Kurento Media Server ------ Kurento Media Server is needed for access to cam, mic-audio, recording and share dektop. We install keys and add the repo for kurento: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83 sudo nano /etc/apt/sources.list ...copy-paste the following line, at bottom file: deb [arch=amd64] http://ubuntu.openvidu.io/6.10.0 bionic kms6 Press in the keyboard Ctrl+x, will ask to save, press Y, and press Enter to exit nano editor. ...update: sudo apt update ...install kurento: sudo apt install --yes kurento-media-server ...and run it: sudo /etc/init.d/kurento-media-server start 8) ------ Installation of OpenMeetings ------ We´ll install OpenMeetings in /opt/open502. All the following information will be based on this directory: cd /opt ...download the tomcat-OpenMeetings file: (Only one line without space between both) sudo wget https://dist.apache.org/repos/dist/release/openmeetings/5.0.0-M2/bin/apache- openmeetings-5.0.0-M2.tar.gz
Pag 5 ...uncompress it: sudo tar xzvf apache-openmeetings-5.0.0-M2.tar.gz ...and rename the obtained folder: mv apache-openmeetings-5.0.0-M2 open502 We make some folders for the recordings we´ll make at the different OpenMeetings rooms: sudo mkdir -p /opt/open502/webapps/openmeetings/data/streams/{1,2,3,4,5,6,7,8,9,10,11,12,13,14} sudo mkdir -p /opt/open502/webapps/openmeetings/data/streams/hibernate ...restrict the access to these folders: sudo chmod -R 750 /opt/open502/webapps/openmeetings/data/streams ...and we do to “nobody” user ownner of OpenMeetings installation folder: sudo chown -R nobody /opt/open502 Download and install the connector between OpenMeetings and MariaDB: cd /opt (Only one line without space between both) sudo wget http://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.16/mysql-connector- java- 8.0.16.jar ...and copy it to where must be: sudo cp /opt/mysql-connector-java-8.0.16.jar /opt/open502/webapps/openmeetings/WEB-INF/lib 9) ------ Script to launch Tomcat-OpenMeetings ------ Please, download the tomcat run script: cd /opt
Pag 6 sudo wget https://cwiki.apache.org/confluence/download/attachments/27838216/tomcat3 ...copy it to: sudo cp tomcat3 /etc/init.d/ ...and concede permission of execution: sudo chmod +x /etc/init.d/tomcat3 10) ------ Run Tomcat-OpenMeetings ------ Start MariaDB, if still it is not: sudo /etc/init.d/mysql start ...and now start tomcat-OpenMeetings: sudo /etc/init.d/tomcat3 start ...wait 40 seconds at least, in order that tomcat runing completely. And after this, can go to: http s ://localhost: 5443/openmeetings ...there will appear a page similar to this one:
Pag 7 ...press on button (bottom), and will show the default database configuration with H2, but we employ MySQL (MariaDB), ...then, scroll and Choose DB type to MySQL: Now we must introduce the database name, user name and his password, we did at the step 6:
分享到:
收藏