Latest Entries »

一、环境初始化
# 开启Ubuntu’s universe 更新源
sudo apt-add-repository universe
# 更新源最新的包版本信息
apt update
# 改主机名
sudo hostnamectl set-hostname meet.example.org
# 改主机名文件设置Fully Qualified Domain Name (FQDN)
vi /etc/hosts
127.0.0.1 localhost meet.example.org
# 测试主机名解析
ping “$(hostname)”
# 添加Jitsi 更新源
curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c ‘gpg –dearmor > /usr/share/keyrings/jitsi-keyring.gpg’
echo ‘deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/’ | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null
# 更新源最新包信息
sudo apt update
# 开通防火墙权限
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 4443/tcp
sudo ufw allow 10000/udp
sudo ufw allow 22/tcp
sudo ufw enable
# 检验防火墙策略是否生效
sudo ufw status verbose

二、安装、部署、优化、排错、附加组件
# 安装Jitsi Meet
sudo apt install jitsi-meet
# 免费证书自动续期,选装,非必须
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
# 修改内核参数
/etc/systemd/system.conf
DefaultLimitNOFILE=65000
DefaultLimitNPROC=65000
DefaultTasksMax=65000
# 检验内核参数是否生效
systemctl show –property DefaultLimitNPROC
systemctl show –property DefaultLimitNOFILE
systemctl show –property DefaultTasksMax
# 排错时,常用日志路径
/var/log/jitsi/jvb.log
/var/log/jitsi/jicofo.log
/var/log/prosody/prosody.log
# 附加功能安装sip-gateway,安装时将提示输入SIP的帐号密码
sudo apt install jigasi

======================
1、JITSI所用端口说明
80 TCP – for SSL certificate verification / renewal with Let’s Encrypt
443 TCP – for general access to Jitsi Meet
4443 TCP – for fallback network video/audio communications (when UDP is blocked for example)
10000 UDP – for general network video/audio communications
22 TCP – if you access you server using SSH (change the port accordingly if it’s not 22)

2、更换个性设置
Logos Change
/usr/share/jitsi-meet/images/watermark.png
Favicon Change
/usr/share/jitsi-meet/images/favicon.ico
Change welcome page content
/usr/share/jitsi-meet/libs/app.bundle.min.js

PS:
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-manual
https://gitlab.talview.com/meet/lib-jitsi-meet-v1/tree/59fc3642a6bc612ac0366d118718e942153b85c5
http://www.xmanong.com/project/12272

让xscreensaver随机自启

1、安装
sudo pacman -S xscreensaver

2、配置屏保
xscreensaver-demo

3、编辑启动文件
vi ~/.config/systemd/user/xscreensaver.service
[Unit]
Description=XScreenSaver
[Service]
ExecStart=/usr/bin/xscreensaver -nosplash
[Install]
WantedBy=default.target

4、加入自启动项
systemctl –user enable xscreensaver

#!/bin/bash
i=1

# 硬盘数量,除系统盘之外是12块
while [ $i -lt 13 ]
do
# 若不足2位数,则左侧补0
k=`printf “%02d” $i`
# ready for convert ascii value to char
u=$((97+$i))
# 系统盘是sda,%c格式化为单个字符
#j=`echo $i|awk ‘{printf “%c”,97+$i}’`
#j=echo $u|awk ‘{printf(“%c”,$1)}’
j=$(printf \\x`printf %x $u`)

# 每个物理硬盘整块分成一个区
parted -s /dev/sd$j mklabel gpt
parted /dev/sd$j mkpart primary ext4 0% 100%
# 格式化磁盘
mkfs.ext4 /dev/sd${j}1

# 建立挂载点目录
mkdir /mnt/disk${k}
# 导入挂载硬盘信息
mountfs=”/dev/sd${j}1 /mnt/disk${k} ext4 defaults 0 0″

# 写入分区表
echo $mountfs >>/etc/fstab

