摘要:
The semantics of Node's require() function were designed to be general enough to support a number of sane directory structures. Package manager programs such as dpkg, rpm, and npm will hopefully find it possible to build native packages from Node modules without modification.Node的require()函数的语义被
阅读全文
posted @ 2012-10-06 21:07
逍遥叹
阅读(271)
推荐(0)
编辑
摘要:
安装步骤:1.运行"apt-get install mongo"如果遇到找不到安装包的话运行"apt-get update"2.这时装好以后应该会自动运行mongod程序,通过"pgrep mongo -l"查看进程是否已经启动3.在终端输入"mongo",然后回车进入数据库二. 重启系统以后mongo程序要自己重新手动启动,步骤如下:1.运行“locate mongo”命令查看系统默认把mongo装到了哪里,这里主要关注三个东西.(1)一个是名为“mongod”的程序的位置(他相当于mongo数据库的Server
阅读全文
posted @ 2012-10-06 10:47
逍遥叹
阅读(2584)
推荐(0)
编辑