Knowledgebase

Portal Home > Knowledgebase > Articles Database > Securing and optimizing a streaming server


Securing and optimizing a streaming server




Posted by SecondSight, 12-18-2010, 10:44 AM
Hello ! I have a server which is used only for streaming videos. The html and swf needed to display the videos are located on another server. It was setup in 2007 and I'm trying to find what's installed on this server... I know it's working with : - Gentoo Base System version 1.6.14 - Flash Media Server 2 - I've found Apache 2 on it (which version exactly, I don't know yet...). It seems like there is no mysql and no php. For instance, here is what a ps aux returned : Everything is working fine on this server. But, can you tell me : - what I should do in order to secure the server (software to install, configuration,...), - if it's necessary to upgrade something, knowing that everything is working fine. Thank you !

Posted by Johnny Cache, 12-18-2010, 11:47 AM
The command 'which php' will point you towards verifying the path to PHP if it's installed. Some other examples follow. The command 'httpd -v' will display the version of Apache that's currently running on the server. As far as getting things secured, it would be wise to recompile your kernel, update Apache/PHP, and verify that you're running the latest revisions of daemons like BIND, mail transfer agents, FTP server, etc. Would also recommend changing your SSH port to something other than the standard 22, disabling root logins in your sshd_config, verifying that anonymous FTP is turned off, and maybe google for some documentation about /tmp directory hardening. That should get you started. Good luck. Last edited by Johnny Cache; 12-18-2010 at 11:52 AM.

Posted by SecondSight, 12-18-2010, 12:13 PM
Thank you for your help. I believe there is no php then since I get this : I didn't find php.ini since nothing's returned when I type : Here is what I get for mysql : And for httpd : But : and there are html files in some directories...

Posted by Johnny Cache, 12-18-2010, 12:19 PM
Sounds mostly like a vanilla setup to me. I would just start from scratch recompiling all the necessaries. If the box is from 2007 it could probably use a little overhaulin'.

Posted by SecondSight, 12-20-2010, 04:07 AM
Ok. I think this is a setup for streaming only. That's why it doesn't have php and mysql. I have one last question : I have another server which is a LAMP server which is used for little size web sites built with Wordpress. Is it possible to install something like RED5 (http://code.google.com/p/red5/) on it, in order to stream the videos, or do I need to use a different server for streaming ? Thank you !

Posted by CoderJosh, 12-20-2010, 06:34 AM
If this server hasn't been updated at all since 2007, you can expect quite some packages to be in desperate need of an update. So securing the server would start with making sure that everything is up to date. Regarding the optimization part, you'd have to check what the current bottleneck is. As it's a video streaming server, disk I/O and the network connection are likely candidates.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Error 500 - cPanel (Views: 565)


Language:

Contact us