LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Thread Tools
Old 01-07-2009, 06:26 PM   #1
bo1990
LQ Newbie
 
Registered: Jan 2009
Posts: 1
Thanked: 0
Exclamation Streaming using Apache


[Log in to get rid of this advertisement]
Hi there everyone.

Now, I've been using apache on both Linux but primarily on Windows Server 03 and Ive got a couple of problems I'm hoping you could help me with.

Firstly Im trying to find a cheap, effecient video streamer and for the moment I've settled with embedding Windows Media Player via html into the webpage, while linux users will have trouble viewing it, it's not that much of a problem as I'm the only person in my department who uses linux and thats on a completely unrelated server.

Secondly, I have everything saved in the 'htdocs' folder, but that drive is getting very full very fast and there is a second drive which has around 250gb of free space, so I was wondering if it was possible to simply have the video files saved on the secondary disk but have them load like they were in htdocs, if that makes sense.

Failing that, how hard is it to just move the entire website/server/etc over to the larger disk? I've tried once before and crashed the site and had to restore everything, so I was wondering if there is an easier meth od I'm missing out on.

If you can help me it would be very much appreciated.
bo1990 is offline     Reply With Quote
Old 01-09-2009, 01:59 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: FC11 2.6.29.4-167.fc11.i686.PAE
Posts: 1,217
Thanked: 26
Quote:
Originally Posted by bo1990 View Post
Secondly, I have everything saved in the 'htdocs' folder, but that drive is getting very full very fast and there is a second drive which has around 250gb of free space, so I was wondering if it was possible to simply have the video files saved on the secondary disk but have them load like they were in htdocs, if that makes sense.
Well, you might try making symlinks.

I. e. you create a very small "file" on the disc in the htdocs folder that "points to" the actual file on the other 250gb open disc.

see

man ln

i. e. in your local /usr/local/apache2/htdocs folder do

ln -s /mnt/250gbdisc/file.wmv file.wmv

This will create a symlink called "file.wmv" in /usr/local/apache2/htdocs that actually "points to" /mnt/250gbdisc/file.wmv. Applications (like Apache) that access "file.wmv" should now hopefully be unable to distinguish where the "actual" file is located.
rylan76 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache sa a audio/video streaming server proNick Linux - Networking 2 07-17-2009 06:34 PM
tomcat+apache with large flash or streaming video. a1danel Linux - Server 1 12-16-2007 07:13 PM
Streaming movies not streaming... shame Suse/Novell 2 04-12-2007 08:16 AM
LXer: MPEG4/MP3 Streaming Engine for Apache LXer Syndicated Linux News 0 10-08-2006 11:54 PM
How to set up streaming server using APACHE? tp_sg Linux - Networking 3 03-17-2004 01:34 PM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration