官方下载地址:http://download.macromedia.com/pub/flashmediaserver/updates/4_5_7/Linux_Release_x64/FlashMediaServer4.5_x64.tar.gz
这一版本为FMS4.5.7
根据官方文档说支持 centos和rhel 5.5_x64位。在centos6下也安装成功,会有个警告。可以加 ./installFMS -platformWarnOnly 参数忽略。
解压,安装。
[root@Master FMS_4_5_7_r6008]# ./installFMS
ERROR: A required package, libcap, was not found on your Linux x86_64 RedHat.
Please install required package and run Adobe Flash Media Server installer again.
[root@Master FMS_4_5_7_r6008]# yum install -y compat-libcap1 #提示缺少一个包
再次执行安装。会提示输入序列号,百度搜个,然后提示默认安装路径,是否安装apache等等信息,直接一路回车即可。
提示信息略过…
———– Install Action Summary ———–
Installation directory = /opt/adobe/fms #安装路径
Adobe Flash Media Server Port = 1935 #rtmp默认端口
Adobe Flash Media Admin Server Port = 1111 #fms管理端口
Interface (IP address) FMS will listen on = auto-detect #监听地址
Apache Install = Yes #安装自带的apache
Administrative username = admin #fms管理用户
Administrative password = (suppressed) #fms管理用户密码,这里不显示
service owner = fms
service user = fms #以fms用户运行
service group = fms #以fms组运行
Run as daemon = Yes #守护进程
Start Adobe Flash Media Server = Yes #开机启动
Proceed with the installation? (y/n/q): y
管理服务:
[root@Master ~]# service fms start|stop|restart
通过这一条命令可以管理fms、fmsAdministration、apache的运行状态。默认已经设置为开机启动
文档中指出更详细的执行方式:
go to the installation directory (default is
/opt/adobe/fms/). Use the command “./fmsmgr server fms start” to start Flash Media
Server and “./fmsmgr adminserver start” to start Flash Media Administration Server.
[root@Master ~]# /opt/adobe/fms/fmsmgr server fms start #FMS主服务
[root@Master ~]# /opt/adobe/fms/fmsmgr adminserver start #FMS管理服务
没看到有apache的独立管理命令。
ps看到启动参数为:
/opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start
原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/3383.html