0x00.简介
项目地址:https://github.com/muggot/openmcu.git
0x01.部署环境
宿主机环境为CentOS7-x86_64-Minimal2003
0x02.环境配置
1.防火墙的配置
在实验环境中可以选择直接禁用防火墙,但是在生产环境中根据实际的需求进行规则的配置。
关闭firewalld
在CentOS7上面防火墙是firewalld服务,停止并且禁止开机启动firewalld.service
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl status firewalld.service
关闭 selinux
setenforce 0
getenforce
sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/sysconfig/selinux
grep SELINUX=disabled /etc/sysconfig/selinux
2.依赖环境安装
网站:https://wiki.openmcu.ru/en/install/bin_linux
The ONLY SUPPORTED Linux version is on CentOS. Full installation instructions are available on the OpenMCU-ru Administrator Guide located at https://videoswitch.ru/forum/index.php?topic=1059.0
yum install -y libstdc++ freetype libjpeg-turbo wget
0x03.安装OpenMCU
官网地址:https://openmcu.ru/index.html
安装包地址:https://openmcu.ru/public/OpenMCU-ru/
安装说明:https://wiki.openmcu.ru/en/install/bin_linux
RPM包安装方法:https://www.cnblogs.com/stormlong/articles/11456497.html
wget https://openmcu.ru/public/OpenMCU-ru/4.1/openmcu-ru-4.1.6-1448.el6.x86_64.rpm
安装
rpm -ivh openmcu-ru-4.1.6-1448.el6.x86_64.rpm
0x04.运行OpenMCU
网站:https://wiki.openmcu.ru/en/install/bin_linux
Service control: service openmcu-ru (start|stop)
Service launch config: /etc/default/openmcu-ru
Service configs: /etc/openmcu-ru/*
Service runs as an unprivileged user ‘mcu’.
service openmcu-ru start
查看主机端口运行情况
netstat -lntp | grep openmcu
[root@host ~]# netstat -lntp | grep openmcu
tcp 0 0 0.0.0.0:1554 0.0.0.0:* LISTEN 4886/openmcu-ru
tcp 0 0 0.0.0.0:1720 0.0.0.0:* LISTEN 4886/openmcu-ru
tcp 0 0 0.0.0.0:1420 0.0.0.0:* LISTEN 4886/openmcu-ru
tcp 0 0 0.0.0.0:1423 0.0.0.0:* LISTEN 4886/openmcu-ru
[root@host ~]#
0x05.访问页面
Welcome
Status
Control
Records
Settings