WCHost
02-25-2004, 05:24 AM
Well Currently I am using Fedora 1, with webmin...
I want to uninstall Apache.
Can anybody teach me either in Webmin or SSH, how to uninstall/reinstall Apache?
Thanks
WCHost
02-25-2004, 05:51 AM
Also and how to install apache?
Because i just did some settings and now I cannot start Apache. It gives [FAILED] and no other errors.
Can anyone give me a default .httpd.conf?
I am running 2.0.47 one
stephenM
02-25-2004, 11:11 AM
Hmm, if it's giving you failed notices then most likely your configuration is borked. Take a look at the logs for Apache (APACHEROOT/logs/apache_log if I remember correctly).
If you really want to uninstall it, there are two ways. If you installed it via RPM (or if it was installed by RedHat during the OS installation process) then you can run `rpm -q apache`, get the full version name and then `rpm -e apacheVERSION_HERE`.
If you did a manual install then just delete /usr/local/apache (or wherever it is installed).
WCHost
02-26-2004, 01:50 AM
Thanks!
I did installed it and reinstalled a new Apache 2~
Brightadmin
02-26-2004, 01:57 AM
Hi,
As informed by StephenM , if you are doing it manually then to remove Apache from your Linux server, enter this line at the Linux command prompt:
rm -rf /usr/local/apache2
I think this will help you to solve the problem
Regards,
:)
sprintserve
02-26-2004, 03:07 AM
Run a check on your config (this is for the fail message issue)
/usr/local/apache/bin/apachectl configtest