Aliyun the steps to install Deployment Node.js in an ECS server _node.js

Source: Internet
Author: User
Tags aliyun

The console that Putty used to connect to the server was first downloaded, and FLASHFXP was used to upload files. Here are the detailed steps to take a look.

1. Download Node.js

Download Address: Node.js

Never download with the command line, too slow.

Upload to the server when the download is complete.

2. Decompression

Enter the directory for the Node.js installation package, and then enter the command:

Tar zxf node-latest.tar.gz

3. Compile

into the unpacked folder

Enter command:

./configure

Wait a little while.

And then enter the command:

Make

4. Installation

Command:

Make install

Just wait a minute.

When you are finished, enter

Node-v

If the version number is output, it means the installation is successful!

5. Deployment Applications

You can then use the NPM command to install the required modules.

There was a bit of an episode when installing Bower, installed with root when using Bower installation dependencies, but the sudo problem came and there was "cannot is run with sudo". The error message is as follows:

Fortunately, however, he made it clear, using the following command:

 Bower Install bootstrap--allow-root

Well, the problem solved, the above is the Aliyun ECS Server deployment of installation Node.js All the steps, I hope that the need for friends can help, if you have questions you can message exchange.

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: info-contact@alibabacloud.com 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.