Flash Media Server
From Gemin-Wiki
| Table of contents |
Flash Media Server
A few of our projects use a Flash Media Server to stream video and perform other useful tasks. This page explains how to install the FMS on Debian's Stable branch.
Preperation
Library Packages
On debian you'll need some libs. Install them with:
apt-get install libstdc++2.10-glibc2.2 libnspr4
Kernel Version
You'll also need a 2.6 kernel, not the (currently) default 2.4 kernel. Upgrade the kernel with something like this (obviously, if you're not using a 686 processor you'll need a different image):
apt-get install kernel-image-2.6-686
Linking Libraries
Apparently we need to link the libs so that it can find them under the names it's looking for:
cd /usr/lib ln -s libcrypto.so.0.9.7 libcrypto.so.4 ln -s libssl.so.0.9.7 libssl.so.4
Installing
Now unzip the .tar.gz and run the install program, passing it a parameter to make it ignore the fact we're not on Red-Hat
./installFMS -platformWarnOnly
Here are the answers to the install questions that I used:
----------- Install Action Summary ----------- Installation directory = /usr/local/macromedia/fms FM Server Port = 1935 FM Admin Server Port = 1111 Administrative username = (suppressed) Administrative password = (suppressed) FMS owner = www-data FMS service user = www-data FMS service user group = www-data FMS run as daemon = Yes Start FMS = Yes
Update runlevel init scripts:
update-rc.d fms defaults
Admin
You will have created an admin user when you installed. To access the admin console you need to run a flash-app in a browser somewhere. Which flash app? Ahha, you may well ask. It's in fms2_console.html and fms2_console.swf but you'll need to copy theses 2 files from the install dir to a webroot somewhere to access it.
![[Main Page]](/wiki/stylesheets/images/wiki.png)