Skip to content

Instantly share code, notes, and snippets.

@linuxbiekaisar
Created April 9, 2020 12:13
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 linuxbiekaisar/cee4d1d3e8201abe0f684578132367c6 to your computer and use it in GitHub Desktop.
Save linuxbiekaisar/cee4d1d3e8201abe0f684578132367c6 to your computer and use it in GitHub Desktop.
How to install mean on Ubuntu 18.04 LTS
# Youtube:
# !/bin/sh
# MEAN Setup
# ==========
# Install Git:::
sudo apt-get install git
# install Nodejs:::
# At first download node-v12.16.2.tar.gz from this website : https://nodejs.org/en/download/ and then extract & install.
tar xvzf node-v12.16.2.tar.gz
cd node-v12.16.2.tar.gz
./configure
make
sudo make install
# Install npm:::
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
sudo apt update && sudo apt install yarn
yarn --version
# Install Mongodb:::
# Download mongodb from this website "https://www.mongodb.com/download-center/community" and then install it using Ubuntu Software
# Finally run the following commands to complete mean setup.
git clone https://github.com/linnovate/mean
cd mean
cp .env.example .env
yarn
yarn start
# Now log in to the browser using localhost:4040 or the port which shows in terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment