如何在RHEL 7.5服务器上安装NodeJS

时间:2018-08-01 16:10:46

标签: node.js linux centos yum rhel

如何在RHEL Server 7.5上安装NodeJS?

我具有root特权,并且首先尝试过:

curl -sL https://rpm.nodesource.com/setup_8.x | bash -

然后:

yum install -y nodejs

错误:

Loaded plugins: amazon-id, product-id, rhui-lb, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
https://rpm.nodesource.com/pub_8.x/el/7/x86_64/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 407"
Trying other mirror.
No package nodejs available.
Error: Nothing to do

推荐在RHEL / CentOS服务器上安装NodeJS的方法是什么?如何解决上述问题?

谢谢。

0 个答案:

没有答案