c0nnexx10n : C0nnect1ng L1fe w1th Techn010gy

Byte by Byte Impressions on Technology, People and Process !

Installing Apache HTTP Server on Ubuntu 8.x

Posted by Vikas Hazrati on Sunday, December 14, 2008

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!

2 Responses to “Installing Apache HTTP Server on Ubuntu 8.x”

  1. Another easier way is to use sudo tasksel, this would give you an option to install the entire LAMP infrastructure

  2. [...] http://vikashazrati.wordpress.com/2008/12/14/apache-on-ubuntu/ [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>