Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a discussion on the functionality of a gentoo home server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Sun May 04, 2003 9:23 pm    Post subject: a discussion on the functionality of a gentoo home server Reply with quote

I have been thinking about the best approach to running a home server in the next 3 months. I will have the box in my sig below with about 160 more gigs of HD space added on, all of it used for Gentoo, and I will be building another box for personal use, and maintain the server. The server will be hooked up to DSL or cable in the house, haven't decided yet. I want to basically let the whole house access this server for their use and access. The basic things I want to do with it are listed below. I was hoping someone could give me some input on these things, and how well they would operate.

I know I'll probably need a router and a switch to run the hot line into to give service to the whole house. I guess I'll need to do some networking research to get this accomplished correctly. Here are the main tasks I want out of the server (at least the ones I need input on)

1. A local file sharing system - having the ability to share large amounts of files (MP3s, movies, etc.) to the whole house through a simple access system (preferably like in windows file sharing). Can this be done from a *nux box to windows using systems, or would be HAVE to FTP or SSH into the box to get our files? there will be about 4 users (including myself) hooked into the server, all of the other 3 guys will be using windows of some sort.

2. a dedicated FTP server

3. a web server

4. possibly a game of some sort dedicated (such as cstrike).

5. Some way to wire into the home stereo to play sound files over the system.

The main question of the last 3 topics on the list is pertaining to IF it is alright to run this many things at the same time?? I have 1024 megs of PC2700 DDR ram, so I think it will be ok, but Input on this matter would be great!! What do you all think?

Thanks for all of the great help and replies in the past, it is always appreciated, SORRY for length!!


Cheers,
Jared :D
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Sun May 04, 2003 9:37 pm    Post subject: Reply with quote

I run a server on a P-III 450MHz, 1024Mb PC100 ram and a 80GB HD...My services provided to my house is:

Samba
Apache+PHP+MySQL
NWN Dedicated Server
SSH Server
FTP Server

My computer has no problems whatsoever..been up for a month (compared to when I had windows on it...this is AWESOME!)...

so in answer to your main question: Your computer will be kinda bored with so little to do :wink:

Quote:

1. A local file sharing system - having the ability to share large amounts of files (MP3s, movies, etc.) to the whole house through a simple access system (preferably like in windows file sharing). Can this be done from a *nux box to windows using systems...?
Search the forums for Samba...that'll make your *nix box look like a windows box to Windows computers...complete with file and printer shares.

Quote:
2. a dedicated FTP server
There are lot of servers available for this purpose...I'm sure you can find one you like...again, search the forums.

Quote:
3. a web server
Apache would be your best bet here...emerge apache

Quote:
4. possibly a game of some sort dedicated (such as cstrike).
If there's a linux version of the dedicated server (like there is for NWN)...I'm sure it'll be installed with little or no probs.

Quote:
5. Some way to wire into the home stereo to play sound files over the system.
It's been done before, but I've no experience here. (this will be almost no load for your computer).
Back to top
View user's profile Send private message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Sun May 04, 2003 9:40 pm    Post subject: Reply with quote

very nice, that completely answered my question :) Samba looks very interesting, and I have been wondering a lot about it's usefulness! THanks a lot for the prompt reply!

Jared
Back to top
View user's profile Send private message
dliefbroer
n00b
n00b


Joined: 10 Feb 2003
Posts: 18

PostPosted: Sun May 04, 2003 9:41 pm    Post subject: I'll be nice Reply with quote

Now this is a question that asks for answers like RTFM and UTFS.

I'll be nice this time and start you out:

1. SAMBA, that would be emerge SAMBA. I believe instructions can be found in the Desktop Guide for Gentoo.

2. Just pick your new to become favorite FTP server software. I use pureftp, but that's because of easy bandwidth throttling and virtual users. Just pick one, but what would you use it for?? Would it be outside use. Then be sure to firewall the machine correctly and make sure you don't get caught :P

3. Well that would be apache, emerge apache than try flushing some .html files in /home/httpd and wow it's a website.

