To remove mysql completely from your system Just type in terminal
- sudo apt-get remove --purge mysql-server mysql-client mysql-common
- sudo apt-get autoremove
- sudo apt-get autoclean
How to UnInstall all packages in apt-get in Ubuntu:
apt-get --purge remove <package>
sudo apt-get purge <list of packages found>
apt-get clean
dpkg --get-selection | grep deinstall > <llist of packages found>
How To find version of software in linux
# php -v PHP 5.3.2 (cli) (built: May 19 2010 03:43:49)
# mysql -V mysql Ver 14.14 Distrib 5.1.47, for pc-linux-gnu (i686) using readline 5.1
Get the path of the service
Get the path of running Apache$ ps -ef | grep apache
apache 12846 14590 0 Oct20 ? 00:00:00 /usr/sbin/apache2
Append
-V
argument to the path$ /usr/sbin/apache2 -V | grep SERVER_CONFIG_FILE
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
No comments:
Post a Comment