摘要: mongoexport -h 127.0.0.1 -p 27170 -d dbs -c table -f field1,field2,field3 -q condition 路径、名称 mongoimport -h 127.0.0.1 -d dbName -c tableName --file 路径 阅读全文
posted @ 2016-07-24 02:57 燕山小将 阅读(212) 评论(0) 推荐(0)
摘要: 连接mongo 时 在window的可视化工具 有时会出现这种无法找到表的情况 那么我们所需要的是什么?? 用客户端的命令行 查看是否能够真正连接成功 下载mongo window 并安装 这个网上很多内容就不说了 安装成功后 在环境变量中 加入mongo.exe 的路径 之后在命令行内 mongo 阅读全文
posted @ 2016-05-25 11:14 燕山小将 阅读(168) 评论(0) 推荐(0)
摘要: server{ listen 80; server_name api.zyy.com; root /var/www/api_zyy; index index.php; location ~ /assets/ {# access_log logs/static.log common; #设置静态内容有 阅读全文
posted @ 2016-05-24 19:59 燕山小将 阅读(906) 评论(0) 推荐(0)
摘要: 通常我们应用nginx做代理时,用到它的轮训服务 #设置轮询名称 upstream zyy{ server 127.0.0.1:8080 #本机的apache服务 } server { listen 80; server_name test.com; root /test; location / { 阅读全文
posted @ 2016-05-24 19:52 燕山小将 阅读(2328) 评论(0) 推荐(0)