LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-18-2009, 03:38 PM   #1
mbonwick
LQ Newbie
 
Registered: Dec 2009
Posts: 22

Rep: Reputation: 0
Linux as a Home Server


Over the new year I hope to have a Pentium IV box becoming spare and I think it would be useful to use it as a home server.

Now, I'm a complete Linux n00b, I have ubuntu on a flash drive but barely use it. Ideally I'd like this server to be able to automatically syncronise a users files when they log on/off one of the Windows computers, as well as being a central backup store. Other than that, I might want to use it as a web server and/or media streamer - but that's quite a way off into the future.

Anyway, my questions are: Firstly, is what I want possible? If so,
What's the best distro to go for?
What packages will I need to install?
Are there any pitfalls I should be aware of?

Thanks,
Michael
 
Old 12-18-2009, 03:48 PM   #2
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
As far as the best distro: one that you are comfortable using, and is stable. If you are familiar enough with Ubuntu you can install one of the stable releases and disable the automatic updates to avoid anything breaking. To accomplish the automatic backing up of data rsync will probably be the easiest for you.
 
Old 12-18-2009, 03:54 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
If you like ubuntu, you can go for the server edition
http://www.ubuntu.com/products/whati.../serveredition
However, I would suggest debian stable.

@affinity
Quote:
nd disable the automatic updates to avoid anything breaking
This way you also disable the security updates, and that's not a good idea
 
Old 12-18-2009, 04:22 PM   #4
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
Quote:
Originally Posted by repo View Post
If you like ubuntu, you can go for the server edition
http://www.ubuntu.com/products/whati.../serveredition
However, I would suggest debian stable.

@affinity

This way you also disable the security updates, and that's not a good idea
That is true, though he can enable only updating security patches if that's a concern. I originally was going to recommend he use Debian stable as well, but I don't know what the learning curve on Debian is. I was already pretty familiar with Linux when I was trying out Debian so it seemed simple enough to me but I don't know if that's the case for someone who has almost no experience.
 
Old 12-18-2009, 08:10 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,471

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
as a server you will not want a gui anyways so pure debian or CentOS would be my suggestion for the distro. I personally use CentOS as my file server. im running an NFS server to host all of my media files to my house. i have 2 iMACs as workstations and the CentOS 5.x as my NFS file server. it is currently hosting roughly 1.5TB of data to the workstations.

It just works flawlessly.

Pure debian, WITHOUT the GUI, would work well too, but their NFS/SAMBA (you will be using samba not nfs as you are hosting to MS Windows workstations not *nix workstations) are not as mature as the RHE line are. thus my suggestion for CentOS over Debian or any other distro for that matter. maturity and stability are what you want in a server and it is hard to beet RedHats in the server world.

FYI to OP, CentOS is a pure fork of RedHat Enterprise servers. all the CentOS project has done is to remove all of the RH copy right logos, names, etc... and build from the source rmps from RH directly CentOS. their might be a few hours delay in updates, but never long enough to matter for a home server.
 
Old 12-19-2009, 07:23 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I've got a Pentium 4 machine doing exactly what you are aiming for. I goosed up the memory to 1GB and slapped a couple of cheap 250GB drives in the thing and it chugs merrily along on Slackware. The no-gui suggestion is a good one, and for that reason I think the suggestions about Debian or CentOS are good ones. I'd toss Slackware onto that pile as well if you don't mind a bit of a learning curve.

As far as pitfalls, if you're just using it as backup storage, any of the above distros should do out of the box. If you move to using it as a webserver, you're going to want to give so serious thought to some additional security measures.
 
Old 12-19-2009, 09:14 AM   #7
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
as a server you will not want a gui anyways so pure debian or CentOS would be my suggestion for the distro.
I dare slightly disagree on this one. First, every distribution is easily configurable to not start X automatically, so any distribution goes. Therefore, if one is familiar with something, I recommend using that. Second, if one is more or less a "beginner", diving into a command line only environment might be a bit too much work for a start..so "you will not want a gui anyways" is not true. Having X and a graphical desktop available is not a bad thing on a server (unless it has to be as stripped as possible, which seems not to be a requirement here). One may simply set the server not to start it automatically, but rather on command. That way it won't stress the server when it's not needed, but if needed, it can be started to get access to graphical configuration tools that are available on the major distributions. One other option is web based access of course, but even if that is used, I see no harm in having X and one of the graphical desktops available on a modern computer where (for a home use) disk space, processing speed and memory are well available. It's good to learn and know how to work with command line, but it's bad if it's the only option just because "that's the way it should be".

CentOS is probably a good choice, as is Ubuntu. Slackware might be a little more work, but fun to learn with. Good luck with it in any case!

Last edited by b0uncer; 12-19-2009 at 09:15 AM.
 
Old 12-19-2009, 11:01 AM   #8
mbonwick
LQ Newbie
 
Registered: Dec 2009
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks for all the tips guys.

I think I'd be better starting with a GUI until I get the hang of things. As has been said, processing speed and RAM aren't an issue (2.2GHz and 768MB - ran ubuntu off a flash drive VERY well)
 
Old 12-19-2009, 12:11 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Do not steer away from NFS just becuase you are using Windows. Windows has a app for using NFS and it works very well.

http://en.wikipedia.org/wiki/Microso...r_UNIX#SFU_3.5
 
Old 12-19-2009, 06:05 PM   #10
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,471

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
hmm LQ took away the qoute button, oh well Lazlow, thanks for the info on the NFS for MS. had no clue about that.
 
  


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
Home Linux server zdenisl Linux - Hardware 4 11-30-2005 11:52 PM
Home Linux Server Todd44 Linux - Newbie 4 03-21-2005 09:29 AM
More than one linux server needed at home? FiveFlat Linux - General 11 01-12-2004 05:37 PM


All times are GMT -5. The time now is 11:41 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration