開發與維運

centos7安裝啟動monogodb和設置開機自啟動

1.軟件安裝(yum -y install mongodb-server mongodb)
image.png
2.啟動monogodb(systemctl start mongod )
image.png
3.設置開啟自啟動(systemctl enable mongod)
image.png

Leave a Reply

Your email address will not be published. Required fields are marked *