Back again to give some tips. I have lately been trying out Flash Media Server (Interactive ED) on behalf of my previous employer, they are going to add the FMS server to their live-server-farm and it has been my responsibility to implement the server and setup the software.
I started trying out RHEL and CentOs but after failing to get them to start and run properly in Xenserver6 i decided to try to install it on Debian instead, Adobe have in the later versions 4.5+ started allowing the software to run on other servers than RHEL and CentOS.
The server i am installing this machine in is an 2p (12core) server with 32gb ram running Xenserver 6.
Said and done i started by installing the Debian 6 64bit in xenserver, i gave it 4-vcpu, 8gb of ram, 2 1gbit networkcards and 40gb of hard drive (the server will be mounting the san-shares with all VOD files on later).
The Debian server only has the ssh server installed as standard. I manually installed the Xen-tools.
After reading about FMS and debian on various webpages i found out that FMS requires an lib thats called libnspr4. I ran the command below in order to get it installed.
apt-get install libnspr4-0d
I also read that the lib32stdc++6 should be installed in order to get the fmscheck tool to work properly. Yes FMS is now 64bit only but this tool remains 32bit for some reason. So the only thing to do is to install the lib and it dependencies. I ran the command below in order to get it installed.
apt-get install lib32stdc++6
Before installation i created an user and a group for the software to run as. The installation creates these for you if you want, but i like to have them in the system UID range instead of in the public UID range. To create the user and group i ran the following command
addgroup --system fms; adduser --system --group fms
Now we finally are ready to run the installation!
I downloaded the FMS package from adobe, the linux installer are inside the zipfile. Unpack it and exec the installFMS shell script.
tar -xzvf FlashMediaServer4.5_x64.tar.gz
The installation program is pretty straight forward, answer yes to the questions regarding path, user and group. Change the ports if you like, i use the standard ports for compatibility issues with some streaming software. And choose your own user and password, security is important!
You will be asked if you would like to install apache, let FMS do that for you. Its easier than trying to install it yourself, you can alter the config later on. I will cover it in a different post. You will also be asked if you would like to add the fms daemon, do that too.
After the installation is complete you have to change the run levels of the FMS binary. As default the installation skips runlevel 2 which is debians standard runlevel.
update-rc.d fms remove; update-rc.d fms defaults
If the installation asks you if you would like to start the server after installation, select no and reboot the machine first.
After the installation you can point your web browser to your domain oct ipadress, now you will se the console/demo page for FMS! Happy streaming.