LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-03-2009, 11:54 AM   #1
cegha
Member
 
Registered: Jul 2005
Location: Goose Creek, SC
Distribution: Mandriva LE 2005
Posts: 41

Rep: Reputation: 15
Home Server Building Project


So i'm looking to build a Ubuntu Server to serve some purposes in my house. I'm looking at configuring multiple things on this server. I don't know much about linux but want to learn how to set stuff up and manage a server. I'm going with ubuntu because i have some familiarity with that linux wise.

Now firstly i've been trying to grasp the concept of VPS's. I don't think i will need to emulate anything to make virtual servers. As i'm trying to understand it, these are just processes that can all run off of one main server and function together. All of these will run along side each other (on the same box) with out causing problems. correct?

RAID - I just want simple RAID 1 for data backup purposes. 2 1TB harddrives. Is a RAID card necessary for linux to run RAID 1? Anything (difficult) I should know about RAID 1 and ubuntu server?

Here is a overview.

Reverse Proxy
-Pound
Web Page Server
-LAMP
FTP Server
-ProFTPD
Email Server
-Postfix
-Courier IMAP
-MySQL
-Amavisd-new
-SpamAssassin
-ClamAV
-Cyrus SASL
-PostGrey
-TLS
-SquirrelMail
Jabber Server
-eJabberd
Music Server
-Tangerine
Print Server
Firewall

I'm also needing a few other things I want done as well. I want to be able to use it as a downloading server for torrents as well. How i'm seeing this in my head, is that all other pc's in my house will run windows xp so it must be able to interface with them to share files, etc. Ubuntu seems to work pretty well with that via Samba.

Is there a way i can open a torrent file on say my xp laptop and send the torrent file to the server (since it will have a faster wired connection), and it would auto download, or would i have to first connect to the server and download the torrent file on there and execute it from there? Can i forward particular torrent files to the server for auto download? Whenever it would receive a torrent file request it would auto open a client to download it, and download the file in a folder of my choosing?

DVR Service - Don't know how this would fit in too. I have a nice plasma with HD service through comcast (internet as well), and i'm not paying them for a DVR when I can make my own for free with more space.

I'm looking to record tv shows/movies to the RAID 1 array, in SDTV & HDTV. Can this be configured on the server as well?

All of the server loads will be small. 1-3 users on my email server, 1-2 users on jabber server, me only on the FTP server. So i'm not going to use tons of resources or anything. Planning on running all of these things off of a AMD X2 2.x GHz, 1.5GB RAM, 1TB RAID. Would that pc be fine for this?
 
Old 09-03-2009, 06:43 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Hi Cegha,

Looks like you have a lot of work ahead of you.. it may be worth practising in a vm before you do your actual server build. As far as raild goes, you can do software raid but hardware raid performs better,

good luck

kbp
 
Old 09-04-2009, 04:55 AM   #3
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
As a start to vps.... you can try virtual box or vmware server, both of which are free and has a linux version too. In case of a simple vps.... you ll be creating virtual machines and each virtual machine will have its own virtual hard disk and OS and of course a virtual network including virtual routers n so on.....

My repeated use of the word virtual, should give you the idea that everything behaves like a normal physical server except that everything is... um... virtual.

So in your case the host system, the server with ubuntu, will run the virtualization software like virtual box or vmware.... and inside this software you ll create virtual machines(guest systems) with the software and OS that u need...

Yes these virtual machines will run together without any problems, just like multiple physical systems do...

However since the virtual machines share the resources of the host system, the resources on the host system will cause limitations.....
 
Old 09-04-2009, 01:30 PM   #4
canyonbreeze
LQ Newbie
 
Registered: Apr 2009
Posts: 18