4. Well there are cstrike, quake and unreal dedicated servers for linux, but currently they're all masked (don't know why). Search this forum to find out.

5. Install your sound-card (again desktop-guide), than use a 3.5 mm (mini-) plug to whatever goes into the back of your stereo, and use simple software to play music. Learn a webscripting language, create some sort of playlist with it and play that list with mpg123. There's plenty of stories on that stuff.

Once again google is your friend
_________________
LINUX - Because rebooting is for adding new hardware
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sun May 04, 2003 9:41 pm    Post subject: Re: a discussion on the functionality of a gentoo home serve Reply with quote

stillspiraling wrote:

1. A local file sharing system - having the ability to share large amounts of files (MP3s, movies, etc.) to the whole house through a simple access system (preferably like in windows file sharing). Can this be done from a *nux box to windows using systems, or would be HAVE to FTP or SSH into the box to get our files? there will be about 4 users (including myself) hooked into the server, all of the other 3 guys will be using windows of some sort.

2. a dedicated FTP server

3. a web server

4. possibly a game of some sort dedicated (such as cstrike).

5. Some way to wire into the home stereo to play sound files over the system.


This is just based on my experiences, but it works pretty well for me.

1. Samba. It's pretty easy to setup, especially if you use something like webmin or SWAT. Any Windows users should be able to access any files on your file server once that's setup. Make NFS shares for yourself.

2. Not sure if you're looking for program recommendations. If you're not planning on having an FTP server that a bunch of people are going to access (i.e. if it's just you and the three others), just make a couple of directories or a virtual server under apache (protected by IPs or passwords or something). Otherwise, I dunno.

As far as 3 - 5, a gig of memory on a DSL/cable line would be more than enough as long as you keep it relatively small. Don't expect to be able to run a medium traffic website and host a large scale CS game on it without sacraficing some home use. The main limiting factor will probably be your bandwidth (I ran a Kaillera server on a really decent cable line and it was slow as all get out for pretty much everyone).

Speaking to 5 in particular, I run MythTV's MythMusic module on a dedicated PC to pipe music through my whole house. It uses next to nothing as far as system resources/memory goes (I'm even able to emerge just about anything without it skipping), so I imagine the same would hold true if it had to share resources with some other services. Just some thoughts.
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Sun May 04, 2003 9:44 pm    Post subject: Reply with quote

oh and a firewall would be useful for ya too (highly recommended if you're running a server other's can get to). check around for either iptables and/or shorewall.
Back to top
View user's profile Send private message
frippz
Guru
Guru


Joined: 22 Aug 2002
Posts: 460
Location: Sweden

PostPosted: Sun May 04, 2003 11:30 pm    Post subject: Reply with quote

I'd like to put in a good word for Pure-FTPd as well.
It's really easy to configure and almost ready to run out of the box.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon May 05, 2003 2:06 am    Post subject: Reply with quote

uh, are yoou gonna be using the server as a router as well? Make sure to use a good firewall setup. I personally just use a linksys NAT router, though. It handles my DSL nicely.

Btw, my server:
P-200-64mb
It's running FreeBSD (it's older than gentoo)
1. SAMBA (just for copying over web pages and such. i use my workstation as the main fileserver as 99% of the time i need files on the workstation)
2. Apache+php
3. MySQL
4. SSH
5. FTP (though i rarely use it)
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
noff
Guru
Guru


Joined: 11 Nov 2002
Posts: 388
Location: College Park, Maryland

PostPosted: Mon May 05, 2003 7:44 am    Post subject: Reply with quote

If you have that much power, I recommend you grab a tv card and setup mythtv. It is a tivo like program and you can use other computers to remotely watch the video it provides or just watch tv. Just got it working here and now I need a faster computer ;) There is an ebuild in bugs.gentoo.org ad the website is www.mythtv.org
_________________
What Larry was saying is that if you make it too easy for programmers, then poor programmers will be able to do things best left to good programmers, and will inevitably do them poorly. Everyone will suffer in the long term as a result." - Tom Chance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum