CSS小知识以及mongod.conf相关配置First Post: 2018-06-08Last Update: 2023-08-22媒介查询H5端横屏与竖屏12@media all and(orientation: landscape) /* 横屏CSS */@media all and(orientation: portrait) /* 竖屏CSS */ CSS 动态计算长度值1calc( ... ) mongod.conf1234logpath = /usr/local/src/mongodb/logs/mongod.loglogappend = truefork = truedbpath = /usr/local/src/mongodb/data/db 此处遇坑由于mongodb目录下一开始无logs文件夹,故以–fork参数启动mongd失败。报错: 1234about to fork child process, waiting until server is ready for connections.forked procsee: 1624 (PS: 此数字不固定)ERROR: child process failed, exited with error number 1To see additional in this output, start without the "--fork" option.∧ ≡