- 参考【中台安装】,安装中台环境
- 下载高可用war包 ( maco-ha-xxxx.war)
http://pan.macochart.com/index.php/s/rqk8YdnBCJHRdoB - 更新war包
新建或编辑文件 /opt/maco/app_home/conf/system.properties ,文件内容
Code Block language actionscript3 app_home=/app_home
新建或编辑文件 /app_home/conf/app.properties ,文件内容
Code Block language text #不填写host和port的值 platform.mongodb.host= platform.mongodb.port= #MongoDB配置,请将x.x.x.x换成数据存储节点IP platform.mongodb.replicaset=x.x.x.x:27017 platform.mongodb.dbname=xxxx #有username参数,就会走mongodb的认证,username,password,authdbname三个参数必须同时存在 platform.mongodb.username=xxx platform.mongodb.password=xxx platform.mongodb.authdbname=xxx #Redis配置 redis.host=x.x.x.x redis.port=6379 redis.database=1 redis.password=xxx redis.sentinels.nodes=x.x.x.x.:6379 server.redis.sentinel.masterName=erpsentinel #可选http和https(默认是http) platform.scheme=http
- 重启中台应用