LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2008, 01:39 AM   #1
DietrichVC
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Advice on http access for storage


Sorry if this has been answered already, I've searched everywhere without finding anything specific to my question. New to Fedora 9 and Linux in general. I am looking for advice regarding my storage drives. I have a 40GB drive containing my Fedora partitions and have added 2 500GB drives for storage/backup, at least 1 of which I would like to make available via http for convenience, for access from any location. At this point I think I would like to leave the 2 drives as separate, instead of RAID.

What is the most sensible way to go about this, for security and simplicity?

Mount the file to /mnt/foldername and link to my webroot?

Mount the drives directly to my webroot? (I seem to recall errors when attempting to mount to webroot on my first install, but maybe unrelated).

Am I even on the right track or missing something fundamental?

Any help appreciated, thanks in advance.
 
Old 10-06-2008, 10:40 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
HTTP does not provide a lot of help for backup or mass storage oriented applications. Can you be more specific about how you want to use HTTP in this genre?
--- rod.
 
Old 10-07-2008, 01:00 AM   #3
DietrichVC
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I would like to:
1. Create a centralized storage/backup for my local network (including Windows machines), perhaps with Samba.
2. Make files available for download to family/friends via http. Also provide file access and streaming media service for when I am away from the local network, from machines/networks that do not necessarily have SSH/SFTP or other non standard ports availalble.

Looking into this a bit more perhaps the best option is to store the Files under a secondary user account in /home and sym-linking from the webroot. Am I correct in assuming that this provides additional security benefits over the above mentioned methods? I would think that any security breach would likely be limited to the user account and/or drive B in the following configuration (drive A= fedora partitions, B= Storage with http access, and C = manual redundant copy of drive B).

Thanks again

Last edited by DietrichVC; 10-07-2008 at 01:13 AM.
 
Old 10-07-2008, 09:00 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
It sounds like you are on the right track. If you have Linux accounts per user of the Samba mounted Windows host, you can have users share files via HTTP by storing them in the respective user's ~/public_html directory on the file/web server. That simplifies setup of the web server, and relieves users from having to use Linux logins to publish files.
Using Samba to provide shared mass storage is a standard configuration. It is up to you to decide how the storage is allocated based on your requirements. Most such installations I have seen provide some blend of user-specific storage (ie /home/user/...) and a common/shared access directory structure. My preference is to limit the use of links in a filesystem, as they can become a maintenance headache.
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Advice: RAID or software data storage? MicahCarrick Linux - Hardware 4 01-11-2008 05:18 PM
External Storage advice please (UK) bigjohn Linux - Hardware 1 05-23-2006 04:32 PM
video storage and access Davesworking Linux - Newbie 1 02-05-2006 04:27 AM
http protocol/programming advice... Scrag Programming 2 06-20-2004 10:00 PM
Disk Storage Advice Needed vdi_nenna Linux - Hardware 1 06-26-2003 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration