Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to install lamp-server in ubuntu 10.10 (the end goal is to install redmine), i am using

sudo tasksel install lamp-server

However after downloading packages it asks for a root password for mysql, now, in my machine i have already an instance of MariaDB 5.24 and i want it to use that (not download or install real mysql), what do i need to do in order to properly configure it with the right database?


share|improve this question
up vote 5 down vote accepted

As bgvaughan stated, tasksel provides package 'groups' in order to setup complete and correctly configured, fully integrated services.

'M' from the 'LAMP' initials refers to mySQL, therefore tasksel will automatically try to install and configure mysql-server.

If you want to use mariaDB, you should install apache & php separately:

sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5

I haven't worked with mariaDB, but i've heard that it's a binary drop-in replacement for mysql, so i guess it should be working ok.

share|improve this answer

tasksel is just a means to install a meta-package, which is a list of packages. There's no particular configuration involved beyond installing the packages themselves. You could skip tasksel and just install the packages you intend to use, or you could use tasksel and then purge mysql, or you could just keep mysql, which shouldn't interfere with your existing database installation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.