I have been playing around with my blog, alot. I have couple of old computers laying around i want to put to use.
I was wondering if there is a way to setup a server, then will be linked to a url that i buy and server pages and maybe even install wordpress.
Any information on setting that up on Ubuntu 10.04 Desktop would be amazing.
Please and thank you.
Setting up a webserver on Ubuntu is very easy to do you can either use apt-get and install Apache, PHP and MySQL manuall or use tasksel to install the LAMP stack.
sudo tasksel install lamp-server
https://help.ubuntu.com/community/ApacheMySQLPHP
Once that's done you'll be able to setup your blog on the local machine and get it running.
You can follow the guide here for how to install wordpress under Ubuntu or follow this one for a generic guide on how to get installed.
--
Next steps
--
Some other points
Wordpress is in the universe repository. You can install via apt-get or synaptic and all the dependencies will get pulled in. More documentation here.
To host a server, you need an ISP that gives you an external static IP address, which most do, but you usually have to ask for a static IP. Then it's a matter of getting a domain pointed to that address and opening a hole in your firewall.
If you are doing this for the experience or fun of it, rock on.
If you are doing this because you want to have a reliable website, don't bother. Homes make lousy datacenters for the same reason that website hosting costs money: ensuring the power stays up, the net stays up, the server and the applications are up is capital and labor intensive which is most efficiently amortized across a server farm.
Some routers support a "roaming" DNS server like http://www.dyndns.com/ which allows you to maintain a static name even though your ISP may shuttle your IP address around dynamically, but the caveat of "this may irritate your ISP" does apply.
(disclosure: I have a free DynDNS account for no really good reason, it works on the odd times I've tried it, I don't use it for anything important, my ISP is very liberal and I have no connection to DynDNS aside from that.)