I’ve been trying to install Macromedia Adobe Flash Media Server 3 on my local development box and have run into some problems.
To help out anyone else trying to do the same thing, here’s how I did it.
First you need to install nspr
-
emerge -uDv dev-libs/nspr
Add a user/group for it to run under:
-
groupadd fms
-
useradd -g fms -d /dev/null -s /bin/bash fms
Then download and extract the media server as per usual. Before installing it, you need to fiddle the install script so that it will install on your “unsupported” platform. Open installFMS in your favourite text editor and find the line that reads
-
DISTRO=`check_distro`
Change it to something appropriate like
-
DISTRO=redhat-RHEL4-i686
Then start the installation script as normal. Tell it that you don’t want it to run as a daemon (as it requires the Red Hat only chkconfig command) and that you don’t want it to start the server when done.
After you’ve installed the server, you’ll need to make the bundled libasneu.so.1 library available for use:
-
ln -s /opt/fms/libasneu.so.1 /lib/libasneu.so.1
For some reason the install messed up the configuration files, adding things like the administrative user name twice. Check conf/fms.ini to make sure this hasn’t happened to you.
The installer creates init scripts at /etc/init.d but in order to use them you first need to create a file called .autostart in the installation directory:
-
touch .autostart
You should then be able to start and stop the server normally:
-
/etc/init.d/fms start
-
/etc/init.d/fms stop
And use rc-update to have the server start on boot:
-
rc-update add fms default
Good luck.
Popularity: 69% [?]