Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Opensource»How to Install Mean.io On Ubuntu, Debian & LinuxMint

    How to Install Mean.io On Ubuntu, Debian & LinuxMint

    By RahulSeptember 21, 20191 Min Read

    MEAN is a full-stack JavaScript-based framework, which accelerates web application development much faster than other frameworks. This tutorial will help you to install Mean stack on Ubuntu, Debian and LinuxMint systems.

    Advertisement

    MEAN.IO have following requirements, to be pre-installed on the system.

    • Node.js
    • MongoDB
    • Git client

    Prerequsities

    First of all, install Nodejs and NPM on your system by running the following commands on your system.

    curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
    sudo apt-get install nodejs
    

    Now execute the following commands to install MongoDB on your system. Visit here for detailed installation instructions about latest mongodb.

    sudo apt-get install mongodb mongodb-server
    

    Now install some more required packages for working with Mean.io.

    sudo apt-get install git
    sudo npm install gulp
    

    Setup Mean.io Stack

    Let’s clone the mean.io source code from its official git repository and install the required node modules.

    git clone --depth 1 https://github.com/linnovate/mean.git
    cd mean && npm install
    

    Start Application

    Now use the following command to start the node development server. This option is not recommended for production use.

    npm start
    

    Start Mean stack Ubuntu

    Then, open a browser and go to:

     http://localhost:3000
    

    Mean.io stack Ubuntu

    javascript. nodejs mean mean stack mean.io
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Install Git on Fedora Linux

    How To Install Git on Fedora Linux

    How to Install OpenCV on Ubuntu 20.04

    How to Install OpenCV on Ubuntu 20.04

    How to Install Mattermost with MySQL on Ubuntu 14.04 & Debian 8

    View 2 Comments

    2 Comments

    1. pffffa on September 16, 2017 4:29 pm

      (function (exports, require, module, __filename, __dirname) { import mongoose from ‘mongoose’;
      ^^^^^^

      SyntaxError: Unexpected token import
      at createScript (vm.js:74:10)
      at Object.runInThisContext (vm.js:116:10)
      at Module._compile (module.js:588:28)
      at Object.Module._extensions..js (module.js:635:10)
      at Module.load (module.js:545:32)
      at tryModuleLoad (module.js:508:12)
      at Function.Module._load (module.js:500:3)
      at Function.Module.runMain (module.js:665:10)
      at startup (bootstrap_node.js:201:16)
      at bootstrap_node.js:626:3

      Reply
    2. nodejsdevelopmentcompany on September 1, 2016 5:51 am

      Thanku for sharing this useful information.. I would like to share something too…
      Thinkwik is an expertise driven web and mobile apps Development Company helping businesses achieve their goal through robust and engaging web and mobile presence. To Build real time application, mobile app and website

      Node Js Development Company

      Android App Development

      iOS App Development

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to Split Large Archives in Linux using the Command Line
    • System.out.println() Method in Java: A Beginner’s Guide
    • Split Command in Linux With Examples (Split Large Files)
    • Test Your Internet Speed from the Linux Terminal
    • 11 Practical Example of cat Command in Linux
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.