How To Remove Uninstall Apache From Linux Shell Command Re-install Back
Posted On Mon Feb 26, 2007 By hostman In Linux wallpaper Hosting forums topics about gallery sites in linux systems Forums
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.
OPTION 2: Run
to get the package name. It should come back with something like this:
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:
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:
To see what files are in a specifig package
---------------------------------- INSTALLATION PART -------------------------
the way i know how to install are these commands. there might me more, but i only know of these
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.
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:apache-1.2.5-1
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
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
/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.
rashid Wed Feb 22, 2012
This tutorial is awesome!!!
Tha
Tha
ronnel Sun Jan 24, 2010
how to remove apache. bec. the file of apache is to delete. I try to install is error. and information is pls. remove the apache to continue. thank you!!!!
mohammed Tue Aug 25, 2009
thanks \r\nit really worked .\r\nkeep doing the good work \r\nmay god bless you
Muhammad Thu Feb 26, 2009
i found in helpful - thanks for sharing
nonoe Thu Oct 30, 2008
land house mail student house girl trust night day yes white google look
tso Tue Aug 19, 2008
how to uninstall apache2 on redhat plz help me
Rina Wed May 07, 2008
plz, can u help me to remove apache on kubuntu(linux) system
tictic Tue Mar 04, 2008
loading "installonlyn" plugin
setting up remove process
no match for argument: httpd
no packages marked for removal
what mean ?
setting up remove process
no match for argument: httpd
no packages marked for removal
what mean ?
arah Fri Feb 22, 2008
httpd uninstall apache
Baghathsingh Thu Jan 17, 2008
i am not able uninstall apache
fluff Mon Dec 03, 2007
i like this apache tutorial, i was lost about how to remove it, but thanks to you i was able to find it useful
fluff Mon Dec 03, 2007
thank you
duh Mon Dec 03, 2007
helps alot
Harish Wed Nov 21, 2007
how to un install the java (jdk1.5.0.06 ) in linux machine
usuck Tue Apr 10, 2007
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
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
Related Content
Information
Forums »
Linux wallpaper Hosting forums topics about gallery sites in linux systems »
How To Remove Uninstall Apache From Linux Shell Command Re-install Back
Linux wallpaper Hosting forums topics about gallery sites in linux systems »
How To Remove Uninstall Apache From Linux Shell Command Re-install Back
Title: How To Remove Uninstall Apache From Linux Shell Command Re-install Back
Description: How To Remove Uninstall Apache From Linux Shell Command Re-install Back
Tags: how ,to ,remove ,uninstall ,apache ,from ,linux ,shell ,command ,re ,install ,back
Info: This Post Has Been Viewed 0 Times Since
Date: Mon Feb 26, 2007
Author hostman Received 17 Replies #412
Date: Mon Feb 26, 2007
Author hostman Received 17 Replies #412
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5