1、下载安装包FlashMediaServer4.tar.gz,将包解压tar -zxvf FlashMediaServer4.tar.gz
2、cd到解压目录运行:
./installFMS -platformWarnOnly
说明:-platformWarnOnly,忽略安装平台,因为有些系统会安装不了,所以这个一定要加上。
3、安装时如果报错:缺少libcap动态库(A required package, libcap, was not found on your Linux x86_64 Debian.);
获得动态库: apt-get install libcap-dev;
安装完后运行./installFMS ,如果还是找不到动态库 locate libcap
发现libcap.so.2在/lib/i386-linux-gnu/下,软连接ln -s /lib/i386-linux-gnu/libcap.so.2 /lib/
(在这里要注意,我的是32位系统,64位系统的该库应该会在/lib/x86_64-linux-gnu/下面)。
4、安装过程中要输入序列号:1462-5247-1705-7678-8379-5590
其他的使用默认就可,还有要输入管理员的名称和密码
(如果记录用户名和密码可以在安装目录的/conf/fms.ini中可以找到)
安装后reboot
5、
启动:
./fmsmgr server fms start
./fmsmgr adminserver start
停止:
./fmsmgr server fms stop
./fmsmgr adminserver stop
6、可以将sample的videoplaer的内容放到windows下测试服务器