$ sudo apt-get update
$ sudo apt-get install apache2
After installation run: $ sudo /etc/init.d/apache2 restart I get the error:
[core:warn] [pid 190:tid 139972936206208] (92)Protocol not available: AH00076: Failed to enable APR_TCP_DEFER_ACCEPT
Solution:
$ sudo vim /etc/apache2/apache2.conf
add at the end of the file
ServerName localhost
AcceptFilter https none
AcceptFilter http none
Save and restart, successful.