MAMP like tool for ubuntu

The equivalent tool to MAMP for Linux/ Ubuntu is LAMP.

I believe this is what you are looking for.


MAMP is more than an installer. You can manage various aspects of your web dev environment, but probably the most commonly used is you can stand up a new site on your system with it's own domain name in seconds. It makes web development easy. So things that install Apache, PHP & MySQL only satisfy the least important aspect of what MAMP does.


Basically inorder to use apache, mysql and php you need to install each component as they are all different programs for different purpose:

sudo apt-get install php5 mysql-server php5-mysql apache libapache2-mod-php5

and you need to start/stop mysql and apache as:

sudo service apache2 start/restart/stop
sudo service mysql start/restart/stop

I think mysql supports upstart as well so you can do:

sudo start/restart/stop mysql 

Or you can install tasksel and install LAMP stack:

sudo apt-get install tasksel

and in terminal do:

sudo tasksel and choose LAMP Server which will install all required components for apache, mysql and php.

enter image description here

If you use unity you can use a quicklist for starting/stopping LAMP after installing: What Custom Launchers and Unity Quicklists are available?

OR

There is xampp.

Tags:

Apache2

Gui