2016年9月18日

linux如何关闭防火墙

摘要: 1) 重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off 2) 即时生效,重启后失效 开启: service iptables start 关闭: service iptables stop 需要说明的是对于Linux下的其它服务都可 阅读全文

posted @ 2016-09-18 15:52 悄悄的来,匆匆的走 阅读(702) 评论(0) 推荐(0) 编辑

linux后台运行程序

摘要: ./mong & 增加一个& 符号后表示程序在后台运行 阅读全文

posted @ 2016-09-18 14:56 悄悄的来,匆匆的走 阅读(128) 评论(0) 推荐(0) 编辑

couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145

摘要: 当直接执行./mongo 出现这样的提示:couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145 解决: 执行./mongod --dbpath=/data/mong/db 启动后再执行 ./mongo 则 阅读全文

posted @ 2016-09-18 10:20 悄悄的来,匆匆的走 阅读(878) 评论(0) 推荐(0) 编辑

导航