Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-16-2005, 05:57 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15
Rep:
|
Which is the best set up for a fileserver in the network?
I am considering getting a new machine to add extra storage in my network. I need to keep files in there that will be served from web-servers running on two other machines on the same network.
The question is should I export these files with nfs to the web-servers or should I just run a web-server there as well, that will only serve the purpose of sending stuff to the other machines, but not hosting any web-pages?
web-server1 web-server2
|____________|
|
file-server
In the above set-up should I write:
<html>
.....
<img src="http://fileserver......./pics/img1.jpg">
.....
</html>
in all pages served from either of the web-servers and contain a file stored in the fileserver.
OR
should I mount the path where the files are stored in FILE-SERVER locally on each of the web-servers?
Does it make any difference if these files are actually stored in a RAID on FILE-SERVER?
Thanks a lot,
thanos
|
|
|
11-16-2005, 07:08 PM
|
#2
|
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Rep:
|
if you set NFS well, and with good ip-spoofing protection on the server, I would go for that option.
NFS is reliable and fast!
(at least in my experience)
Riddick
|
|
|
11-17-2005, 05:02 PM
|
#3
|
LQ Newbie
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15
Original Poster
Rep:
|
Thanks for the reply,
I have a couple more questions though...
- Are there any other alternative solutions to the problem that are worth having a look at?
- NFS would not present any unpleasant surprises when exporting stuff stored on a RAID. In particular RAID5 on a controller card.
- Why would I need to use IP spoofing?
Thanks a lot in advance,
Thanos
|
|
|
11-19-2005, 06:54 AM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15
Original Poster
Rep:
|
Hi,
Managed to find answers to my other questions...
Still, as stupid a question as it might sound, why would I need IP SPOOFING in this configuration?
Am I missing something important?
Thanks,
thanos
|
|
|
11-23-2005, 03:25 AM
|
#5
|
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Rep:
|
I suggested IP Spoofing protection, because of how NFS works.
NFS should only be used in an internal network, and you
should set it up only to allow connections from the server you
want. Just to make sure noone can access it from the outside
while pretending to have an IP from your internal network,
I suggested to turn on IP spoofing protection!
Riddick
|
|
|
All times are GMT -5. The time now is 02:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|