i=$(($i+1))
done
echo “It’s mounting all of the disk, wait a min, plz”
# 挂载fstab里所有的磁盘
mount -a
echo “SUCCESS, CONGRATULATIONS!”

#!/bin/bash
# 业务IP
IP=10.131.0.117
GW=10.131.0.251
# 心跳IP
HB=172.17.0.117
# 业务网卡
ETH1=eno1
ETH2=ens6f0
# 心跳网卡
ETH3=eno2
ETH4=ens6f1

modprobe –first-time bonding
#modprobe bonding

cd /etc/sysconfig/network-scripts/
mkdir bak
mv ifcfg-$ETH1 ifcfg-$ETH2 ifcfg-$ETH3 ifcfg-$ETH4 bak/

cat < /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
#NAME=bond0
TYPE=Bond
BONDING_MASTER=yes
IPADDR=$IP
PREFIX=24
GATEWAY=$GW
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=6 miimon=100"
NM_CONTROLLED="no"
USERCTL=no
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-bond1
DEVICE=bond1
#NAME=bond1
TYPE=Bond
BONDING_MASTER=yes
IPADDR=$HB
PREFIX=24
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=6 miimon=100"
NM_CONTROLLED="no"
USERCTL=no
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH1
DEVICE=$ETH1
#NAME=bond0-slave1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
NM_CONTROLLED="no"
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH2
DEVICE=$ETH2
#NAME=bond0-slave2
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
NM_CONTROLLED="no"
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH3
DEVICE=$ETH3
#NAME=bond1-slave1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
NM_CONTROLLED="no"
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH4
DEVICE=$ETH4
#NAME=bond1-slave2
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
NM_CONTROLLED="no"
EOF

systemctl restart network
echo $IP
ping -c 3 $GW

Dim x, y, time

Randomize

x = Int((30 – (-30) + 1) * Rnd + (-30))

y = Int((10 – (- 10 ) + 1) * Rnd + (- 10 ))

time = Int((200 – (- 1 ) + 1) * Rnd + (- 1 ))

IfColor 8, 754, “14100e”, 0 Then

MoveTo 200, 310

LeftClick 1

End If

IfColor 490, 490, “1400dc”, 0 Then

MoveTo 357 + x, 485 + y

LeftClick 1

Delay 1000 + time

End If

IfColor 1228, 89, “ff7a00”, 0 Then

MoveTo 1228 + y, 89 + y

LeftClick 1

End If

IfColor 720, 59, “ff7a00”, 0 Then

MoveTo 174 + x, 147 + y

LeftClick 1

Delay 3000 + time

MoveTo 330 + x, 633 + y

LeftClick 1

Delay 3000 + time

MoveTo 894 + x, 220 + y

LeftClick 1

Delay 3000 + time

End If

IfColor 404, 126, “2f3bff”, 0 Then

Delay 1000 + time

MoveTo 206 + x, 195 + y

LeftClick 1

Delay 2000 + time

MoveTo 96 + x, 312 + y

LeftClick 1

Delay 2000 + time

MoveTo 705 + x, 188 + y

LeftClick 1

Delay 2000 + time

IfColor 769, 615, “ff7a00”, 0 Then

MoveTo 265 + x, 615 + y

LeftClick 1

Else

MoveTo 639 + x, 615 + y

LeftClick 1

End If

Delay 2000 + time

MoveTo 639 + x, 241 + y

LeftClick 1

Delay 4000 + time

MoveTo 190 + x, 717 + y

LeftClick 1

Delay 2000 + time

LeftClick 1

End If

IfColor 750,714, “f4eeee”,0 then

MoveTo 640 + x, 714 + y

LeftClick 1

Delay 120 + time

End If

IfColor 1091,710,”fd7900″,0 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 4001

End If

IfColor 642,307,”6430ff”,2 Then

MoveTo 707 + x, 583 + y

LeftClick 1

Delay 2001 + time

MoveTo 745 + x, 713 + y

