Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS5 installation Nodejs     - dd command: do hard disk IO performance test (Linux)

- AngularJS - Getting Started with Routing (Programming)

- MongoDB 2.6 deployment replica set + partitions (Database)

- Share Java-based multithreading file case (Programming)

- Matters Oracle 11.2 single instance when connecting ASM need to pay attention and deal with the problem (Database)

- Eclipse configuration GTK (Linux)

- Linux server operating system security configuration (Linux)

- Oracle physical storage structure outline (Database)

- Management DB2 logs (Database)

- How to manage and use Logical Volume Management LVM in Ubuntu (Linux)

- C ++ function object (Programming)

- pga_aggregate_target and _pga_max_size can not use absolute limit actual PGA (Database)

- CentOS 7.0 local address and configure yum source address priority (Linux)

- Modify Linux SSH default port 22 in several ways (Linux)

- CentOS 7 RHEL 7 to reset the root password (Linux)

- Redis is installed in Ubuntu 14.04 (Database)

- The correct way to open Xcode - Debugging (Programming)

- WebLogic administrator account and reset the password (Database)

- Find details block device with Linux blkid command (Linux)

- OpenGL Programming Guide (8th edition of the original book) - compute shader (Programming)

  CentOS5 installation Nodejs
  Add Date : 2017-08-03      
  In VPS update to Python, we continue to toss Node.js. CentOS repositories not included Node.js; while running Node.js compiled Linux executable files provided by the official show:

node: /lib/libc.so.6: version `GLIBC_2.9 'not found (required by node)

node: /lib/libc.so.6: version `GLIBC_2.6 'not found (required by node)

node: /lib/libc.so.6: version `GLIBC_2.7 'not found (required by node)

Executive yum info glibc can see CentOS glibc (The GNU C Library, Standard C language library) 5 still in the ancient version 2.5, as shown in Figure. That is, since CentOS 5 low glibc library version comes, we can not directly use the new version of the Node (the latest version is Node v0.8.14).

Check the version of glibc

To solve this problem, we need to download and compile the new version of glibc. But according to friends said, because glibc library system is the basis of many systems rely on software to run it, hastily updated glibc may have some incompatibilities. (Not verified this statement, and then taking the time to try it, hehe).

After looking for a long time, and found to provide a yum repository of Node.js Node.js on GitHub Wiki, applicable to CentOS, RHEL, Fedora systems. Because the software library from May 2012 to stop updating, so we installed here Node.js is v6.18 version, although not the latest version, but it should be enough. Installation operations are as follows, with links Putty VPS, in turn execute the following command:

wget http://nodejs.tchol.org/repocfg/el/nodejs-stable-release.noarch.rpm

yum localinstall --nogpgcheck nodejs-stable-release.noarch.rpm

yum install nodejs-compat-symlinks npm

I downloaded and installed here about 16M size, a total of 38 Package.

Node.js installed

PS: CentOS 6 can be directly used to compile Node.js official website for the good executable file. If you want to change to a system Host1Free VPS CentOS 6, can be found in Host1Free Reinstall the control panel, and then choose to install CentOS 6.
- MyCAT separate read and write to achieve MySQL Practice (Database)
- CentOS 6.6 source compiler GCC upgrade to 4.8.2 (Linux)
- Linux Change ssh port and disable remote root login at (Linux)
- Getting Started with Linux system to learn: how to get the process ID (PID) in the script (Linux)
- Oracle archive log full cause abnormal slow database performance (Database)
- Recycle Bin function realization in Linux (Linux)
- Linux module mechanism of (Programming)
- CentOS7 installed MySQL (Database)
- Install Oracle JDK 8 and JVM class loading mechanism in Linux (Linux)
- Vagrant build LNMP environment (Server)
- MySQL Basic tutorial: About varchar (N) (Database)
- Variables Python variables (Programming)
- SHELL script to use anti SSH brute force and vsftpd (Linux)
- Linux, grep, sed usage (Linux)
- How to troubleshoot Windows and Ubuntu dual system time is not synchronized (Linux)
- Experience RHEL7 new features (Linux)
- Oracle 11g user rights management study notes (Database)
- Java reflection Introduction (Programming)
- Linux (Ubuntu) How iptables port mapping (Server)
- Caffe + Ubuntu 14.04 64bit + CUDA 6.5 configuration instructions (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.