Debian Stretch安装nodejs TLS版本

Posted on Posted in GNU/Linux

当前稳定发行版的nodejs有很多安全性问题,可以从nodesource安装当前的6.X TLS版本

$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
$ sudo apt-get install -y nodejs

有时可能会从源包构建组件,所以可以先安装build环境:

$ sudo apt-get install -y build-essential libssl-dev

References:
[1]Installation instructions

===
[erq]

Leave a Reply

Your email address will not be published. Required fields are marked *