LeftClick 1

Delay 2012 + time

MoveTo 627 + x, 245 + y

LeftClick 1

Delay 2052 + time

MoveTo 512 + x, 414 + y

LeftClick 1

Delay 2031 + time

MoveTo 716 + x, 446 + y

LeftClick 1

Delay 6047 + time

MoveTo 716 + x, 537 + y

LeftClick 1

Delay 2013 + time

MoveTo 1092 + x, 714 + y

LeftClick 1

Delay 2087 + time

End If

IfColor 705,605,”f1decb”,0 Then

MoveTo 705 + x, 605 + y

LeftClick 1

Delay 102 + time

End If

IfColor 62,77,”301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 329,660,”301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 706, 500, “F1DECB”, 0 Then

MoveTo 706 + x, 500 + y

LeftClick 1

Delay 102 + time

End If

IfColor 738, 553, “F1DECB”, 0 Then

MoveTo 738 + x, 553 + y

LeftClick 1

Delay 1102 + time

MoveTo 722 + x, 711 + y

LeftClick 1

Delay 1202 + time

End If

IfColor 722, 459, “F1DECB”, 0 Then

MoveTo 722 + x, 459 + y

LeftClick 1

Delay 104 + time

End If

Delay 100 + time

==================
BY B站hoassi支持自动闪退重进,图标放第二行第一列

Dim x, y, time

Randomize

x = Int((30 – (-30) + 1) * Rnd + (-30))

y = Int((10 – (- 10 ) + 1) * Rnd + (- 10 ))

time = Int((200 – (- 1 ) + 1) * Rnd + (- 1 ))

IfColor 1200, 50, “ffffff”, 0 Then

MoveTo 200, 310

LeftClick 1

End If

IfColor 44, 71, “2A00E0”, 0 Then

MoveTo 357 + x, 485 + y

LeftClick 1

Delay 1000 + time

End If

IfColor 1228, 89, “ff7a00”, 0 Then

MoveTo 1228 + y, 89 + y

LeftClick 1

End If

IfColor 727, 66, “3C081A”, 0 Then

MoveTo 174 + x, 147 + y

LeftClick 1

Delay 3000 + time

MoveTo 935 + x, 365 + y

LeftClick 1

Delay 3000 + time

MoveTo 637 + x, 386 + y

LeftClick 1

Delay 3000 + time

End If

IfColor 404, 126, “2f3bff”, 0 Then

Delay 1000 + time

MoveTo 206 + x, 195 + y

LeftClick 1

Delay 2000 + time

MoveTo 96 + x, 312 + y

LeftClick 1

Delay 2000 + time

MoveTo 705 + x, 188 + y

LeftClick 1

Delay 2000 + time

IfColor 769, 615, “ff7a00″, 0 Then

MoveTo 265 + x, 615 + y

LeftClick 1

Else

MoveTo 639 + x, 615 + y

LeftClick 1

End If

Delay 2000 + time

MoveTo 639 + x, 241 + y

LeftClick 1

Delay 4000 + time

MoveTo 190 + x, 717 + y

LeftClick 1

Delay 2000 + time

LeftClick 1

End If

IfColor 1091,710,”fd7900″,0 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 4001

End If

IfColor 642,307,”6430ff”,2 Then

MoveTo 707 + x, 583 + y

LeftClick 1

Delay 2001 + time

MoveTo 745 + x, 713 + y

LeftClick 1

Delay 2012 + time

MoveTo 627 + x, 245 + y

LeftClick 1

Delay 2052 + time

MoveTo 512 + x, 414 + y

LeftClick 1

Delay 2031 + time

MoveTo 716 + x, 446 + y

LeftClick 1

Delay 6047 + time

MoveTo 716 + x, 537 + y

LeftClick 1

Delay 2013 + time

MoveTo 1092 + x, 714 + y

LeftClick 1

Delay 2087 + time

End If

