LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-26-2003, 10:48 AM   #1
Elliott
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
Question How should I build a Linux machine?


I have decided that it would be a good learning experience to build a Linux computer from scratch. I am very familiar with programming, but have virtually no knowledge of hardware and have never built a computer before. My only Linux/Unix experience is telneting to my college’s unix servers in order to turn in computer science homework.

I would like to build a small, affordable Linux machine that I could tinker with. Specifically, I would like to use it to run a webserver compatible with java servlets and .jsp’s. However, the server does not need to be able to support a tremendous load. It is just for my personal amusement.

So, I was hoping that the Linux community could give me some advice about how I should go about doing this. What components should I buy? What hardware do I need? Intel v. AMD? What is your favorite online vendor? What distro should I use? What webserver should I run? How do I set up a computer to run a webserver? What are your favorite online FAQs that I should look at?

Any information is greatly appreciated!

Thanks,

Elliott
 
Old 06-26-2003, 10:52 AM   #2
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
www.pricewatch.com is really helpful for just about everything

www.accubyte.com sells well priced bare bones kits (at least they did about a year ago)

I'm partial to AMD because I think they're a better value.

If you live near a large university or hospital, you might consider looking over their surplus stores. Linux is very efficient, so you could buy an old surplus university computer and just put another hard drive in.

~Andrew
 
Old 06-26-2003, 11:00 AM   #3
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
recently I've got my hands on a few PIII 500/128MB/10GB machines for very little money... I'm running SuSE 8.2 on a few of them, and it runs as quick as Win2K on a Celeron 1.2GHz/128MB/10GB machine I have.
Get your hands on an old machine or two, this way, you can set up a cheap, small network and play with TCP/IP and server stuff... Linux will run fine on a machine that would be sluggish with Windows.

As for distros, I use SuSE.. mainly because it was the first one that I had all positive experiences with. It also comes with the best config tool of the bunch (YaST2). Redhat 9 is also worth considering.

Apache/MySQL/PHP is the way to go for a webserver.

If you really want to get into the webserver thing, get 'Open Source Web Development with LAMP'

The Linux Documentation Project has the most comprehensive collection of docs/FAQs and HOWTOs on the web. Find it at http://www.tldp.org/docs.html
 
Old 06-26-2003, 11:57 AM   #4
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
I personally would get a AMD. Duron's are nice and cheap are are pretty nice. If it is going to be a server make sure you get enough memory but still rely on a swap a little. Really any distro would work ok for a webserver as long as you install apach (maybe not lindows ) Also, to make your machine faster try to strip down all the packages and only install the things you need to have. Sounds like a fun project, have fun.
 
Old 06-26-2003, 12:16 PM   #5
gbbenson
LQ Newbie
 
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
I did the exact same thing about two years ago. It was:

1) A great learning experience.
2) Not too difficult.
3) A lot of fun.

In my opinion, the most important thing is the motherboard/CPU combination. I am partial to AMD processors myself, since, in general, you get "more bang for the buck". (Its much easier to overclock an AMD, too... ;-D ) You can get a decent AMD Athlon XP for under $100 (or €100, depending on where you may be.) But, you need to find a decent motherboard for the CPU that you want. The Linux kernel doesn't seem to care (too much) about the CPU (ie. Intel vs. AMD), but the chipsets that the motherboards use may or may not be supported properly (or at all). I am partial to AMD processors myself, since, in general, you get "more bang for the buck". (Its much easier to overclock an AMD, too... ;-D )

Once you've decided on motherboard/processor, the rest is "Mickey Mouse", as an old Physics prof of mine once said. You will definitely need some kind of hard drive (eg. 80 GB), probably a 3.5" floppy drive and probably a CDROM drive. Don't forget about the CPU cooler!! Sometimes, the CPU comes with a cooler ("boxed"), sometimes not. Check first. Don't forget the case!!!!!!! When it comes to cases, trust me: a little bit of extra money now can REALLY save problems in the future.

One last thing: there's the RAM, too. Since the motherboard that you pick will have a specific type of RAM, I would stay away from boards which have RAMBUS RAM (normally Pentium IV's).

