7. Installing Apache
• The desktop version of Ubuntu does not install the
Apache web server by default. Therefore, the first step is
to install Apache.
• To install Apache from the command-line start a terminal
window (Ctrl-Alt-T) and run the following command at the
command prompt:
• sudo apt-get install apache2
• Once the installation is complete the next step is to verify
the web server is up and running.
• To do this run the web browser and enter 127.0.0.1 in the
address bar. The browser should load a page that reads It
works!.