Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
|
 |
12-15-2005, 08:16 AM
|
#1
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
File Server For Small Windows Network
A friend of mine works at a company that has a small lan of about 10 computers. One of the guys hard drive died and he lost all his data. He wants me to setup a file server for them so they can all store their important data up on the server.
Now obviously I'll be going with Samba on this since it's fairly simple. I'm leaning towards CentOS as the distro simply because it seems robust enough for this challenge.
So here is the first question: hardware. For a 10 person lan I'm sure a 200G hard drive will be plenty since they are storing only word/excel documents mostly. It is my understanding that Samba isn't very processor dependent so any half way decent processor should do. What I lack is a good backup strategy. On my personal server I simply do a hard drive to hard drive backup which has been fine especially since I've never had any type of failure. What type of backup strategy would you suggest in terms of both hardware and software? I think a RAID may be over doing it here but I could be wrong. Also, what type of anti virus would be good to use on this?
Secondly, it's been a while since I tweaked with Samba. Would the move be to simply cut and paste the clients My Documents up to the Samba shared drive and instruct them to save everything important to their My Documents? Also, wouldn't it be wise to have a seperate directory for each user on the Samba share?
Lastly, I'm wondering if anybody knows what to charge for this. Of course, the hardware will be at cost but I'm not sure what people charge for this type of labor.
Any suggestions/comments would be greatly appreciated.
Thanks in advance.
|
|
|
12-15-2005, 08:35 AM
|
#2
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
Gentoo would actually be quite okay for what you're after since you seem to have ran that - there's some excellent resources on the Genoo site about configuring samba and integrating ClamAV for automatic virus scanning of documents. That said, CentOS would also be a good choice too
With regards to mapping drives, since they're all Windows machines it would probably make sense to add users through Samba, and have them logging in across the domain. This way it's much easier to setup their My Documents to point to the Samba server, and also allows you to easily create + control group shares if you wanted to create shared areas. They can also then login to any computer on the network without needing a local account. Is always best to think about expandability for the future
Backups should easily taken care of with a decent tape drive. It can be a fiddly under Linux though. Maybe a simple RAID-1 setup would be okay without going for something more complicated so that in the event of a disk failure, at least there's a second disk to immeadiately fall back. You should have enough storage space with 20Gb/user at those levels.
|
|
|
12-15-2005, 08:40 AM
|
#3
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Original Poster
Rep:
|
Quote:
Originally Posted by fouldsy
With regards to mapping drives, since they're all Windows machines it would probably make sense to add users through Samba, and have them logging in across the domain. This way it's much easier to setup their My Documents to point to the Samba server, and also allows you to easily create + control group shares if you wanted to create shared areas. They can also then login to any computer on the network without needing a local account. Is always best to think about expandability for the future 
|
Thanks for your advice. I believe at this point they are not running on a domain. They are all on a windows workgroup. As for using Samba as a domain controller well I haven't the slightest idea how to do that but I will look into it as you raise a good point.
Thanks again.
|
|
|
12-15-2005, 08:52 AM
|
#4
|
Member
Registered: Aug 2003
Location: Ohio
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146
Rep:
|
Quote:
Originally Posted by Crashed_Again
As for using Samba as a domain controller well I haven't the slightest idea how to do that but I will look into it as you raise a good point.
|
If you are interested; the samba.org website gives good example configs and setup information. This should shine some light on the domain controller option.
http://www.samba.org/samba/docs/man/...samba-pdc.html
|
|
|
12-15-2005, 09:22 AM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Original Poster
Rep:
|
Quote:
Originally Posted by bullium
|
Thanks. I guess I have to find out if any of the client machines are running Windows XP home edition. If that is the case, the domain controller would go right out the window (pun intended) since I don't think they are interested in upgrading machines to professional.
|
|
|
12-15-2005, 09:38 AM
|
#6
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
If they are just using Win XP Home and you don't want the domain login functionality (and the associated upgrade costs!) you can still create a simple batch script and copy it to each machine that runs on each local login. Would still map across the correct home drives and group shares, though not quite sure how it would manage the permissions correctly. I'd guess you'd need local users + groups on the Samba machine still to control it, and then grab %username% from the Windows logon and set things up accordingly.
|
|
|
All times are GMT -5. The time now is 08:07 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
|
|