Installation of Nodejs under CentOS

Source: Internet
Author: User

Newly learned Nodejs, found in the installation of CentOS under the time, and windows have some different places, before the habit in the installation, go to Baidu out, solve the later, then all remember how to solve, but after a period of time, all forget the light, So after all in the blog inside, keep the time to come back to check.

This article demonstrates the installation of the Nodejs and Express development Framework on centos6.5 Software Environment:VMware 10CentOS 6.5 installation process: yum-y Install gcc gcc-c++ openssl-devel the path CD to/usr/local wget Nodejs's official website source package address tar zxvf nodejs source package file name Nodejs folder after CD decompression ./configure--prefix=/usr/local/node Make && make install Vi/etc/profile #set Nodejs Env Export Node_home=/usr/local/node Export path= $NODE _home/bin: $PATH Export node_path= $NODE _home/lib/node_modules: $PATH Source/etc/profile node-v Install Express Global Installation NPM install-g Express-generator This way will be the global installation Express

Installation of Nodejs under CentOS

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.