![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nodejs
黄祚敏
前端工程师一名。
展开
-
ubuntu linux下nodejs+express的安装配置
一,nodejs的安装.sudo apt-get install nodejs通过这条语句就可以安装上去了,使用的时候,直接在终端输入:nodejs或node 就可以打开了.安装nodejs的同时一般也要安装npm,sudo apt-get install npm这就是安装npm.检验是否安装成功:在终端输入nodejs -v ,终端会输出他nodejs的版本号.这样...原创 2016-07-26 13:15:27 · 177 阅读 · 0 评论 -
ubuntu linux nvm 装nodejs
1.安装nvm: 1.git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm 2.source ~/.nvm/nvm.sh判断是否安装成功: 终端输入:nvm --vesion 查看版本号。如果关闭终端后再打开,发现nvm没有了,则:在 ~/.bashrc,~/.pr...原创 2016-07-30 10:30:02 · 173 阅读 · 0 评论 -
nodejs 实现方法的同步
一.本人推荐的是类库: async 点击跳转到官方文档. 二.实现同步的方法: async.series 该方法可以实现多个函数同步执行.例如:async.series([ function(callback){ 函数一 }, function(callback) { 函数二 ...原创 2017-06-20 14:15:49 · 436 阅读 · 0 评论 -
nodejs-express
一。node环境的安装,参考链接:http://975156298.iteye.com/blog/2314388 二。mongodb数据库的安装,参考链接:http://www.runoob.com/mongodb/mongodb-linux-install.html 三。express框架的安装。$ npm install -g express-generator ...原创 2017-06-27 08:57:18 · 91 阅读 · 0 评论