常用的網(wǎng)絡(luò)營銷的手段有seo優(yōu)化工作
https://developer.aliyun.com/article/983777
我遇到的問題:如何以集群的方式啟動,使用replSet的方式進行啟動:
需要在配置文件上加上replSet的信息
port=27017 #端口
bind_ip=0.0.0.0 #默認是127.0.0.1
dbpath=/usr/local/mongodb/data #數(shù)據(jù)庫存放
replSet=rs0 # 以集群方式repSet啟動
logpath=/usr/local/mongodb/logs/mongodb.log #日志文件
fork=true #設(shè)置后臺運行
#auth=true #開啟認證