Debian Stretch安装nodejs TLS版本


Warning: array_rand(): Array is empty in /srv/htdocs/wp-content/plugins/easy-random-quotes/kl-easyrandomquotes.php on line 268

当前稳定发行版的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

===

Leave a Reply

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