Below are the steps to remove mysql from ubuntu (it also works when you do not have the mysql root password)
The commands worked fine with Ubuntu LTS 12.0.4 and and mysql 5.5
sudo service mysql stop #or mysqld
sudo killall -9 mysql
sudo killall -9 mysqld
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo deluser mysql
sudo rm -rf /var/lib/mysql
sudo apt-get purge mysql-server-core-5.5
sudo apt-get purge mysql-client-core-5.5
Have a great day!
Follow these steps to remove the
apache2 service using
Terminal (we were successfully able to uninstall Apache2 from Ubuntu 12.0.4 LTS):
- First stop the apache2 service if it is running with:
sudo service apache2 stop
- Now remove and cleanup all the apache2 packages with:
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
- Finally, run
sudo apt-get autoremove just in case any other cleanup in needed
You can do the following two tests to confirm apache has been removed:
which apache2 – should return a blank line
sudo service apache2 start – should return
apache2: unrecognized service
Have a great day!
Source : AskUbuntu
Back to serious blogging Eh!
Times are changing and I am part of the evolution. The roller coaster rides are now becoming my addiction. I want to do everything at the same time.
A great thing happened last month. I was gifted a 3 months Lynda.com subscription from a client for learning purpose. Now that is something I really liked a lot.
Yet to activate the subscription, I want to use it as much as possible to learn everything. Literally everything.
Are you planning to get something for me? My wishlist is below.
1. Macbook Pro (Latest version, core i7)
2. iPhone (Latest version, 32GB/64GB)
3. Lots of credits on learning sites.
4. Trip to Goa
5. Frequent flyer schemes
6. May be a CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAR!
7. Europe trip.
and the list goes on…!
The site kinda looks empty as of now. Time to fill in the gaps!