Install node. js on RedHat

Source: Internet
Author: User
Tags install node
Install node. js on RedHat

Install node. js on RedHat

Error:

 

Checking for OpenSSL: not found
Checking for function ssl_library_init: not found

Checking for header OpenSSL/crypto. h: not found

 

Solution:

1, http://rpmfind.net/linux/rpm2html/search.php? Query = OpenSSL-devel

Search "openssh-devel"

Search "OpenSSH"

Download the SDK. The version must be the same. Use rpm-I *. rpm for installation.

2. Go to the directory where node. JS is located.

3,./configure

All compliant

4. Make

5. sudo make install

6. Run node again to solve the problem.

 

Note:

1, on the RedHat v6.2 x86-64, yum install openssl_devel doesn't work

2. Because encryption is required, configure-without-SSL to disable this message is not allowed.

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.