Make a Server Out Of An Old PC by Seski
Using an old Dell XPS, abandoned in my step-mom's office, I made a local server to host files for public worldwide access.

All you need is an old PC, high-speed internet, a router or switch for multiple computers, and PATIENCE.

Images WILL BE UPDATED LATER!!!
 
Remove these adsRemove these ads by Signing Up

Step 1: Get the computer!

pc.jpg
First of all, you need an old, or maybe new, PC to convert to Linux. Look around your house, find a friend who will give one up, or search for one online or at a flea market or something. Something like the one pictured below.

I found mine in my step-mom's office.
1-40 of 69Next »
Tanobi says: Jun 27, 2012. 8:18 AM
Probably the easiest way to install Ubuntu Server on your old PC is by
Here are a few steps to install Ubuntu Server on your old PC.
First, make sure the old PC works, are you using it currently? does it have any issues, if you solve them now it'll rule out anything Ubuntu-related later.

Does the target PC operate on a 32-bit or 64-bit architecture? If it looks like the one pictured in the article chances are it will be the older 32-bit. Either way you'd want to make absolutely sure by either Googling the computer model or if its' currently operational and running windows by right clicking on my computer, going to properties, and read what it says about the system type. if it has (x86) or 32-bit, its a 32-bit machine, if it says 64-bit its 64-bit.

