Link to home
Start Free TrialLog in
Avatar of Westside2004
Westside2004Flag for United States of America

asked on

remove apache 2.2 from Ubuntu 14.04?

HI,

I installed/built apache 2.2.x on a Ubuntu, but I want to completely remove Apache now, but having a hard time.   There is an "apache2" folder in "/usr/local/apache2".    Is it simple as just deleting this folder?  If not, what steps can I take to do this?

I've attached an image/screenshot showing the steps I took to install it if that helps.  I haven't configured or modified anything so I do not need to backup anything at all.  I just want it completely gone if possible.
steps.JPG
ASKER CERTIFIED SOLUTION
Avatar of Dr. Klahn
Dr. Klahn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Westside2004

ASKER

I actually followed these steps in the screenshot I attached in my original post, there were a few more steps that I should've included.  You can see the link below which contains the steps I followed.  I have removed the directory /usr/local/apache2 using the command you mentioned.   Is there anything else to do?

https://askubuntu.com/questions/574266/install-apache-2-2-22-on-ubuntu-14-04

Is there more to do?
Avatar of Dr. Klahn
Dr. Klahn

Not knowing how your system executes init scripts, there are two ways to remove the Apache startup and you should do them both:

sudo service apachectl stop
sudo update-rc.d apachectl remove


(These are strictly cosmetic to eliminate startup error messages.  Apache cannot start now that the files are gone.)

There is no need to remove the Apache server pseudo-user and you might as well leave it alone in case you ever want to reinstall Apache.
Thanks!