Anyway, enough rambling.

I found the following useful:

http://www4.tomshardware.com/howto/20020904/index.html
http://www4.tomshardware.com/howto/20020918/index.html

Hope this helps...

Guy
 
Old 06-26-2003, 12:37 PM   #6
gbbenson
LQ Newbie
 
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
D'OH!!!

You're going to ned a graphics card, too.... :-)
 
Old 06-26-2003, 12:42 PM   #7
Elliott
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a bunch

I'm impressed at how quickly the replys started pouring in! Thanks for all the advice! (But don't hesitate to add more). The tomshardware site seems particularly good - I just checked it out a minute ago.

Elliott
 
Old 06-26-2003, 02:14 PM   #8
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
gbbenson: what do you mean by cpu cooler? do you mean a heat sink, fan, shim, or something i've never heard of?
 
Old 06-26-2003, 03:54 PM   #9
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by gbbenson
D'OH!!!

You're going to ned a graphics card, too.... :-)
some of the nforce2 motherboards have onboard video, e.g., the Epox 8RGA+. for $99 you get a GForce 4MX (which is definitely good enough for a server), onboard 6-channel audio, and onboard LAN -- not a bad deal. pair that up with a retail (i.e., comes with heatsink and fan) t-bred or barton for $50-100, depending on the speed you want, and you are well on your way to a nice system.

if you're in the US, imho newegg.com is the best online retailer for computer hardware.
 
Old 06-26-2003, 05:31 PM   #10
atrivis42
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Getting stuff cheap is pretty easy, but you have to be careful. Linux can be a little funny about some generic parts and, being new, you might have some trouble getting the correct drives running for it.

Also, when I did my first Linux machine, I was in the market for a new PC anyway since mine was almost 4 years old. I just bought a brand new kick-a$$ machine for my primary and used my old one for my Linux machine.

Atrivis
 
Old 06-26-2003, 09:20 PM   #11
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Your primary machine isn't a linux box?
 
Old 06-26-2003, 10:09 PM   #12
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Many of your choices depend on your pocketbook.
Check on your hardware choices (sound, modem, drives, etc...) to be sure they are supported in Linux.
Another choice to fool with a Linux server is to pick up a Pentium or Pentium II for 100 bucks (more or less).
Click my "www" link below to check a "Pentium server".
Building your own from scratch is definately the most fun though.
 
Old 06-27-2003, 01:03 AM   #13
gbbenson
LQ Newbie
 
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
Quote:
Originally posted by andrew001
gbbenson: what do you mean by cpu cooler? do you mean a heat sink, fan, shim, or something i've never heard of?
By CPU cooler, I mean the heat sink/fan combination, and if you're ambitious, includes the water pump, as well. ;-)
 
Old 06-27-2003, 10:01 AM   #14
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
A water cooler eh? That is pretty cool. My CPU has been running a little bit hot lately, so I was just makin sure I haven't been missing out on something.

I"m thinking about getting a nice cooling system and doing some overclocking. Has any one here done it on an Athlon XP?
 
Old 06-27-2003, 10:19 AM   #15
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
Really cheap

If you're in US and want a *really* cheap box to play with, check out thrift stores and Salvation Army stores. Two days ago I picked up a PowerComputing PowerBase 200 (PowerMac compatible) for $10 (yes, TEN). With all of it's mighty 130 BogoMips and max. 160MB RAM it still is faster than some of the big, mean web servers of yesteryear. Just pop a Yellow Dog Linux on it and you're set.
They also had a Mac SE/30 that you could run NetBSD or Debian m68k on.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
running applications from one Linux build in another Linux build bcottam Linux - Distributions 2 04-13-2004 12:08 AM
Build on 1 machine, copy to another? dawizman Linux From Scratch 5 03-31-2004 05:16 PM
Machine build cxtech Slackware 3 03-02-2004 11:18 PM
Using SMB to copy files from one linux machine to second linux machine. coppersky Linux - Networking 9 06-24-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration