A very simple and straightforward way that worked for me is as follows:
Step 1. First we need to Stop apache2.
>> sudo service apache2 stop
Step 2. Now Uninstall Apache2 and its dependent packages.
>> sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
Step 3. Use autoremove option to get rid of other dependencies.
>> sudo apt-get autoremove
Step 4. find where are configuration files that have not been removed.
whereis apache2
Step 5. Now check If you get a response as follows apache2: /etc/apache2 remove the directory and existing configuration files.
>> sudo rm -rf /etc/apache2
Step 1. First we need to Stop apache2.
>> sudo service apache2 stop
Step 2. Now Uninstall Apache2 and its dependent packages.
>> sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
Step 3. Use autoremove option to get rid of other dependencies.
>> sudo apt-get autoremove
Step 4. find where are configuration files that have not been removed.
whereis apache2
Step 5. Now check If you get a response as follows apache2: /etc/apache2 remove the directory and existing configuration files.
>> sudo rm -rf /etc/apache2
Nice article. It's very helpful to me. Thank you for share with us. Can you please check my web tutorial website Flox Blog Beginner's Guide for Web Developers.
ReplyDeleteThank you for sharing your info. I truly appreciate your efforts and
ReplyDeleteI will be waiting for your next post thank you once again.
PHP pagination with sortable table on header click
How to create a PDF from a form using PHP