Rep: Reputation: Disabled
But why a VPS if you want to run a server? VPS is more for letting multiple parties run separate servers from one computer isn't it? I use Debian to run all my server stuff (Apache, MySQL, FTP, Mail, etc) using ISPConfig. It's currently running 5 different domain named websites. Then I use VMWare and VirtualBox for running virtual desktops of Windows(XP, Vista, 7) when I want to play around.
 
Old 09-04-2009, 05:48 PM   #5
cegha
Member
 
Registered: Jul 2005
Location: Goose Creek, SC
Distribution: Mandriva LE 2005
Posts: 41

Original Poster
Rep: Reputation: 15
I was just misunderstanding what a VPS is meant to do. I was thinking the ubuntu server can only be configured for one thing. However that is not the case, it's just simply a bunch of processes's running to make the server do multiple things. I was confused at weather one box could form all of those servers or if i would have to make virtual servers to do each job.
 
Old 09-04-2009, 07:55 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,916

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
Quote:
Originally Posted by cegha View Post
RAID - I just want simple RAID 1 for data backup purposes. 2 1TB harddrives. Is a RAID card necessary for linux to run RAID 1? Anything (difficult) I should know about RAID 1 and ubuntu server?
A raid card is not necessary. Personally, I don't like the cheap raid cards, so I'd want to try the multi-disk (md) driver before trying a raid card. If you were trying to use one of the raid modes that does cleverer things with the data, and you needed a high throughput or low cpu loading, there is a case that having a hardware XOR engine. This isn't true in your case, so I don't see that this is a factor.

Quote:
...I'm looking at configuring multiple things on this server. I don't know much about linux but want to learn how to set stuff up and manage a server. I'm going with ubuntu because i have some familiarity with that linux wise...Now firstly i've been trying to grasp the concept of VPS's...

Here is a overview.

Reverse Proxy
-Pound
Web Page Server
-LAMP
FTP Server
-ProFTPD
Email Server
-Postfix
-Courier IMAP
-MySQL
-Amavisd-new
-SpamAssassin
-ClamAV
-Cyrus SASL
-PostGrey
-TLS
-SquirrelMail
Jabber Server
-eJabberd
Music Server
-Tangerine
Print Server
Firewall

I'm also needing a few other things I want done as well.
That's quite a list of things that you want to set up. Depending on how busy these things are, it may prove a bit much for one server (if you were in an enterprise situation with thousands of users, it surely would, but, in a lower load situation you could well get away with it).

But, given that there is an overhead with virtualisation, if that workload would be too much for a single server unvirtualised, it would be even worse if you virtualised everything.

Quote:
DVR Service - Don't know how this would fit in too. I have a nice plasma with HD service through comcast (internet as well), and i'm not paying them for a DVR when I can make my own for free with more space.

I'm looking to record tv shows/movies to the RAID 1 array, in SDTV & HDTV. Can this be configured on the server as well?

All of the server loads will be small. 1-3 users on my email server, 1-2 users on jabber server, me only on the FTP server. So i'm not going to use tons of resources or anything. Planning on running all of these things off of a AMD X2 2.x GHz, 1.5GB RAM, 1TB RAID. Would that pc be fine for this?
Stuff like serving web pages will work, albeit slowly, if the server is loaded quite heavily. It may be irritatingly slow, but only you can decide when irritating turns to unusable.

Things like video serving and recording are different. They are more of a soft real time load and if the server is so heavily loaded that there are multiple dropped frames, you could find it very quickly becomes intolerable, so be careful.
 
  


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
Building my computer as a research project BlackFedora Linux - Distributions 38 07-05-2009 08:45 AM
LXer: Building a Home File Server LXer Syndicated Linux News 0 01-18-2008 09:20 AM
problem when building a project using qt on kdevelop brownflamigo1 Programming 10 07-17-2007 09:39 AM
where is information/howto for building a project fatblueduck Programming 3 12-07-2006 04:01 AM
Project questions -> old pc as a gateway/proxy server for home thegeekster Linux - Networking 13 07-28-2004 09:51 AM


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