zoukankan      html  css  js  c++  java
  • 通用后台管理系统(10)项目打包、修改配置文件、项目开源地址

    修改数据库

    文件位置

    /backend/backend-server-rpc/src/main/resources/config/db.properties
    

    修改db.properties 文件

    jdbc.driver=com.mysql.jdbc.Driver
    jdbc.url=jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf-8
    jdbc.username=sunda
    jdbc.password=1314520abc!
    jdbc.filters=stat
    jdbc.maxActive=20
    jdbc.initialSize=1
    jdbc.maxWait=60000
    jdbc.minIdle=10
    jdbc.timeBetweenEvictionRunsMillis=60000
    jdbc.minEvictableIdleTimeMillis=300000
    jdbc.validationQuery=SELECT 'x' 
    jdbc.testWhileIdle=true
    jdbc.testOnBorrow=false
    jdbc.testOnReturn=false
    jdbc.maxOpenPreparedStatements=20
    jdbc.removeAbandoned=true
    jdbc.removeAbandonedTimeout=1800
    jdbc.logAbandoned=true
    

    修改dubbo

    路径

    backend/backend-server-web/src/main/resources/spring/applicationContext-dubbo.xml
    

    修改内容

    <!-- 修改自己的ip地址 -->
    <dubbo:registry protocol="zookeeper" address="127.0.0.1:2181" />
    
    

    路径

    backend/backend-server-rpc/src/main/resources/spring/applicationContext-service.xml
    

    修改内容

    	<!-- dubbo服务器地址  修改这里 -->
    	<dubbo:registry protocol="zookeeper" address="127.0.0.1:2181" />
    
    

    修改redis

    路径

    backend/backend-server-web/src/main/resources/redis.properties
    

    修改内容

    master.redis.ip=
    master.redis.port=6379
    master.redis.password=
    master.redis.max_active=500
    master.redis.max_idle=5
    master.redis.max_wait=10000
    master.redis.timeout=10000
    

    修改图片

    路径

    /backend/backend-server-rpc/src/main/resources/config/resource.properties
    

    修改内容

    #图片上传模式选择 1本地分布式 2.7牛云 3.阿里云 
    UPLOADING_QINIU_TYPE=2
    
    
    #7牛云
    qiniu.filesystem.provider=qiniu
    qiniu.filesystem.bucketName=test
    qiniu.filesystem.urlprefix=http://image.sundablog.com
    qiniu.filesystem.accessKey=
    qiniu.filesystem.secretKey=
    qiniu.filesystem.private=true
    
    
    # 使用fastdfs
    fastDFS.filesystem.provider=fastDFS
    fastDFS.filesystem.servers=192.168.2.234:22122
    fastDFS.filesystem.urlprefix=http://192.168.2.234:80
    fastDFS.filesystem.connectTimeout=3000
    fastDFS.filesystem.maxThreads=100
    
    #使用阿里云
    aliyun.filesystem.provider=aliyun
    aliyun.filesystem.bucketName=sundablogtest
    aliyun.filesystem.endpoint=http://oss-cn-beijing.aliyuncs.com
    aliyun.filesystem.accessKey=
    aliyun.filesystem.secretKey=
    aliyun.filesystem.urlprefix=http://sundablogtest.oss-cn-beijing.aliyuncs.com
    aliyun.filesystem.private=true
    

    开源地址

    https://gitee.com/sunda1314520/TongYongWangZhanHouTaiXiTong
    
  • 相关阅读:
    msysgit 上传文件夹,规范化的日常
    第三次作业【补完作业】
    c++我在努力----第三次作业体会
    编程题
    视频课程作业随笔
    HDU 4123 Bob’s Race 树形dp+单调队列
    HDU 4514 湫湫系列故事——设计风景线 树的直径
    POJ 1239 Increasing Sequences 动态规划
    BNUOJ 52318 Be Friends prim+Trie
    HDU 5925 Coconuts 离散化
  • 原文地址:https://www.cnblogs.com/sundaboke/p/8698774.html
Copyright © 2011-2022 走看看