Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
715 views
in Technique[技术] by (71.8m points)

Fresh Apache2 installation on Ubuntu

I uninstalled a corrupted Apache2 on Ubuntu and when I re/install Apache2 it will restore the same files as the old one.

I want to do a fresh installation of apache2.

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It is not enough to use sudo apt-get uninstall, that will keep the configuration.
For a complete uninstall, use sudo apt-get purge apache2.

You may also be interested in reading this Q&A on the Ubuntu Stack Exchange site, which covers the same problem.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...