今天研究mongodb,搭建时候发现源码包没提供启动脚本,便顺手写了一个方便使用。 [root@controller mongodb]# cat /etc/init.d/mongodb #!/bin/bash # author: baishaohua # ...