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
    
  • 相关阅读:
    在Android模拟器(BlueStacks)中调试录音应用【20121221】
    一路来的脚印_停第二念【20130109】
    Office集锦_Word_禁止在粘帖内容前后添加空格【201318】
    Libgdx使用过程中在Android环境下遇到的各种错误提示的解决【2012112】
    童真趣语【20121217】
    【转】Android中的资源分析、读取【2012113】
    Office集锦_Word_禁止拼写检查【201318】
    BlueStacks中用户自己的SdCard的位置【2012116】
    Eclipse+BlueStacks调试Android应用_补充篇【20121030】
    The Power of H3D2 ! 截图,视频!
  • 原文地址:https://www.cnblogs.com/sundaboke/p/8698774.html
Copyright © 2011-2022 走看看