LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2002, 03:39 PM   #1
linuxwannabe
LQ Newbie
 
Registered: Jan 2002
Distribution: redhat 7.2
Posts: 14

Rep: Reputation: 0
apache uninstall


I am trying to set up apache on my dedicated server. It seems to have a pre-installed version that starts at boot. How do i remove that other version so it don't boot at startup?
 
Old 05-16-2002, 04:44 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
OK, assuming you're using RedHat 7.x:

rpm -ev apache

will uninstall the web server (as in wipe it off your hard drive). You need to run this command as root.

If you are simply want to prevent it from starting up at boottime by default, log in as root and do the following:
  1. cd /etc/rc3.d
  2. ls | grep httpd
  3. You'll see a line like S15httpd. If it starts with K, then these intructions do not apply.
  4. mv S15httpd K15httpd
  5. Repeat this procedure, starting from step 1, except you need to cd to /etc/rc5.d
Please note that the number 15 above (in S15httpd and K15httpd) may be different on your system.
 
Old 05-17-2002, 03:19 AM   #3
linuxwannabe
LQ Newbie
 
Registered: Jan 2002
Distribution: redhat 7.2
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks a lot! and yeah RH7.2, forgot to mention that in first post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstall Apache + Others PhuckFonix Linux - Newbie 8 04-25-2004 04:53 PM
Redhat 9 - How do I uninstall apache + how do I add apache to autostart? praefex Linux - Software 2 07-29-2003 01:21 PM
Apache Uninstall chandravel Linux - Newbie 1 07-03-2003 02:24 PM
Uninstall Apache 1.3 piglingz Linux - Software 1 02-16-2003 02:47 PM
RH8.0 : Need to uninstall Apache 2 and install Apache 1 ericcarlson Linux - Software 1 02-10-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration