while searching for installing apache web server in linux ubuntu lucid ,I found that some articles use the name apache2 while others use httpd..Is apt-get install apache2 the correct way to install?

I want to remove all of my current apache2 installation ,and install everything fresh. Should I use

sudo apt-get remove --purge apache2

I currently have apache in /etc/apache2

有帮助吗?

解决方案

apache2 is Ubuntu's name for the Apache httpd version 2 branch (currently using 2.2, I think). The best source for information on Ubuntu packages is probably its own documentation; see https://help.ubuntu.com/10.04/serverguide/httpd.html. But yes, those two commands are correct.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top