Install Apache
Install Apache
This step-by-step howto shows a basic setup for Apache 2 web server. Apache is installed on Ubuntu 6.06 LTS Dapper, but instructions will probably work on any Ubuntu. This document is a work in progress, initially only required commands are listed without troughout explanations. 2006 Tero Karvinen. GNU General Public License, version 2.
Install Apache
$ sudo apt-get install apache2
Test it
Surf to your own server on your own local computer:
$ firefox "http://localhost"
Find out how your server is found on the net. Anyone can use your IP address or DNS name to connect to your server:
$ ip addr
Use your own IP address (eth0, first IP number, does not end .255)
$ firefox "http://1.2.3.4"
If DNS is working on your network, you can see your fully qualified domain name with:
$ host 1.2.3.4