centos升级默认node版本

最新版的elasticsearch 在装head插件的时候会报一个错误,这里须要升级下node版本就行了node

npm install -g nnpm

n stableelasticsearch

node -vide

v9.0.0spa