先上成果图
上代码,直接无脑复制粘贴
1.先换源
sudo gedit /etc/apt/sources.list
阿里源:
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
更新
sudo apt update
sudo apt upgrade
2.安装JAVA
sudo apt install openjdk-11-jdk openjdk-11-jdk-headless nano
sudo update-alternatives --config java
java -version
3.安装办公插件
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice
4.安装映像Magick和Sox
sudo apt install -y imagemagick libjpeg62 zlib1g-dev Sudo apt install-y imagemagick libjpeg62 zlib1g-dev
sudo nano /etc/ImageMagick-6/policy.xml
将
Pag 2
<policy domain="coder" rights="none" pattern="PS" /> < 政策领域 = " 编码者权利 = " none" 模式 = " ps"/>
<policy domain="coder" rights="none" pattern="PDF" />
改成
<!-- <policy domain="coder" rights="none" pattern="PS" /> -->
<!-- <policy domain="coder" rights="none" pattern="PDF" /> -->
sudo apt install sox
5.安装FFmpeg
sudo apt install ffmpeg vlc curl 安装 ffmpeg vlc curl
6.Maria DB数据库服务器的安装
sudo apt install mariadb-server
sudo /etc/init.d/mysql start
sudo mysqladmin -u root password 123
sudo mysql -u root -p
CREATE DATABASE open610 DEFAULT CHARACTER SET 'utf8';
GRANT ALL PRIVILEGES ON open610.* TO 'hola' @'localhost' IDENTIFIED BY '1a2B3c4D' WITH GRANT OPTION;
quit
open61 is the database name.
是数据库名。
hola is the user name for this database.
此数据库的用户名。
1a2B3c4D is the password for this user.
此用户的密码。
7.安装公开会议
cd /opt
sudo wget https://archive.apache.org/dist/openmeetings/6.1.0/bin/apache-openmeetings-6.1.0.tar.gz
sudo tar xzvf apache-openmeetings-6.1.0.tar.gz
sudo mv apache-openmeetings-6.1.0 open610
sudo chown -R nobody:nogroup /opt/open610
cd /opt
sudo wget https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.25/mysql-connector-java-8.0.25.jar
sudo cp /opt/mysql-connector-java-8.0.25.jar /opt/open610/webapps/openmeetings/WEB-INF/lib
8.启动Tomcat Open Meetin的脚本
sudo wget https://cwiki.apache.org/confluence/download/attachments/27838216/tomcat34
sudo cp tomcat34 /etc/init.d/
sudo chmod +x /etc/init.d/tomcat34
将CATALINA_HOME== /opt/open6改成
CATALINA_HOME==/your-path-installati
9.Installation of Docker
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo usermod -aG docker ${USER}
sudo systemctl start docker.service
10.Kurento媒体服务的安装
sudo systemctl start docker.service
sudo mkdir -p /opt/om_data
sudo docker run -d --name kms -p 8888:8888 --mount type=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
sudo docker start kms
11.运行Tomcat公开会议
sudo /etc/init.d/mysql start
sudo /etc/init.d/tomcat34 start
12.打开网页
https://localhost:5443/openmeetings
Specify the name of the database =open610
Specify DB use= hola
Specify DB password = 1a2B3c4D
Username = a-name …this user will be administrator.
Userpass = password …for the previous user.
Email = email-adress …of the previous user.
User Time Zone = country where is this server.
Name = example-openmeetings …group name to choose.
Mail-Refer == john@gmail.com
SMTP-Server == smtp.gmail.comSMTP-Server Port (default
Smtp-Server Port is 25) ==587 SMTP-Username == john@gmail.com
SMTP-Userpass == password ofjohn@gmail.com
Enable TLS in Mail Server Auth == …turn green the button to activate
Default Language == …select your language