28 Dec
1999
28 Dec
'99
8:02 a.m.
Patrick Phalen wrote:
[CURTIS David, on Mon, 27 Dec 1999]
:: I have decided to use Zserve instead of Apache, I am new to Linux and do not know how to remove Apache. I have tried rpm -e apache(version).rpm .
Read /etc/inittab to confirm your default runlevel (3 or 5).
From the shell:
% /bin/su - % cd /etc/rc.d/rc3.d % ls % mv S85httpd K85httpd (or whatever number httpd has) and/or: % cd ../rc5.d and do the same thing
When you reboot, Apache will be dormant. Or else, you can: % /sbin/init 1 % /sbin/init 3 (or 5)
No need to do all that... this is much simpler, and easy to restore. % su - % /etc/rc.d/init.d/httpd stop % chkconfig --del httpd /Magnus Heino