How to build a mean stack environment on windowsazure How to Mangodb on the Chinese version of Azure

Source: Internet
Author: User

A few days ago overseas customers asked if it was possible to build a mean stack on azure. Of course it works, it's just an environment.

First, what is mean Stack.

MEAN Stack is a modern alternative to the lamp (Linux, Apache, Mysql,php/python) stack, where lamp was the dominant form of Web application construction in the late 90.

Angular.js is not used in this application because it is not intended to build an HTML user interface. Instead, it creates a rest API without a user interface, but it can be used as the basis for any interface, such as a Web site, an Android application, or an iOS application.

The Chinese version of Windowsazure is not yet open marketplace so there is no complete environment. Mangodb is the first step.

Here is an example of the 12.04 version of Ubuntu system.

Start with azure Portal and build the virtual machine.

650) this.width=650; "src=" Http:// "style=" float: none; "title=" Mean Stack1.png "alt=" Wkiom1bvj96jckutaanmr5axcuq392.png "/>"

Then log in with Putty.

Step1: Type:

sudo apt-key adv--keyserver hkp:// EA312927650) this.width=650; "src=" http:// "style=" Float:none; "title=" Mean stack 2.png "alt= "Wkiom1bvj96gmeqlaaayijhgh1w858.png"/>

Step2: Type:

echo "Deb Http:// precise/mongodb-org/3.2 Multiverse" | sudo tee/etc/apt/sources.list.d/mongodb-org-3.2.list

650) this.width=650; "src=" Http:// "style=" float: none; "title=" Mean stack 3.png "alt=" Wkiol1bvkfbt6lfuaaawhhf_hfu179.png "/>

Step3: Type:

sudo apt-get update

650) this.width=650; "src=" Http:// "style=" float: none; "title=" Mean Stack4.png "alt=" Wkiol1bvkfadk0-aaaaneri55t4047.png "/>"

A long wait.

Step4: Type:

Latest version of: sudo apt-get install-y mongodb-org

Special versions of:

sudo apt-get install-y mongodb-org=3.2.3 mongodb-org-server=3.2.3 mongodb-org-shell=3.2.3 mongodb-org-mongos=3.2.3 mongodb-org-tools=3.2.3

I'm not going to put a picture here. Basic is the above steps.

How to build a mean stack environment on windowsazure How to Mangodb on the Chinese version of Azure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.