linux poison RSS
linux poison Email

Installing the Apache Web Server on Ubuntu Linux

The standard web server on Linux is Apache. The web server is the technology that receives requests from web browsers and servers up the requested web pages to those browsers.

The desktop version of Ubuntu Linux does not install the Apache web server by default. The first step in setting up a web server, therefore, is to install Apache.

To install Apache from the command-line start a terminal window (Applications->Accessories->Terminal) and run the following command at the command prompt:
sudo apt-get install apache2
The installing process will not only install, but also start up the web server.

Testing the Web Server
Once the installation is complete the next step is to verify the web server is up and running. To do this fire up the web browser by clicking on the Firefox logo and enter 127.0.0.1/apache2-default in the address bar (127.0.0.1 is the loop-back network address which tells the system to connect to the local machine). The browser should load a page that reads It works!.

Congratulations, you have now installed the web server and served up what will hopefully be the first of many web pages.




0 comments:

Post a Comment

Related Posts with Thumbnails