上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 1.dockerFile定制镜像 定义一个nginx配置文件 FROM nginx RUN echo '这是一个本地构建的nginx镜像' > /usr/share/nginx/html/index.html [root@qicheng Dockerfile]# docker build -t ng 阅读全文
posted @ 2020-11-24 16:33 启程华夏 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 1.docker镜像使用 列出镜像 [root@qicheng /]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu 15.10 a454816bdf34 2 minutes ago 0B ubuntu latest d70eaf 阅读全文
posted @ 2020-11-24 16:18 启程华夏 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1.获取所有docker命令 docker 2.查询指定命令具体用法 docker node --help 3.通过容器获取ubuntu镜像 [root@qicheng ~]# docker pull ubuntuUsing default tag: latestlatest: Pulling fr 阅读全文
posted @ 2020-11-24 15:52 启程华夏 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1.指定镜像运行一个程序 docker run ubuntu:15.10 /bin/echo "Hello world" 参数: docker: Docker 的二进制执行文件。 run: 与前面的 docker 组合来运行一个容器。 ubuntu:15.10 指定要运行的镜像,Docker 首先从 阅读全文
posted @ 2020-11-24 15:23 启程华夏 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 容器快速部署: 这里我们采用官网脚本快速安装: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 启动docker: sudo systemctl start docker 验证: sudo docker run h 阅读全文
posted @ 2020-11-24 15:12 启程华夏 阅读(79) 评论(0) 推荐(0) 编辑
摘要: http://192.168.8.236:8800/eureka/apps/HM-FINANCE-SERVICE/192.168.8.236:hm-finance-service:7012/status?value=DOWN 阅读全文
posted @ 2020-10-30 11:25 启程华夏 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 方法一:springboot提供函数,返回什么类型,对应就使用什么类型接受解析; List<Phone> query = jdbcTemplate.query(sql, new Object[]{mobile}, new BeanPropertyRowMapper(Phone.class)); 方法 阅读全文
posted @ 2020-10-29 18:19 启程华夏 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 方法1: 通过随机数从对象中获取 List<ExtensionDTO> extension = ucExtensionService.getExtersionByOrgCode(orgCode); log.info("机构绑定分机{}",extension); // 4.随机查找该部门下一个空闲分机 阅读全文
posted @ 2020-10-29 18:14 启程华夏 阅读(978) 评论(0) 推荐(0) 编辑
摘要: 1.http代理, 反向代理 2. 负载均衡 nginx负载策略:内置:轮询、加权、ip hash Ip hash算法,对客户端请求的ip进行hash操作,然后根据hash结果将同一个客户端ip的请求分发给同一台服务器进行处理,可以解决session不共享的问题。 配置文件: #user nobod 阅读全文
posted @ 2020-08-03 14:21 启程华夏 阅读(159) 评论(0) 推荐(0) 编辑
摘要: yum install -y https://files.freeswitch.org/repo/yum/centos-dev/freeswitch-dev-repo-0-1.noarch.rpm epel-release yum-builddep -y freeswitch yum install 阅读全文
posted @ 2020-07-16 12:20 启程华夏 阅读(1128) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页