Friday, September 25, 2009

Installing (and fixing) LAMP + PHPMyAdmin under ubuntu 9.04

Tasksel now works for installing the lamp stack, make sure your have no synaptic processes running:
sudo tasksel lamp-server

PHPMyAdmin is available through synaptic, so install from gui or command line:
sudo apt-get install phpmyadmin

PHPMyAdmin installs in /usr/share/, so it won't be available by default.
cd /var/www
sudo ln -s /usr/share/phpmyadmin

You may also want to change the owner of your www directory.
chown alex /var/www

lastly I'd enable ufw (UFW replaced ip tables):
sudo ufw enable

No comments:

All content (c) Alex Smith 2007-2009