CentOS Simple Operation command and Node.js installation method _ Server Other

Source: Internet
Author: User
Tags centos centos server install node

The example of this article describes the CentOS Simple Operation command and the Node.js installation method. Share to everyone for your reference, specific as follows:

To view the version of the CentOS kernel:

Uname-a
Uname-r

View Linux version:

Cat/etc/issue

Check to see if the system is 64-bit or 32-bit:

Getconf Long_bit

Install Node.js

Because Node.js needs more than Python2.6.

Note:python 2.6 or 2.7 is required to build from source tarballs.

View Python version

Python-v

Installation dependencies

Yum-y install gcc make gcc-c++ openssl-devel wget

Download Node.js Source and installation

wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz
tar-zxf node-v0.12.0.tar.gz
cd node-v0.12.0
. /configure && make && make install

I hope this article will help you with your CentOS server configuration.

Related Article

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.