News for hackers. Stuff that matters.

Ask HN:MAMP like tool for Ubuntu/Linux?

Does anyone know if a simple MAMP like tool exists for ubuntu/linux? Doesn't have to in GUI, actually preferred that it is not GUI, but a simple tool to add, start and end vhost.
( 8 comments | 3 points | on HN )
Re:Ask HN:MAMP like tool for Ubuntu/Linux? by helpful on Thursday January 30, 2014 @02:20PM (#7152760)
Re:Ask HN:MAMP like tool for Ubuntu/Linux? by ereckers on Thursday January 30, 2014 @07:10PM (#7154324)
Isn't MAMP/WAMP's purpose to emulate a Linux environment? Basically, a way of running a LAMP stack application on a Windows machine.

I could be out of my league here and you may have other reasons, but you could just run VM's. Vagrant/Virtualbox takes all the pain away.

Re:Ask HN:MAMP like tool for Ubuntu/Linux? by LarryMade2 on Thursday January 30, 2014 @07:46PM (#7154499)
Nice thing about MAMP and WAMP is the control GUI, start stop services, also specify the current web root, etc. I would like to see a nice local webhost control GUI in Linux for my web development.
Re:Ask HN:MAMP like tool for Ubuntu/Linux? by johnatwork on Thursday January 30, 2014 @02:02PM (#7152633)
Could this be what you are looking for? https://help.ubuntu.com/community/ApacheMySQLPHP
Re:Ask HN:MAMP like tool for Ubuntu/Linux? by uptownhr on Thursday January 30, 2014 @04:25PM (#7153460)
I'm looking for something more like

cmd 'app add site Test' - this would create the vhost file, put it in sites-enabled with the doc root.

Re:Ask HN:MAMP like tool for Ubuntu/Linux? by uptownhr on Thursday January 30, 2014 @04:27PM (#7153465)
something that is cmd line or api driven would be best. I'd love to try and build some kind of simple web panel for. I just see the cpanel and the likes are too complicated and want to bring something simple like Digital Oceans cp to the world.
Re:Ask HN:MAMP like tool for Ubuntu/Linux? by phantom_oracle on Thursday January 30, 2014 @04:54PM (#7153573)
There is a product called: XAMPP for linux which is the linux version of XAMPP/WAMP or whatever the name of it is now.
Re:Ask HN:MAMP like tool for Ubuntu/Linux? by Piskvorrr on Thursday January 30, 2014 @02:03PM (#7152639)
a2ensite + a2dissite for enabling/disabling a vhost; for adding one, I have a template in /etc/apache2/sites-available, copy that and then edit