Dict.CN 在线词典, 英语学习, 在线翻译 ------------- MyGitee My腾云code My51cto

Happy_EveryDay

可以平凡 不可以平庸 无爱则无忧,无欲则无求,无怒而无敌,无怨才是佛。所有烦恼,都是放不下的执著 开源技群 328035181 MyGitee

博客园 首页 新随笔 管理
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 47 下一页

2021年8月11日 #

摘要: 1、SpringBoot配置文件 SpringBoot配置文件,对于SpringBoot的默认配置来说,如果默认配置不适用实际运用的场景情况下,可以使用配置文件覆盖默认配置,比如内嵌的Tomcat默认端口是8080,就可以使用配置文件将默认配置覆盖。另外我们在项目中,有可能封装一些通用SDK,也可以 阅读全文
posted @ 2021-08-11 09:10 2026cn 阅读(458) 评论(0) 推荐(0)

摘要: SpringBoot的@Enable*开头的注解底层依赖于@Import注解导入一些类,使用@Import导入的类会被Spring加载到IOC容器中, 4种用法 直接导入Bean就比较简单了,新建一个User类 public class User{ private String name; priv 阅读全文
posted @ 2021-08-11 08:54 2026cn 阅读(124) 评论(0) 推荐(0)

2021年8月5日 #

摘要: 1、前言 在上一篇文章中使用了SpringBoot整合Swagger2,搭建Restful API在线文档( 链接 )。但是有大佬开发出了功能更加强大的在线文档框架——Swagger-Bootstrap-UI,现在已经更名为Knife4j,因为仅仅一个Swagger-Bootstrap-UI皮肤已经 阅读全文
posted @ 2021-08-05 11:00 2026cn 阅读(318) 评论(0) 推荐(0)

2021年8月4日 #

摘要: 问题描述,在玩swagger2的时候,由于出于好奇心,导入最新版的3.0.0,发现结果不对劲,访问页面404,最后找出原因并解决出来了; 有两种解决方案;第一种是降低版本,第二种不降低版本,导入其他的依赖和注解; 1)降低版本;使用3.0.0以下的版本即可; 相关依赖: https://mvnrep 阅读全文
posted @ 2021-08-04 15:10 2026cn 阅读(1495) 评论(0) 推荐(0)

2021年8月2日 #

摘要: ################################################ 1.容器编排docker compose 为啥用?? 1)、springboot项目 需要依赖redis、mysql5.7、nginx。如果使用docker原生部署的话,则需要安装redis、mysql 阅读全文
posted @ 2021-08-02 00:13 2026cn 阅读(169) 评论(0) 推荐(0)

2021年7月30日 #

摘要: 1、Nacos本地安装和启动 git clone https://github.com/alibaba/nacos.git inux/Unix/Mac系统启动命令(standalone代表着单机模式运行,非集群模式): sh startup.sh -m standalone Windows系统 启动 阅读全文
posted @ 2021-07-30 10:15 2026cn 阅读(171) 评论(0) 推荐(0)

2021年7月4日 #

摘要: 1)、将springboot项目打包 2)、制作dockerfile文件 ##基础镜像使用javaFROM java:8##自己定制的镜像文件作者MAINTAINER www.mayikt.com##VOLUME 用于指定临时文件且目录为/tmp##其效果是在主机 /var/lib/docker 目 阅读全文
posted @ 2021-07-04 17:42 2026cn 阅读(268) 评论(0) 推荐(0)

2021年6月30日 #

摘要: https://www.pianshen.com/article/63041218944/ 打开了一个之前运行的没问题的springboot的项目,发现竟然不去加载application.yml文件了,application.yml也是有的,超级奇怪。将项目运行到tomcat下,也没有找到该文件。 阅读全文
posted @ 2021-06-30 17:54 2026cn 阅读(1470) 评论(0) 推荐(0)

2021年6月28日 #

摘要: 构建镜像 构建镜像的特征(前提) 1、需要基础环境 2、可执行命令 3、启动命令 Dockerfile Dockerfile 由一行行命令语句组成, 并且支持以 # 开头的注释行。一般而言, Dockerfile 主体内容分为四 部分:基础镜像信息、 维护者信息、 镜像操作指令和容器启动时执行指令。 阅读全文
posted @ 2021-06-28 11:18 2026cn 阅读(133) 评论(0) 推荐(0)

2021年6月27日 #

摘要: ####参考: CentOS Dockerfile ######官网ttps://github.com/CentOS/sig-cloud-instance-images/blob/b2d195220e1c5b181427c3172829c23ab9cd27eb/docker/Dockerfile # 阅读全文
posted @ 2021-06-27 17:27 2026cn 阅读(190) 评论(0) 推荐(0)

摘要: https://github.com/docker-library/tomcat/blob/master/8.5/jdk11/adoptopenjdk-hotspot/Dockerfile 1、FROM 指定父镜像,基于哪个镜镜image构建|指定基础镜像,必须为第一个命令 如下图 2、MAINTA 阅读全文
posted @ 2021-06-27 15:30 2026cn 阅读(86) 评论(0) 推荐(0)

2021年6月22日 #

摘要: dockerfile docker安装tomcat i)、tomcat镜像 dockerfile:依赖下载镜像 环境配置封装 安装tomcat dockerfile 内容如下######## https://github.com/docker-library/tomcat/blob/master/8 阅读全文
posted @ 2021-06-22 21:40 2026cn 阅读(87) 评论(0) 推荐(0)

2021年6月20日 #

