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://s1.51cto.com/wyfs02/M01/7C/A8/wKiom1bVJ96jcKUtAANmr5AXcuQ392.png "style=" float: none; "title=" Mean Stack1.png "alt=" Wkiom1bvj96jckutaanmr5axcuq392.png "/>"
Then log in with Putty.
Step1: Type:
sudo apt-key adv--keyserver hkp://keyserver.ubuntu.com:80--recv EA312927650) this.width=650; "src=" http:// S5.51cto.com/wyfs02/m02/7c/a8/wkiom1bvj96gmeqlaaayijhgh1w858.png "style=" Float:none; "title=" Mean stack 2.png "alt= "Wkiom1bvj96gmeqlaaayijhgh1w858.png"/>
Step2: Type:
echo "Deb Http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.2 Multiverse" | sudo tee/etc/apt/sources.list.d/mongodb-org-3.2.list
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7C/A7/wKioL1bVKFbT6lFUAAAWHHF_HFU179.png "style=" float: none; "title=" Mean stack 3.png "alt=" Wkiol1bvkfbt6lfuaaawhhf_hfu179.png "/>
Step3: Type:
sudo apt-get update
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7C/A7/wKioL1bVKFaDK0-aAAANeRI55t4047.png "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