MonaServer的安装与集群

实验环境 centos7.4 关闭firewalld selinux
ip :192.168.0.222
安装需要的软件 yum install -y git gcc gcc-c++ openssl-devel > /dev/null
下载luajit git clone http://luajit.org/git/luajit-2.0.git
#git clone https://github.com/MonaSolutions/MonaServer.git

安装
#cd luagit-2.0/
#sed -i ‘s/#XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT/XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT/g’ src/Makefile
#make && make install
#mv /usr/local/share/applications /
#mv MonaServer/ /applications/
#cd /applications/MonaServer/
#vi MonaServer/MonaServer.ini 追加写入
; MonaServer.ini
socketBufferSize = 114688
[RTMFP]
port = 1985
keepAlivePeer = 10
keepAliveServer = 15
[logs]
name = log
directory = /usr/local/share/applications/MonaServer/MonaServer/logs
#ls MonaServer/www|greo live
live
live01

#make && make install -y >/dev/null
#./MonaServer & 后台启动monaserver

你可能感兴趣的:(MonaServer的安装与集群)