CentOS simple operation command and installation method of node.js
This article shows you the simple operation commands of CentOS and the installation method of node.js, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Here an example describes the simple operation command of CentOS and the installation method of node.js. The details are as follows:
Check the version of centos kernel: CVM
Uname-a
Uname-r
View the linux version:
Cat / etc/issue
Check whether 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 dependency
Yum-y install gcc make gcc-c++ openssl-devel wget
Download node.js source code and installation
Wget 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
The above is the simple operation command of CentOS and the installation method of node.js. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.