How To Remove Uninstall Apache From Linux Shell Command Re-install Back



How To Remove Uninstall Apache From Linux Shell Command Re-install Back
How To Remove Uninstall Apache From Linux Shell Command Re-install Back
Post Description:
Post Tags: how, to, remove, uninstall, apache, from, linux, shell, command, re, install, back
This Post Has Been Viewed 5772 Times Since Mon Feb 26, 2007 8:15 pm Posted By hostman with 11 replies
Next Post »» Where is the installed Apache PHP MySQL Named BIND Linux Redhat Fedora
How To Remove Uninstall Apache From Linux Shell Command Re-install Back
ok, today, a customer wanted to re-install apache. so if you want to know how to do this here it is:

REMOVE apache:
to remove apache, there are serveral way these are the ways i know

OPTION 1: Run this command if you installed apache with RPM or throug the automatic option during the Fedora/Red Hat OS installation.

     Code:
yum remove httpd


OPTION 2: Run
     Code:
/etc/init.d/httpd stop

to get the package name. It should come back with something like this:
     Code:
apachecfg-0.3.1-6
apache-1.2.5-1
You can then use this command to remove Apache:

     Code:
rpm -e apache-1.2.5-1


OPTION 3. If you compiled apache on your own. If you did a manual install then just delete /usr/local/apache (or wherever it is installed).

OPTION 4. f you are doing it manually then to remove Apache from your Linux server, enter this line at the Linux command prompt:
     Code:
rm -rf /usr/local/apache2


OPTION 5: To find files by name try "locate"; it will force you to run updatedb the first time.

To find packages that are installed try
rpm -qa *apache* *mysql*
{ note "rpm -qa" lists all installed packages }

On mthis system:


     Code:
[root@foo ~]# rpm -qa *apache* *mysql*
ant-apache-resolver-1.6.5-2jpp.2
koffice-kexi-driver-mysql-1.6.1-4.fc6
mysql-server-5.0.27-1.fc6
ant-apache-log4j-1.6.5-2jpp.2
mysql-bench-5.0.27-1.fc6
mysql-connector-odbc-3.51.12-2.2
apachetop-0.12.6-2.fc6
ant-apache-oro-1.6.5-2jpp.2
ant-apache-regexp-1.6.5-2jpp.2
mod_auth_mysql-3.0.0-3.1
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.27-1.fc6
php-mysql-5.1.6-3.3.fc6
ruby-mysql-2.7.1-2.fc6
ant-apache-bcel-1.6.5-2jpp.2
mysql-devel-5.0.27-1.fc6


To see what files are in a specifig package
     Code:
[root@foo ~]# rpm -ql ant-apache-bcel
/etc/ant.d/apache-bcel
/usr/lib/gcj/ant
/usr/lib/gcj/ant/ant-apache-bcel-1.6.5.jar.db
/usr/lib/gcj/ant/ant-apache-bcel-1.6.5.jar.so
/usr/share/java/ant/ant-apache-bcel-1.6.5.jar
/usr/share/java/ant/ant-apache-bcel.jar
/usr/share/java/ant/ant-jakarta-bcel.jar


---------------------------------- INSTALLATION PART -------------------------

the way i know how to install are these commands. there might me more, but i only know of these


     Code:
yum install httpd



     Code:
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel


i hope this little tutorial guide step-by-step has helped you if you are a beginer who is trying to install apache server on your linux server or computer machine. It wouldn't work on windows, bucause there is not shell command i can give you.

Leave Your Comments
* Your Name

  * Your Email Address (Will Not Be Published)

* Your Comments


Add Picture To Comments
Yes No             upload
Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

     


Comments and replies About How To Remove Uninstall Apache From Linux Shell Command Re-install Back




:: 1 :: #999 - Reply By Baghath On Thu Mar 22, 2007 11:23 pm
how to uninstall the mysql on command mode
:: 2 :: #1434 - Reply By usuck On Tue Apr 10, 2007 1:28 pm
this looks like your are spamming your own message board...DIE!



Quote:
php tutorial tutorial windows mysql php windows server windows xp iis php linux exe webserver microsoft dll tomcat sp2 setup php mysql update php rpm exe howto perl dll ssl configuration mysql iis windows dll winxp cgi perl php perl fedora debian fix configuring httpd exe config setup microsoft php database cgi php run conf unix window linux xp problems update debian sp2 module
:: 3 :: #28663 - Reply By Harish On Wed Nov 21, 2007 10:35 pm
how to un install the java (jdk1.5.0.06 ) in linux machine
:: 4 :: #30407 - Reply By duh On Mon Dec 03, 2007 3:32 pm
helps alot
:: 5 :: #30408 - Reply By fluff On Mon Dec 03, 2007 3:33 pm
thank you
:: 6 :: #30409 - Reply By fluff On Mon Dec 03, 2007 3:34 pm
php tutorial tutorial windows mysql php windows server windows xp iis php linux exe webserver microsoft dll tomcat sp2 setup php mysql update php rpm exe howto perl dll ssl configuration mysql iis windows dll winxp cgi perl php perl fedora debian fix configuring httpd exe config setup microsoft php database cgi php run conf unix window linux xp problems update debian sp2 module manually help files compile winxp error run 2.0 server fix professional setup problem upgrade get on cannot get help update version on get server files running tutorial get after error configuration after problems help version problem support cannot howto on php re-get windows xp how to php how to windows xp windows 2000 for windows windows xp windows 98 web server windows update win xp windows 98 windows 2000 web server windows update windows xp professional how to uninstalling how to windows xp pro apache2 win xp operating system apache2 xp pro linux how to windows service 1.3 remover service 2 exe server 2.0 on linux can t how to linux uninstalling apache2 apache2 linux k removal 2.2 for windows server apt get 1.3 ubuntu uninstalling linux how to apache2 tomcat ubuntu www in linux apt get apache2 apache2 ubuntu directory make from linux how to exe on mac fedora mac http server debian php windows web server how to server http server how to linux tomcat how to tild debian apache2 header completely banner debian uninstalling on linux os x uninstalling windows uninstalling server redhat unix uninstalling 2 user error cannot module 1.3 how do i how to apache2 default how to get manually from linux old 2 1 cannot module to in linux can t can t
:: 7 :: #36830 - Reply By Baghathsingh On Thu Jan 17, 2008 11:46 am
i am not able uninstall apache
:: 8 :: #42434 - Reply By arah On Fri Feb 22, 2008 1:26 am
httpd uninstall apache
:: 9 :: #44134 - Reply By tictic On Tue Mar 04, 2008 9:09 am
loading "installonlyn" plugin
setting up remove process
no match for argument: httpd
no packages marked for removal

what mean ?
:: 10 :: #52960 - Reply By Rina On Wed May 07, 2008 2:55 am
plz, can u help me to remove apache on kubuntu(linux) system
:: 11 :: #67336 - Reply By tso On Tue Aug 19, 2008 9:48 pm
how to uninstall apache2 on redhat plz help me