Download the Ubuntu Server .iso from the official Linux homepage (http://www.ubuntu.com/download/server). Make sure to select the appropiate version (either 32-bit or 64-bit)

The file size is ~695MB. If you want to install Ubuntu via a live disc. All you have to do is find an appropriately sized CD-R or CD-RW disc (700 MB is fine) pop it into the tray, and burn the entire unextracted file to the disc. If your using windows 7 all you have to do, with the disc inserted into the bay, right click the file, select "Create live image" or something like that, follow the instructions (select a slower write speed to minimize errors) and you're done.

I prefer using the Live USB method because its easier and has a faster installation time. All you'll need is a nifty little program called Linux Live USB creator (download it here http://www.linuxliveusb.com/en/download) and an empty USB drive (reformat it if you have to) a 2GB drive is fine, but if you want to use a bigger one go ahead.
Start the Linux Live USB creator (LiLi for short.) At this point LiLi will ask you for the location of the ISO image you're trying to use, find it select it, go through all the steps, hit start or burn, wait for it to finish, and there you have a live USB stick ready to go.

To go ahead and install the system on the PC, you need to connect your target pc to the network it's going to be on, start up the computer, open the CD tray and pop the live disc in or stick in the USB and go to the boot first menu just as the monitor displays the BIOS screen. It should tell you which key to press for boot options during this brief display. If you miss it, just restart the computer again. Select either the usb drive or the disc drive to boot up from first. If everything is correct, the ubuntu start up logo will be shown followed by a menu consisting of several options. Install Ubuntu Server being the first. scroll to that selection and hit enter. (At this point you should know everything is monitor and keyboard only, no mouse) follow the key board setup steps, if your in the united states, just hit do it manually and select United States, United States, if your in some other country with different keyboard layout you can either select it manually or play a little game where you press the keys that the computer tells you too if you have them.
go ahead and follow the instructions. At this point it'll ask you to create a username and password that can have root access, whether you want to use up the whole disk or just a partition (if you have another OS installed)( I would recommend using the whole drive) If you want to encrypt the hard drive (if your planning to store sensitive information I would def. choose this option) and it will ask for a host name for the server, which is basically like the domain name. (if its a private network you can call it anything). It will also ask you if you want to install specific server packages right away like a LAMP server, Samba, or Tomcat Java Server.At this point you should have an idea of what you want your server to do, but if you have no idea and this is your first test server or something, just go with LAMP. Bear in mind that you can install any of these later using the sudo apt-get install command. or the Aptitude UI.
Also you should really write down the passwords you chose for the first user and encryption passphrase if you chose to encypt. because you will be f***ed later if you ever have to shutdown your server , because itll ask you for the passphrase and the hard drive is practicallly locked until you enter it, and if you dont remember it, you're screwed, You can't ssh into it, or view webpages or anything.

After all of this the actual installation will start , which make take a while, depending on whether you chose a USB or CD to install. I've never actually installed with the live CD but the USB one is around 10 minutes or less for me.

If everything goes well, at which this point everything should, Ubuntu Server will be installed, the PC will restart, you'll have to enter your passphrase if you chose to encrypt. Then your user login and password, and then wallah, you have your server.

Ok, so you shouldn't have had to enter a single shell command to install ubuntu. Most if not all of the typing should have

It would be nice at this point to be able to acess your computer remotely. For this you'll need the OpenSSH server. You can do this by typing in the command
line :
sudo apt-get install openssh-server
types yes or y to confirm, and the SSH server should be installed.

Download the best (IMO) SSH client:
http://charlotte.at.northwestern.edu/bef/SSHdist.html#windows

How To login with SSH:
click Quick Connect, on the pop-window, enter your server's IP address
enter your user name,.
make sure port number 22 is used.
hit connect.
if SSH connects to the server it'll then ask for your password.
if the password is correct SSH connects and you start at /home/username/
directory.


At this point it's up to you to decide what to do with your new server. If you want to serve webpages then I suggest reading up on apache and cgi scripting languages. if you want to create databases then look up the existing database servers. all in all, its your call now. consult your buddies, or just google through it all =].
darthbindy says: Dec 11, 2011. 8:21 PM
i got the same one, found it in the trash, iv been fixing it for a week now, and iv gotten it to the ubuntu boot screen were it asks if you want to try or install, but whenever i i select one then it just script screens........
zutalors says: Jan 5, 2012. 1:55 PM
The last version of Ubuntu is a dud for older PCs, due to the new GUI it tries to use. Same thing happened when I tried to install it. The latest version of Debian with Gnome GUI works very well on the same PC, even better than older versions of Ubuntu ever did. Try that or, if you really want it, a version of Ubuntu before Oct 2011.
harry599 says: Aug 24, 2010. 6:49 AM
whaen you have to insert your local ip, is that the computers ip or the routers ip, because i dont have a static ip on my router so how would i get by that? Thanks Harry
______ says: Oct 1, 2011. 10:18 AM
type in http://localhost/ to see your site.
hpiper-inkpen says: Mar 12, 2011. 8:37 AM
tar xvfz xampp-linux-1.6.3a.tar.gz -C /opt

it may be a typo and you did it right, but it's supposed to be:

tar -xvfz xampp-linux-1.6.3a.tar.gz -C /opt
Computothought says: Nov 21, 2010. 2:06 PM
So much has changed since this instructable was one. though you could still basically use it.
Leonardodanguyen says: Jun 23, 2008. 6:19 PM
um...I really bad at this so this might be a bad question but please answer me. Are we installing the Ubuntu Server Edition or the Ubuntu PC Edition?
cornboy3 says: Nov 22, 2009. 5:44 PM
 This really depends on your competence with unix and linux systems. If you have used ubuntu server before or you are master of the bash prompt then use ubuntu server. If you are somewhat new to ubuntu or are stumbling into the terminal for the first time then choose ubuntu desktop edition. As a side note, ubuntu server takes computational power to run because it only runs a bash prompt, no gui.
skywagger says: Jan 11, 2010. 7:22 AM
Just set it up with GUI then Turn it off, even a n00b can do that
olegarza says: Oct 26, 2009. 2:02 AM
Really good Question!!! 
Derin says: Jun 3, 2008. 10:22 AM
will try this on an old compaq i bought from the ebay ps will 2.5 gb enough
fallenspirit123 says: Oct 3, 2009. 9:15 AM
it should
Computothought says: Jul 9, 2009. 12:53 PM
I have run a minimal web serrver on a 2 gig drive with debian.But it took some fine tuning to do it. You can get a compact flash to ide adapter and compact flash pretty cheap now..You could also use the 2 gig drive as a boot drive ( if you can not usb boot) and connect a usb drive for extra storage. Usb drives are dirt cheap also compared to what they used to be. Some but not all cheap thin clients can easily be. be made into servers. Even some nas's can used be also. I used my nslu2 as a debian based web file server for a long time. .Freenas software is a another good starting point for older equpment..
mage says: May 25, 2009. 11:09 PM
4GB storage is the minimum for Ubuntu unless you meant ram in which in that case you have more then enough
Computothought says: Nov 21, 2010. 1:47 PM
I have used debian with as little as 100 megs of ram and a 10 gig hard drive as a web server with room to spare.
mattronix says: Sep 28, 2009. 1:56 PM
hi i need help not tech i can install this on mattronix server2 but................ im crap with text interface i need GUI HELP!!!!
reederda says: Aug 29, 2009. 11:50 AM
What do you do if the computer won't install ubuntu?
Computothought says: Jan 10, 2008. 2:18 PM
(removed by author or community request)
power Bills says: Jul 8, 2009. 2:19 PM
or you can Just download to a flash if you know what a USB port is in the back of most CPU I seen
Computothought says: Jul 9, 2009. 12:42 PM
true if the machine is new enough to support usb. The latest version of debian no longer supports the floppy boot, but you can i9nstall the old version and then upgrade for free. I have done that on some old machines.
djr6789 says: Dec 2, 2008. 8:47 AM
please tell me what is thew point of this?
mage says: May 25, 2009. 11:06 PM
for teh lulz
mage says: May 25, 2009. 11:05 PM
would this werk on a laptop?
N1CK4ND0 says: Mar 14, 2009. 5:41 PM
This is EXACTLY what I'm doing!!! Ubuntu is coming in the mail and I'm gonna be hosting files so me and my clan can transfer information fast.
joejoerowley says: Jul 31, 2007. 8:08 AM
I like it. Great instructable!
A.O.C. says: Feb 19, 2009. 10:08 PM
This is really interesting, i would like to learn more and possibly do it myself! Any other informational links so i could learn more....i am dumb when it come to comps but i really would like to learn more
bleachworthy says: Jul 31, 2007. 1:47 AM
I used to do this all the time, except I did it in a much simpler way. i just downloaded Apache webserver (to host web pages) and filezilla (for FTP transactions) build my site, set the permissions, changed my port fowarding settings in my router/modem, set up a free DNS resolution (a .TK name) and started spamming my link across the web, I eventually got a sponsor, and was making an extra hundred a month. Once I get up a hundred bucks or so, i plan to buy an old dell desktop with a P4, and a wireless card, and I'll be able to manage my whole site through a remote desktop connection, telnet, or SSH. it's an easy, fun way to earn an extra bit of cash, and learn computers while you're at it!
Aquilla says: Aug 28, 2008. 5:43 PM
This sounds like the sort of thing that would make an excellent instructable, and I'd love to learn more about it.
Alexizupinhea says: Jul 18, 2008. 12:51 PM
Who's the sponsor?
theburn7 says: Jun 18, 2008. 7:13 PM
wtf? my site name has been taken! http://www.theburn7.tk/
theburn7 says: Jun 18, 2008. 7:12 PM
So is WWW.THEBURN8.TK www.theburn7s.tk WWW.THEBURN9.TK WWW.THEBURN.TK WWW.THABURN.TK all are crummy and stupid, and the list goes on
Kasm279 says: Apr 11, 2009. 11:05 PM
parked sites
theburn7 says: Jun 18, 2008. 7:14 PM
i guess i have to go with co.nr
Derin says: Sep 18, 2008. 7:14 AM
try .net
REA says: Jul 26, 2008. 5:39 PM
probably parked websites. reagames.com is taken :(
schimmi says: Mar 9, 2008. 8:24 PM
you just made me want to do that just for the extra cash, cause you can never get enough especially if you're 15 and without a job but from who did you get the domain name?
tmccar says: Jan 18, 2011. 8:59 AM
How do you earn cash from this (get a sponsor and all that) as per Bleachworthy?
Seski (author) says: Jul 31, 2007. 2:22 PM
I manage my server remotely, too. I'm using a Samba server, connecting to every computer in my house. Also did the same with the DNS, set up a free domain.
VitaminCM says: Jul 13, 2008. 8:14 PM
This is a really cool article.
Here is an article on <a href="http://www.vitamincm.com/reusing-anreusing-an-old-pc-as-a-server/">Using an Old Computer as a Server</a> with Step-by-Step video instructions.
1-40 of 69Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!