摘要:
阅读全文
摘要:
注:本文以python3为例,python2.x是一样的不再赘述 提前准备: python/python3已经安装好,如果没有请参考以下资料进行安装 linux安装python3 win安装python3 window安装django 使用pip进行安装 1.打开cmd窗口 python3 -m p 阅读全文
摘要:
1.先查看是否已经开通 2.没有开通,去linux机器查看防火墙,确实没有开通 3.修改防火墙 vim /etc/sysconfig/iptables 4.重启防火墙之后重新查看已经可以看到8000端口了 5.在window机器再telnet测试一下,或者直接可以访问相关服务看看 搞定咯~~~~ 阅读全文
摘要:
查询某个字段是否存在 db.student.findOne({name:{$exists:true}}) db.student.findOne({'department.name':{$exists:true}}) db.student.findOne({'department.name':{$ex 阅读全文