Linux - GeneralThis 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.
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.
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.
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.
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. 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.