Skip to content

Instantly share code, notes, and snippets.

@trickymast3r
Last active December 14, 2019 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trickymast3r/815ce95373aacbe1853e5796ee2c32bd to your computer and use it in GitHub Desktop.
Save trickymast3r/815ce95373aacbe1853e5796ee2c32bd to your computer and use it in GitHub Desktop.
Basic Ubuntu Install Command
apt-get install -y git build-essential software-properties-common
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
add-apt-repository -y ppa:nginx/stable && add-apt-repository -y ppa:ondrej/php
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
apt-get update
#php stack
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
apt-get install mariadb-server nginx php7.2-fpm php7.2-common php7.2-cli php7.2-dev
apt-get install php7.2-xml php7.2-mbstring php7.2-curl
apt-get install mariadb-server nginx php7.3-fpm php7.3-common php7.3-cli php7.3-dev php7.3-xml php7.3-mbstring php7.3-curl
#nodejs
apt-get install -y nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment