LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-25-2006, 09:25 PM   #1
cdrom600
Member
 
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63

Rep: Reputation: 15
Home Server Setup - General Advice?


Hello (and happy holidays):

I am planning to set up a server on my home LAN. I need it to do a few things:
- Run DansGuardian (http://dansguardian.org/), probably with Tinyproxy (Squid might also be a possibility)
- Act as a Web server and MySQL server to be a local Web development sandbox
- Be a fileserver. It needs to be able to give access multiple users (authentication will be needed) on Windows XP machines around he house.
- Possibly also run SVN sometime in the future.
- Possibly rsync to a remote server for backups.
- Have SSH installed.

A Web interface for configuring some features would be nice, but is not a requirement.

The computer is a Pentium 3 with 384 MB of RAM. It will have a 6GB drive, a 4GB drive, and (possibly) later a 160GB drive (all IDE drives).

I have a few general questions:
- What distribution should I try? I looked around here and the two most recommended for this kind of setup are Debian and SLAX server edition. I'd also be open to using a BSD distro, although I'm more comfortable working with Linux.
I'd also consider running FreeNAS on it, as that would take care of the filesharing, etc. but I don't know if I would be able to run DansGuardian/Tinyproxy with FreeNAS. If it can do that, it would be a nice option.
- Is FreeNAS an option?
- What sort of partitioning setup would you recommend?
- Is there any sort of "easy configuration" tool available for Samba? I tried configuring it on a Debian system (with really old hardware) a while ago, and I never did get it to work completely. (Again, FreeNAS would take care of this).

I think that about covers it for now. I can always come back with any problems (after reading all the docs and Googling, of course).

I really appreciate any tips here. Thanks in advance!
 
Old 12-25-2006, 09:45 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
There are some custom distros that will combine a lot of that for you... Since you want a NAS with the other options..
Take a look at these..

Clarkconnect - http://www.clarkconnect.com/
NasLite+ - http://www.serverelements.com/
SME Server - http://contribs.org/


Alternately you can build you own using any distro and the various components..
 
Old 12-27-2006, 10:57 AM   #3
cdrom600
Member
 
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63

Original Poster
Rep: Reputation: 15
I think I'm going to try either Debian or Ubuntu Server. I've played around with Debian a little before, so we'll see how this goes.
 
Old 12-27-2006, 07:11 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Debian is my favorite as well.. you may want to take a look at howtoforge. they have some great recipies for various tasks, you may be able to combine a few of them and come up with exactly what you want..

http://www.howtoforge.com/taxonomy_menu/1/1/46
 
Old 12-27-2006, 07:11 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Deleted, double post
 
Old 12-28-2006, 10:39 AM   #6
cdrom600
Member
 
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63

Original Poster
Rep: Reputation: 15
My thinking right now is that I'm going to try just pure Debian, not even any Debian-derived distro (such as Ubuntu Server). I'm also considering trying to set up Debian as part of a dual-boot setup on my desktop computer.
Now, I've read about Debian Sarge and Debian Etch. I'm going to research this, but what is the difference between the two? Which would be best for a desktop and for a server?
EDIT: Never mind. Etch is the next release of Debian, currently in testing. I think I'll go with Sarge.

Last edited by cdrom600; 12-28-2006 at 10:54 AM.
 
Old 12-28-2006, 11:40 AM   #7
cdrom600
Member
 
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63

Original Poster
Rep: Reputation: 15
EDIT: Posted in Debian Forum: http://www.linuxquestions.org/questi...73#post2561573
---
All right. I have my Debian 3.1 network installation disc. When I put it in the computer and then press Enter to boot, the message:

"attempt to access beyond end of device
01:00:rw=0, want=1805081852, limit=10240"

flashes on the screen repeatedly for about a minute. It then says:

"EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in directory #168: rec_len is smaller than minimal - offset=0, inode=1869545680, rec_len=6, name_len=6
Kernel panic: no init found. Try passing init= option to kernel."

Last edited by cdrom600; 12-28-2006 at 12:14 PM.
 
Old 12-28-2006, 12:39 PM   #8
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Sarge for the server, Etch for the desktop.. Etch should be stable within a couple months and will be suitable for server use at that time.

Err.. that error doesn't look good.. did you run a checksum verification on the image to make sure it wasn't corrupt ? that's awful early in the install process for it to croak.
 
Old 12-28-2006, 06:15 PM   #9
cdrom600
Member
 
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63

Original Poster
Rep: Reputation: 15
I didn't run a checksum verification, but I used this same disc a month or so ago to install Debian on a different computer.
 
Old 12-28-2006, 06:55 PM   #10
Ha1f
Member
 
Registered: Jun 2005
Location: University of Maryland
Distribution: FreeBSD
Posts: 268

Rep: Reputation: 30
this might be a great opportunity to try out rpath linux.
 
Old 12-29-2006, 12:43 AM   #11
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I suggest Gentoo because you can customize it to your own liking and it always provides you example config to get you started. Setting it up for a server will take a few hours instead of a few days.

Samba is easy. In samba's config file, just change security to share and test your settings for each shared directory. Then set security back to users and add samba users. Next change the password for each samba user. Do the testings behind a firewall. Later use swat to tweak samba. I suggest using a second NIC for SAMBA and swat.

I recommend using ECC memory when setting up a server. Also upgrade your power supply if it is a few years old and costs $50 for a 300 watts. A 300 watt power supply should cost at least $100. To keep the electricity bills down and make the computer more reliable than just using ECC memory, I suggest a power supply with active power factor controlled and universal voltage (usually a range of 100 AC volts to 240 AC volts).

Read about security and different software to test your setup. Schedule rootkit scans and virus scans.

I suggest setting up a bunch of RAID-1 arrays. One for the OS, another for web, and third for data. Use either LVM2 or EVMS to expand data storage. EVMS is actually better than LVM2.
 
Old 12-30-2006, 11:10 AM   #12
cdrom600
Member
 
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63

Original Poster
Rep: Reputation: 15
The error I encountered with the Debian installation was not consistent; rebooting seemed to fix the problem. I'm not sure why.

Thanks for your advice on Samba configuration. As for all the hardware suggestions you made, thanks, but this is just going to be a small server for a home LAN with five (or so) users. It's going to run on an unused computer we have laying around.
 
Old 02-14-2007, 11:09 PM   #13
jstars
Member
 
Registered: Jun 2005
Location: Edmonton, Canada
Distribution: SuSE 10
Posts: 51

Rep: Reputation: 15
I really recommend clarkconnect. I built my own home server/gateway a few months ago for the exact same purposes as you and installed clarkconnect and never looked back. It is a distribution built specifically for headless servers. The community edition is free. It is administered completely by web interface on a client computer. You can also use ssh. There is no memory overhead of a desktop environment or x-window system.
 
  


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 Server Setup The Cello Fellow Linux - General 12 10-03-2006 02:43 PM
Cable Modem Home Server Setup the_fonz_e Linux - Networking 1 06-02-2006 04:17 PM
Small home server setup question mfilippa Debian 5 04-15-2006 09:11 PM
Newbie setup for home server MasterCephus Linux - Newbie 1 07-21-2004 09:36 AM
Advice for home LAN setup dkaplowitz Linux - Networking 7 08-09-2003 06:02 PM


All times are GMT -5. The time now is 01:38 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