1. 参考【中台安装】,安装中台环境
  2. 新建或编辑文件 /opt/maco/app_home/conf/system.properties ,文件内容

    app_home=/app_home



  3. 新建或编辑文件 /app_home/conf/app.properties ,文件内容

    #不填写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
     
  4. 重启中台应用