摘要: -v /data/nginx/html 宿机目录 --挂载共享 容器目录 /usr/share/nginx/html 1、####宿机目录 /data/nginx/html********* ####外网访问宿机:http://192.168.223.128 ####宿机内访问nginx容器:cur 阅读全文
posted @ 2021-06-20 21:38 2026cn 阅读(166) 评论(0) 推荐(0)

摘要: https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors dokcer info 查看镜像加速器配置 docker pull tomcat:6 docker images docker 阅读全文
posted @ 2021-06-20 20:22 2026cn 阅读(312) 评论(0) 推荐(0)

2021年6月9日 #

摘要: 1. WeUI 1.1 WeUI WeUI是微信官方设计团队为微信 Web 开发量身设计,可以令用户在HTML5应用中的使用感知更加统一。 组件包含button、cell、dialog、 progress, toast、article、icon等等。 资源 官方Demo:https://weui.i 阅读全文
posted @ 2021-06-09 09:14 2026cn 阅读(555) 评论(0) 推荐(0)

2021年6月7日 #

摘要: 在web项目中有很多时候需要在项目启动时就执行一些方法,而且只需要执行一次,比如:加载解析自定义的配置文件、初始化数据库信息等等,在项目启动时就直接执行一些方法,可以减少很多繁琐的操作。 这里写了个简单的实例,用的是监听器机制,创建一个类实现ServletContextListener 接口,实现里 阅读全文
posted @ 2021-06-07 16:44 2026cn 阅读(155) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2021-06-07 10:46 2026cn 阅读(52) 评论(0) 推荐(0)

2021年6月4日 #

摘要: 阅读全文
posted @ 2021-06-04 09:24 2026cn 阅读(56) 评论(0) 推荐(0)

2021年6月2日 #

摘要: 000 阅读全文
posted @ 2021-06-02 09:31 2026cn 阅读(43) 评论(0) 推荐(0)

2021年5月31日 #

摘要: 阅读全文
posted @ 2021-05-31 09:21 2026cn 阅读(47) 评论(0) 推荐(0)

2021年5月29日 #

摘要: 阅读全文
posted @ 2021-05-29 20:22 2026cn 阅读(47) 评论(0) 推荐(0)

2021年5月27日 #

摘要: 1、打开myeclipse,选择Window -> Preferences 》MyEclipse 》servers 2、点击servers >weblogic >选择 安装的版本 3、BEA home directory:weblogic的安装目录,默认一般为C:\Programs\Oracle W 阅读全文
posted @ 2021-05-27 17:21 2026cn 阅读(299) 评论(0) 推荐(0)

摘要: 一、下载weblogic 到Oracle官网https://www.oracle.com/downloads/index.html,我在这里下载的是weblogic12C进行安装:https://www.oracle.com/technetwork/middleware/weblogic/downl 阅读全文
posted @ 2021-05-27 17:20 2026cn 阅读(1196) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2021-05-27 09:38 2026cn 阅读(44) 评论(0) 推荐(0)

2021年5月26日 #

摘要: 阅读全文
posted @ 2021-05-26 09:36 2026cn 阅读(39) 评论(0) 推荐(0)

2021年5月24日 #

摘要: 阅读全文
posted @ 2021-05-24 09:11 2026cn 阅读(48) 评论(0) 推荐(0)

2021年5月21日 #

摘要: 阅读全文
posted @ 2021-05-21 09:14 2026cn 阅读(40) 评论(0) 推荐(0)

2021年5月19日 #

摘要: 阅读全文
posted @ 2021-05-19 09:17 2026cn 阅读(45) 评论(0) 推荐(0)

2021年5月18日 #

摘要: 作者:tom链接:https://www.zhihu.com/question/449220157/answer/1837883500来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 北国六镇,一时多少豪杰!不过,多数豪杰虽然卷入这场大混乱,但多有以对付起义、对付乱军的 阅读全文
posted @ 2021-05-18 17:10 2026cn 阅读(934) 评论(0) 推荐(0)

2021年5月17日 #

摘要: 阅读全文
posted @ 2021-05-17 14:11 2026cn 阅读(46) 评论(0) 推荐(0)

2021年5月14日 #

摘要: 阅读全文
posted @ 2021-05-14 09:28 2026cn 阅读(42) 评论(0) 推荐(0)

2021年5月13日 #

摘要: 阅读全文
posted @ 2021-05-13 09:18 2026cn 阅读(62) 评论(0) 推荐(0)

2021年5月12日 #

摘要: 阅读全文
posted @ 2021-05-12 09:19 2026cn 阅读(62) 评论(0) 推荐(0)

2021年5月11日 #

摘要: 阅读全文
posted @ 2021-05-11 10:11 2026cn 阅读(66) 评论(0) 推荐(0)

2021年5月10日 #

摘要: 阅读全文
posted @ 2021-05-10 11:39 2026cn 阅读(75) 评论(0) 推荐(0)

2021年5月9日 #

摘要: 阅读全文
posted @ 2021-05-09 13:12 2026cn 阅读(47) 评论(0) 推荐(0)

2021年5月8日 #

摘要: 阅读全文
posted @ 2021-05-08 09:35 2026cn 阅读(53) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2021-05-08 09:32 2026cn 阅读(63) 评论(0) 推荐(0)

2021年5月7日 #

摘要: 阅读全文
posted @ 2021-05-07 11:28 2026cn 阅读(64) 评论(0) 推荐(0)

2021年5月6日 #

摘要: 阅读全文
posted @ 2021-05-06 09:43 2026cn 阅读(53) 评论(0) 推荐(0)

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 47 下一页