IfColor 705,605,”f1decb”,0 Then

MoveTo 705 + x, 605 + y

LeftClick 1

Delay 102 + time

End If

IfColor 62,77,”301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 329,660,”301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 706, 500, “F1DECB”, 0 Then

MoveTo 706 + x, 500 + y

LeftClick 1

Delay 102 + time

End If

IfColor 738, 553, “F1DECB”, 0 Then

MoveTo 738 + x, 553 + y

LeftClick 1

Delay 1102 + time

MoveTo 722 + x, 711 + y

LeftClick 1

Delay 1202 + time

End If

IfColor 722, 459, “F1DECB”, 0 Then

MoveTo 722 + x, 459 + y

LeftClick 1

Delay 104 + time

End If

Delay 100 + time

=================
BY B站hoassi支持自动闪退重进,图标放在左边第一列第二行

Dim x, y, time

Randomize

x = Int((30 – (-30) + 1) * Rnd + (-30))

y = Int((10 – (- 10 ) + 1) * Rnd + (- 10 ))

time = Int((200 – (- 1 ) + 1) * Rnd + (- 1 ))

IfColor 1200, 50, “ffffff”, 0 Then

MoveTo 200, 180

LeftClick 1

End If

IfColor 226, 287, “7800eb”, 0 Then

MoveTo 357 + x, 485 + y

LeftClick 1

Delay 1000 + time

End If

IfColor 1228, 89, “ff7a00”, 0 Then

MoveTo 1228 + y, 89 + y

LeftClick 1

End If

IfColor 720, 59, “ff7a00”, 0 Then

Delay 2000 + time

MoveTo 174 + x, 147 + y

LeftClick 1

Delay 3000 + time

IfColor 331, 388, “ffffff”, 0 Then

MoveTo 1057 + x, 629 + y * 2

LeftClick 1

Delay 3000 + time

End If

End If

IfColor 723, 192, “fe7900”, 0 Then

IfColor 764, 192, “fefefe”, 0 Then

IfColor 678, 192, “fefefe”, 0 Then

MoveTo 809 + x, 365 + y * 5

LeftClick 1

Delay 3000 + time

End If

End If

End If

IfColor 404, 126, “2f3bff”, 0 Then

Delay 1000 + time

IfColor 206, 195, “ffffff”, 0 Then

MoveTo 206 + x, 195 + y

LeftClick 1

Delay 2000 + time

MoveTo 96 + x, 312 + y

LeftClick 1

Delay 3000 + time

MoveTo 747 + x, 186 + y

LeftClick 1

Delay 3000 + time

End If

IfColor 30, 615, “FFFFFF”, 0 Then

MoveTo 30 + x, 545 + y

LeftClick 1

Else

MoveTo 639 + x, 545 + y

LeftClick 1

End If

Delay 2000 + time

MoveTo 1111 + x, 717 + y

LeftClick 1

Delay 6000 + time

MoveTo 639 + x, 450 + y

LeftClick 1

Delay 2000 + time

MoveTo 156 + x, 717 + y

LeftClick 1

End If

IfColor 260,211,”2f3bff”,0 Then

Delay 2001 + time

IfColor 837, 208, “2f3bff”, 0 Then

MoveTo 803 + x, 255 + y*3

LeftClick 1

Delay 213 + time

MoveTo 803 + x, 407 + y*3

LeftClick 1

Delay 209 + time

MoveTo 803 + x, 559 + y*3

LeftClick 1

Delay 230 + time

End If

MoveTo 454 + x, 254 + y*3

LeftClick 1

Delay 231 + time

MoveTo 454 + x, 406 + y*3

LeftClick 1

Delay 210 + time

MoveTo 454 + x, 558 + y*3

LeftClick 1

Delay 224 + time

MoveTo 745 + x, 713 + y

LeftClick 1

Delay 2012 + time

MoveTo 627 + x, 245 + y

LeftClick 1

Delay 2052 + time

