Saturday, April 4, 2009

How to uninstall LAMP?

Sometimes, we need to uninstall current Apache Mysql PHP collections and re install them. In this article I will show how to remove a LAMP system(for RHEL,Fedora, CENTOS):
  1. Check the existence of LAMP system:
    rpm -qa | grep -i mysql
    rpm -qa | grep -i apache
    rpm -qa | grep -i httpd
    rpm -qa | grep -i php
  2. If you get list then remove via rpm
    rpm -e "file name"
  3. or with "yum -y uninstall"
    yum remove "file name"
Thats all :))

No comments: