![]() |
|
10.07.09 Developing Streaming Video Content Within The Cloud By
Dan Morrill
We are in the process of building out our own streaming video server at the school, and tinkered around with Darwin from Apple for a bit. While it ended up not being the product we are going to stick with because it needs a completely different link structure than http, and it is difficult to embed, actually you can't embed any videos on a web site we have gone past the software. In the mean time, installing Darwin is very simple on Amazon Web Services, so here is a quick how to do this. Since I am running from a windows box, you might need to follow the instructions here on how to connect to a Linux AMI using windows tools. If you are using strictly windows that is ok, and you can find those instructions here at Dave Winers blog by clicking here. Make a directory for where you want to drop all your video server software on the server you are working with. In this case we were very simple and used the word "video". ![]() Once you have the directory made, check the rights of that directory (upper right hand corner, RWXR-XR-X) is a good place to start. But some installation software might need RWXRWXRWX (777) when you run the installation script for the software. The next step is to copy over all your software. ![]()
Once the copy is done, you can then start working on the installation. Again we used Darwin, which can be downloaded from the Apple site for free. ![]() You will need to login to your AWS management console because you will need to open up your firewall for the specific ports that Darwin needs to run. This is really the only way to change the firewall settings on your server. While yes you can do it from the command line, you will also need to do this with your security groups in AWS. ![]() Darwin needs 1220 open, so we added this to our firewall settings. Because we didn't know where anyone would come from, we didn't restrict who could access the server. If you are going to stream videos to the world, you do not want to restrict the source IP's. Then you want to open Putty (or other terminal command line program, but I recommend putty) and do the install by running the install script. Once the installation is done, you should check to make sure that the service is running by doing a ps - ef |grep DarwinStreamingServer as shown below. Continue reading this article.
|
||||||||||||
-- DevWebProNL is an iEntry, Inc. publication -- iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 © 2009 iEntry Inc. All Rights Reserved Privacy Policy Legal
|