MoveTo 512 + x, 414 + y

LeftClick 1

Delay 2031 + time

MoveTo 716 + x, 446 + y

LeftClick 1

Delay 6047 + time

MoveTo 716 + x, 537 + y

LeftClick 1

Delay 2013 + time

MoveTo 1113 + x, 719 + y

LeftClick 1

Delay 2087 + time

End If

IfColor 1091,710,”fd7900″,0 Then

MoveTo 1107 + x * 4, 717 + y * 3

LeftClick 1

Delay 2001 + time

End If

IfColor 705,605,”f1decb”,0 Then

MoveTo 705 + x, 605 + y

LeftClick 1

Delay 102 + time

End If

IfColor 37,117,”472344″,2 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 102 + time

End If

IfColor 82,184,”472344″,2 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 110 + time

End If

IfColor 706, 500, “F1DECB”, 0 Then

MoveTo 706 + x, 500 + y

LeftClick 1

Delay 102 + time

End If

IfColor 710, 714, “f4eeee”, 0 Then

MoveTo 638 + x+ x, 717 + y

LeftClick 1

Delay 500 + time

End If

IfColor 738, 553, “F1DECB”, 0 Then

MoveTo 738 + x, 553 + y

LeftClick 1

Delay 1102 + time

MoveTo 722 + x, 711 + y

LeftClick 1

Delay 1202 + time

End If

IfColor 722, 459, “F1DECB”, 0 Then

MoveTo 722 + x, 459 + y

LeftClick 1

Delay 104 + time

End If

IfColor 93, 468, “fe7900”, 0 Then

IfColor 93, 604, “fe7900”, 0 Then

IfColor 183, 714, “fe7900”, 0 Then

MoveTo 183 + x, 714 + y

LeftClick 1

Delay 2000 + time

End If

End If

End If

IfColor 1149, 591, “ff7a00”, 0 Then

IfColor 586, 591, “ff7a00”, 0 Then

IfColor 1101, 591, “ffffff”, 0 Then

MoveTo 920 + x, 400 + y

LeftClick 1

Delay 2000 + time

End If

End If

End If

Delay 100 + time

=========================
BY B站hoassi,APP图标放第一行第一列

PES2020手游刷熟练度教练列表

管理值 阵型 姓名 国籍
750 4231 拉斯洛*伯勒尼 罗马尼亚
730 532 马里乌斯*舒穆迪卡 罗马尼亚
730 4222 艾库特*科贾曼 土耳其
720 4213 伯纳德*沙朗德 瑞士
720 433 卡莱*英厄布里格森 挪威
710 3223 贝尼亚特*圣何塞 西班牙
700 3232 安德烈*加斯帕尔 巴西
700 433 马克*布里斯 比利时
700 4231 埃罗尔*布卢特 土耳其
700 4321 肯特*涅尔森 丹麦
690 4222 金钟夫 韩国
690 4231 迪奥尼西奥*博松 阿根廷
690 4321 胡利奥*里瓦斯 乌拉圭
690 4312 罗伯托*文图拉托 意大利
690 5212 哈基姆*沙克尔 伊拉克
680 4222 热尔松*古斯芒 巴西
670 4321 贝恩德*霍勒巴赫 德国
670 4231 伊斯梅尔*卡塔尔 土耳其
660 4231 胡伦*皮纳塔尔 哥伦比亚
660 4231 阿德里安*洛伦索 哥伦比亚
650 433 克里斯蒂安*尼尔森 丹麦
640 433 彼得*瑟伦森 丹麦
600 3232 赫尔曼*科明 罗马尼亚
600 5221 素拉蓬I*空贴 泰国
590 4231 巴勇*坤南 泰国
580 3241 差萨克*西里普姆 泰国

先试更改用户所有者
takeown /f 111/ /r /a

再试授权
icacls 111/ /grant “administrators:(f)” /t /c

然后就可以完全删掉了。

Centos7安装openmeetings4

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