Skip to content

Instantly share code, notes, and snippets.

View Donnie's full-sized avatar

Donnie Ashok Donnie

View GitHub Profile
@insane-dev
insane-dev / install.sh
Last active December 8, 2019 16:09
Lemp stack for Ubuntu 16.04 (PHP7, Nginx, MySql, MongoDB, PhpMyAdmin, Git, Node.js, Bower, Gulp, Docker, Composer(with asset plugin), Dnsmasq)
#!/bin/bash
echo "Please, enter your username, it will be added to 'sudo' and 'docker' groups during the process."
read USERNAME
if [ -z "$USERNAME" ] ; then
echo "Exiting... Done."
exit
else
echo "Adding user to 'sudo' group..."