新网创想网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
yum -y install MongoDB mongodb-devel mongodb-server
fork = true
pidfilepath = /var/run/mongodb/mongod.pid
logpath = /var/log/mongodb/mongod.log
unixSocketPrefix = /var/run/mongodb
dbpath = /var/lib/mongodb
port=27017
systemctl start mongod
mongo