centos node npm
来源:互联网 发布:怎样集中注意力 知乎 编辑:程序博客网 时间:2024/06/01 23:01
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash -
yum install nodejs
node -v
npm -v
vim demo_server.js
var http = require(‘http’);
http.createServer(function (req, res) {
res.writeHead(200, {‘Content-Type’: ‘text/plain’});
res.end(‘Welcome Node.js’);
}).listen(3001, “127.0.0.1”);
console.log(‘Server running at http://127.0.0.1:3001/‘);
node –debug demo_server.js
阅读全文
0 0
- centos node npm
- centos 安装 node和npm
- centos下安装node.js和npm
- node npm
- CentOS 7.0安装Node.js、npm、htop、pm2
- 安装node.js,Node,npm
- Node.js + NPM + Ubuntu10
- Node.js+npm安装
- Node & NPM upgrade
- Node.js npm
- Configure hexo(node,npm)
- node.js npm常用命令
- 使用NPM更新Node
- ubuntu node.js npm
- Node.js npm
- npm, node版本更新
- Node.js+npm安装
- 升级node与npm
- IP子网划分
- JS 设计模式--以闭包的方式封装
- 基于open stack++的cloudlet的小百科
- 卷积网络循环网络结合-CNN+RNN
- Android ListView adapter使用教程
- centos node npm
- 两台路由器的桥接(wds)
- http升级https部署文档
- UVA1151[Buy or Build] 子集枚举+最小生成树
- 单据类型: res.partner, 操作: read
- 自定义TextView
- 设计模式学习笔记
- 对ResNet的理解
- shell 块代码注释