Stella981 Stella981
4年前
SpringBoot集成redis + spring cache
SpringCache集成redis的运行原理:Spring缓存抽象模块通过CacheManager来创建、管理实际缓存组件,当SpringBoot应用程序引入springbootstarterdataredi依赖后吗,容器中将注册的是CacheManager实例RedisCacheManager对象,RedisCacheManager来负责创
Wesley13 Wesley13
4年前
VirtualBox CentOS8 调整分辨率
1概述VirtualBox安装完CentOS8后无法调节分辨率,需要安装额外的工具。2安装依赖包首先确保虚拟机能正常连接网络,然后安装:kernel、kernelcore、kernelmodules、kerneldevel、gcc、make、perl、elfutilsli
Stella981 Stella981
4年前
Docker部署SpringBoot项目
SpringBoot项目代码首先构建一个简单的SpringBoot项目,然后给项目添加Docker支持,最后对项目进行部署。在pom.xml中添加SpringBoot依赖,并添加Web支持。<parent<groupIdorg.springfr
Easter79 Easter79
4年前
SpringBoot集成redis + spring cache
SpringCache集成redis的运行原理:Spring缓存抽象模块通过CacheManager来创建、管理实际缓存组件,当SpringBoot应用程序引入springbootstarterdataredi依赖后吗,容器中将注册的是CacheManager实例RedisCacheManager对象,RedisCacheManager来负责创
Stella981 Stella981
4年前
Linux 源码安装Git
不建议采用yuminstallgit,因为这样安装的版本太老,不利于集成其他应用本文采用tar.gz源码包编译安装,以安装2.8.3版本为例:1、安装git的依赖包yuminstallcurldevelexpatdevelgettextdevelopenssldevelzlibdevelgccperlEx
Stella981 Stella981
4年前
Jetty部署flowable
将flowableidm.war放在${jetty.base}/webapps目录中,启动会报如下错误,原因是ProxyTransactionManagementConfiguration依赖的类javax.annotation.security.DenyAll不在类路径中。DenyAll这个类是在${jetty.home}/lib/annotatio
Stella981 Stella981
4年前
Android开发模版代码(4)——状态栏设置
下面的代码是基于开源项目SystemBarTint(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fjgilfelt%2FSystemBarTint),我们需要添加其依赖compile'com.readystatesoftware.systemba
Easter79 Easter79
4年前
SpringBoot自定注解+SpringAop实现操作日志
使用自定义注解SpringAop实现操作日志记录,记录内容包括请求参数、请求方法、请求响应时间等的记录。一、在pom文件中,引入依赖包和插件。<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootsta
Stella981 Stella981
4年前
Linux环境下源码安装Apache2.2.25
操作环境:RedHatEnterpriseLinux5.6一、安装准备安装Apache一般依赖3个组件:apr、aprutil、pcre。确保这三个组件已经安装。root@bigsrv~rpmqa|grepapraprutil1.2.711.el5_5.2apr1.2.71
Stella981 Stella981
4年前
Spring Cloud Config Bus 分布式配置自动刷新
首先需要在GitHub上面创建一个项目.然后创建3个模块:CloudCenter为服务发现中心.CloudCnofigCenter为配置中心CloudUser为要分布式配置的模块首先创建CloudCenter,引入POM依赖:    <dependency<groupI