Running a webserver will allow other users on your network or the Internet to access webpages and anything else you wish to serve such as Nagios statistics, OpenKM servers, security camera footage etc.
For this process I will use Apache running on Ubuntu 10.11.
This also applies to a BeagleBoard running Ubuntu.
1. Update Repositories
The first step is to ensure you have up to date repositories so we will need to update apt-get with the following at a terminal:
sudo apt-get update
sudo apt-get upgrade
2. Next we install Apache using apt-get and the repositories:
sudo apt-get install apache2
This may take some time.
3. Test it is working
If you can open a webbrowser on the PandaBoard you can navigate to:
Or if you accessing it over the network navigate to the IP address of the Pandaboard.
If it works you will be greeted with a "It Works" webpage.
4. Internet access
If you are behind a router and you want to access your webserver over the Internet you will need to allow access for the port 80 from the Internet to your server.
This will probably involve logging into your router and forwarding the port through the NAT. Unfortunately each router interface is slightly different so you will have to Google it if you don't already know how to do it.
Once your router is allowing access you should be able to put the ISP granted IP address into your browser and see your webpage.
To find out your ISP granted IP address you can go to this website to find out:
You can now register a domain name if you wanted but if you just want a name instead of a IP address then I suggest trying DynDNS (www.dyndns.com).
This will allow you to type the name of the dyndns address to access your webserver. You can also set up most routers to update the dyndns record if your ISP changes your IP address.
If your DynDNS accout is "fred" then you could have the address fred.dyndns.org. This address can then be access anywhere on the Internet to access your webserver
5. Update your webpage
The apache server is set up to show the "index.html" file found at /var/www/
If you update this file you will update the content displayed by your webserver.
This is also the root level of the webserver.
I personally prefer the KompoZer application in the Ubuntu repositories to edit static webpages