OK:
This is to help any of you that are interested in Flash media server or flash communication server. I want to add a disclaimer now to let you know that my linode was my FIRST ever venture into the realm of Linux, so some things I will put in this tutorial may seem a bit obvious.
~~Info~~
From my testing of ALL the distros only one handles the Flash Media server 2 with little to no problems and that is the RedHat9 distro. If you do decided to go tweaking crazy on FMS2 on anything other than RedHat 9 you will Definitely need to install the, "libnspr4-4.1.2-1.i386.rpm" or you will get NOWHERE
Please note that Flash Communication server 1.5 will run on CentOS 4, Debian, and Fendora with relative ease.
I have been testing this server on a linode 80 account. This is fine for testing purposes, and can easily stream 5-10 concurrent connections. The streams will be smooth and flawless (depending if you encoded the video right of course) I had friends in New York, L.A., Indonesia, Singapore, Korea, Japan, and The Checz Republic test the fluidity of the streaming and it was all good. (thanks to a nice network)
If you are doing any real streaming of course then a 120 + account will be a minimum. I hope this helps you and if any one has any questions please feel free to ask me. Ohh and of course any corrections to the tutorial
~~RedHat 9 Install~~~~
1) Fixing Up2Date
Step 1
Start by editing
Code:
macros.specspo
in the
Code:
/etc/rpm/
directory by adding the following code to the 1st line of the file.
Code:
%__dbi_cdb create private cdb mpool mp_mmapsize=16Mb mp_size=1Mb
Step 2
Go to Redhat and download the current SSL certificate or your updates will go nowhere. Put the updated certificate
RHNS-CA-CERT into your
Code:
/usr/share/rhn
folder.
Step 3
Code:
up2date -u
4) Library fix
Code:
mv /lib/tls /lib/tls-disabled
5) Setting the host name
Code:
echo YOURHOSTNAME >/etc/hostname
/bin/hostname -F /etc/hostname
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warrning doing a (up2date -u) upgrade does break FMS and FCS. Please feel free to find out why I
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6) Setting up a user and group for Redhat for FCS OR FMS
You really don't want to run either FCS or FMS as a root user or as nobody. It's good practice to give them there own group
~Command for Flash Media Server 2
Code:
groupadd fms
useradd -g fms fms
~Command for Flash Communication Server 1.5
Code:
groupadd fcs
useradd -g fcs fcs
4) Installing FCS or FMS
FCS and FMS are only supported by RHEL, so it will bitch at you unless you ignore it. In the install directory add the following code
Code:
./installFMS -platformWarnOnly
Follow the onscreen directions and after installation you will be up and running. All you will have to do is to drop some videos in your applications folder and stream to your hearts content
~~~Flash Communication Server 1.5 random info~~~~~
This version of the server is buggy, and it is suggested that you set up a cron job to reset the server ever night
~~~Flash Media Server 2 random info~~~~~~
This version is still buggy, but so much faster than 1.5 For some reason the admin server wont start unless you have the server running first. some times it works, some times it doesn’t? So start the server first, then the admin server next
~~~Info for both flavors~~~~
If you wish to download the Flash communication server 1.5 from Macromedia you can go to this link as it is not listed on the site any more. This was a pain to find.
http://www.macromedia.com/cfusion/tdrc/index.cfm?product=flashcomThe script to start, stop and restart your server are as follows
Code:
To start the media server
./server (restart, stop, start)
To start the admin server
./adminserver (restart, stop, start)
Feel free to check out the video on my site and let me know what you think. It will help me do some more server testing and tweaking. Besides it deals with all kinds of extreme sports from around the world, so there is some cool stuff there to see. (Flash 8 player only)
Hope this helps, as it is my first tutorial here
Sincerely
Steve Reynolds
Owner/Producer
Expedition Sports Extreme
www.xsxtreme.com