Talk:ApachePHPMySQLForUbuntu
Installing phpMyAdmin
Hi all, just thought I'd drop a note in about installing phpMyAdmin on Ubuntu. On Dapper Drake (Ubuntu 6.06 LTS) it doesn't appear to be available using apt-get by default. You have to enable the universe repositories before you can install it. The following commands detailt this:
sudo cp /etc/apt/sources.list /etc/apt/sources.bak
This creates a backup of your sources.list file.
sudo gedit /etc/apt/sources.list
This opens the sources.list file for editing. Once open scroll down and you should see some lines detailing the Universe repositories which are commented out using #. Follow the instructions in the file to uncomment the lines, save the file and close the editor.
sudo apt-get update sudo apt-get dist-upgrade
These then ensure you have the latest software updates applied to your machine, and can take a few minutes depending on your Internet connection etc. Once compelted try...
sudo apt-get install phpmyadmin
This should then hopefully install phpMyAdmin for you.
Additionally you could download the latest version from phpMyAdmin.net, extract the files into your www directory then follow the instructions to configure it (this is simply creating/editing the config file and adding your MySQL details).
For more information please see repositories section of Ubuntuforums.org
I've added this comment whilst at work and haven't tested it however it should work, will update as required once tested.