Installation time using one-click installation, very simple
Apt-get Install Apache2
These two days to configure a lighttpd, but has not been successful, today in the company with virtual machine in the Ubuntu configuration lighttpd success, suspicion is and apache2 some things conflict.
You are ready to uninstall Apache2 and then reconfigure LIGHTTPD to try again. After the result "uninstall", reboot, access to http://localhost incredibly still can access. Did not unload it?!
Enter Apache2 in terminal, prompt is not installed, run Apt-get remove apache2, still prompt not installed. Good pit Daddy!
Suddenly think of some "apache2" did not unload???
So, run
Apt-get Remove apache*
No doubt, very long information, enter Y, carriage return. When you are finished, visit localhost again,
Bad! Google Chrome cannot connect to localhost
Suggestions:
Enter Localhost.­net
Enter Localho.­st
Enter localhostr.­com
Try Reload: localhost
Search on Google:
Haha, it looks like a success.
It should be that apache2 relies on something that is not completely removed and is still "contributing" to the cause.
----------------------------------------------Split Line----------------------------------------------
Recently always in the change project, in the environment, delete the original unused, and sometimes install the error, the following on the apache2 of the full Uninstall command affixed out, for everyone to reference!
1. Delete Apache
Code:
$ sudo apt-get--purge remove Apache-common
$ sudo apt-get--purge remove Apache
2. Find a profile that is not deleted and delete it.
Code:
$ sudo find/etc-name "*apache*" |xargs RM-RF
$ sudo rm-rf/var/www
$sudo RM-RF/ETC/LIBAPACHE2-MOD-JK
3. Remove the association so that it can be re-installed with the Apt-get install Apache2
#dpkg-L |grep Apache2|awk ' {print $} ' |xargs Dpkg-p
I'm OK, everybody, you can try!!!
For more information about Ubuntu see the Ubuntu feature page http://www.linuxidc.com/topicnews.aspx?tid=2
Ubuntu Full Uninstall Apache2