PDA

View Full Version : [ubuntu] can't install phpmyadmin on ubuntu 14.



tross2
June 1st, 2016, 07:05 PM
sudo apt-get install phpmyadmin
seem to install the package but I can't find the phpmyadmin directory anywhere (it is not in etc, usr, var , unless it's in another dir)
also when I try to uninstall phpmyadmin, the apt-get states it's not installed.

1) it looks like I using the correct command to install
2) what commands can I use to see if it is installed ( the install process flashes by quickly, that I can see any errors)
3) how much space is needed? ( I think there is about 150 meg free (out of 260 meg) on the primary drive) ( all my data and etc, is on a 1tb secondary drive)


other:
this is a stand alone server (on it's own box, not on a VM, not running any gui interface, command line only.)
I do not use terminal or remote to the box ( it has it on monitor, etc)

apache2 is installed and working.
MySQL is installed and working.
php is installed and working.

I have a web site (using php, html, and JS) that I can upload to and it store the info in the database( file name , uploaded by , etc...)
and I can (thru command line) connect to the database and select from the table(s).

TIA

Tim

tross2
June 14th, 2016, 07:35 PM
I was able to fix this this myself by using the following:
( tried some of these before without success (did not try autoremove) but using them all at the same time and some more than once, worked)
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean ( did not really seem to fix anything)
sudo apt-get autoclean ( did not really seem to fix anything)
sudo apt-get autoremove ( This seem to be the key to fix the issue , removed old pkgs and freed up disk space)
sudo dpkg –configure -a ( not sure what the did.)

sudo apt-get install phpmyadmin ( now this installed the pkg and created the folder)