I have a problem in my apache2: And i exec sudo aptitude purge apache2 , but in /etc/ the folder apache2 persist, after this, i move the apache2 to ...
I think the best idea is to reinstall the apache2 package. I have tried apt-get --purge remove apache2 and apt-get --reinstall install apache2. Nothing seems to work, it just marks it as removed but doesn't actually remove the files. ubuntu apache-2.2 package-management. Share.
Reinstall Apache2, after remove on Ubuntu 16.04. 0. Monit Apache2 restart and Apache status. 0. How to fix problems with apache2 after installing SSL certificate? Hot Network Questions Inconsistent behaviour of getFeature() and getFeatures() when accessing CSV table with no geometry using PyQGIS
Here is how you remove Apache2 cleanly on Ubuntu and Debian. The first step is to stop any running instance of Apache2, because Apache2 will not be properly removed while it is running. $ sudo service apache2 stop. Then uninstall Apache2 and its dependent packages. Use purge option instead of remove option with apt-get command.
How do I cleanly remove apache2 server on ubuntu server and then reinstall? Ask Question Asked 11 years, 3 months ago. Active 1 year, 3 months ago. Viewed 191k times 31 18. I am having some wierd issues with Apache2 server on my ubuntu server. I believe some configuration files may have been tampered with. What is the easiest way to ...
Ubuntu reinstall apache. Ask Question Asked 11 years, 2 months ago. Active 11 years, 2 months ago. Viewed 11k times 1 Apache ... I think the best idea is to reinstall the apache2 package. I have tried apt-get --purge remove apache2 and apt-get --reinstall install apache2.
10.11.2020 · In this quick tutorial, you will learn how to completely remove Apache2 on Ubuntu 20.04 and similar distributions. When removing a package, sometimes it may leave behind some dependencies and configuration data which might clutter up your system. On Ubuntu, one of the best tools that helps with the removal of a package is the apt-get purge command.
To install Apache, install the latest meta-package apache2 by running: sudo apt update sudo apt install apache2. After letting the command run, all required packages are installed and we can test it out by typing in our IP address for the web server.
Dec 11, 2018 · I decided to uninstall apache2 completely, including removing the config files, so that I could do a "fresh" installation. I ran these commands:- service apache2 stop sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common sudo apt-get autoremove --purge whereis apache2 rm -Rf /etc/apache2 /usr/lib/apache2 /usr/include/apache2
First: sudo apt-get --purge remove apache2 sudo apt-get autoremove. Then installing apache2 is as simple as: sudo apt-get install apache2 sudo /etc/init.d/apache2 restart. To test it: lynx "http://localhost". More information on configuration Apache (Ubuntu 13.10) Share. Improve this answer.