rhel6.4 安装nodejs和Mysql DB服务 安装好redhat6.4虚拟机后, 安装软件: # yum install gcc-c++ openssl-devel Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to r
因现有项目需要用一个截屏node包,此包必须新版本,所以紧急升级下测试环境nodejs,后续再升级线上,小小试了下node在线升级 方案1,使用npm安装n模块,使用n来升级nodejs 首先要知道nodejs是安装在那个用户底下的,然后切换到相应用户,当然也可以sudo 安装n模块: npm install -g n 升级node.js到最新稳定版 n stable 升级node.js到最新版 n latest 升级node.js到制定版本 n v7.10.0 安装一半的时候也许会因为网络问题