Installing Apache HTTP Server on Ubuntu 8.x

Posted on Sunday, December 14, 2008

2


Installing Apache HTTP server involves compiling and installing the server. For steps to to compile and install the server follow the instructions.

There could be a scenario where once you execute the command

apachectl -k start

you get something like this

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

The reason is that the command needs to be executed by the root and for Ubuntu the following command would do the trick

sudo ./apachectl -k start

once done hit the http://localhost/ to see something like It Works!

Advertisements
Posted in: linux