上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 60 下一页
摘要: 三台虚机的IP地址被DHCP重分了一下1.MySQL 配置 先建一个 nacos_config 数据库 将SQL执行(方法很多,选自己喜欢的就行) 2.修改 application.properties 配置文件(application.properties.example 是示例) 先备份一下 v 阅读全文
posted @ 2020-04-19 19:00 VipSoft 阅读(1396) 评论(0) 推荐(0)
摘要: 虚机准备、Nacos 文件准备、MySQL 5.7 安装 https://nacos.io/zh-cn/docs/cluster-mode-quick-start.html 根据官网要求,至少3个节点(VM VirtualBox 比VMWare占资源要少些) 2.用 SecureCRT(工具无所谓, 阅读全文
posted @ 2020-04-13 00:11 VipSoft 阅读(2038) 评论(0) 推荐(0)
摘要: 1. 将exe 添加到右健菜单 Cmder.exe /REGISTER ALL 阅读全文
posted @ 2020-04-06 19:02 VipSoft 阅读(220) 评论(0) 推荐(0)
摘要: MySQL 项目中 SQL 脚本更新、升级方式,防止多次重复执行 Oracle 项目中 SQL 脚本更新方式 一套代码,多家部署时,在SQL脚本升级时,通过一个SQL文件给运维,避免出现SQL执行序顺出错及漏执行SQL 常用的如下: --如果不存在这条数据,就添加 IF NOT EXISTS (SE 阅读全文
posted @ 2020-04-04 20:23 VipSoft 阅读(739) 评论(0) 推荐(0)
摘要: 1. 关闭 Intellij IDEA (2018以下的版本无效),打开 workspace.xml 找到 RunDashboard 节点。添加如果配置 <option name="configurationTypes"> <set> <option value="SpringBootApplica 阅读全文
posted @ 2020-03-29 14:39 VipSoft 阅读(370) 评论(0) 推荐(0)
摘要: 开发修改代码后,无需重启idea的服务。 1 模块中添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</ 阅读全文
posted @ 2020-03-29 12:58 VipSoft 阅读(291) 评论(0) 推荐(0)
摘要: 用的apache-maven-3.6.2 报错,解决方法:降级成 apache-maven-3.6.1 版本 IDEA 报 Unable to import maven project: See logs for details,到log目录下查看详细日志 2020-03-28 22:38:04,5 阅读全文
posted @ 2020-03-28 23:14 VipSoft 阅读(1839) 评论(0) 推荐(0)
摘要: 1.安装 docker-compose 将 docker-compose-Linux-x86_64 传到 /usr/local/bin 目录下,并改名为 docker-compose 2.设置权限 [root@localhost ~]# chmod +x /usr/local/bin/docker- 阅读全文
posted @ 2020-03-28 17:22 VipSoft 阅读(1920) 评论(0) 推荐(0)
摘要: 首先创建一个镜像,点击:创建一个简单的Docker镜像 1.先注册帐号 https://hub.docker.com/ 2.将镜象推上去 [root@localhost docker]# docker login [root@localhost docker]# docker tag hello-k 阅读全文
posted @ 2020-03-28 14:26 VipSoft 阅读(581) 评论(0) 推荐(0)
摘要: 1. 创建 Dockerfile 文件、index.html测试页面 [root@localhost docker]# vi Dockerfile FROM nginx:1.17.6 #基于 nginx 1.17,在build 时,会自动pull 一个 1.17.6 版本的 nginx ENV LA 阅读全文
posted @ 2020-03-28 13:35 VipSoft 阅读(2188) 评论(0) 推荐(0)
摘要: 9001 POM.XML <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins 阅读全文
posted @ 2020-03-25 22:34 VipSoft 阅读(654) 评论(0) 推荐(0)
摘要: 新建一个配置类 package com.cloud.client.user.feign; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanDefi 阅读全文
posted @ 2020-03-25 10:46 VipSoft 阅读(4943) 评论(0) 推荐(1)
摘要: Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_191] at java.lang.Cla 阅读全文
posted @ 2020-03-25 09:43 VipSoft 阅读(4589) 评论(0) 推荐(0)
摘要: 如图 这两文件夹是 IDEA 自动生成的,在开发过程中用不到它。可以把它隐藏(不在 IDEA中显示),操作如下: 2024 版本设置如下 OK后,立即生效 阅读全文
posted @ 2020-03-25 08:41 VipSoft 阅读(1140) 评论(0) 推荐(0)
摘要: [root@localhost ~]# docker pull zookeeper Using default tag: latest latest: Pulling from library/zookeeper 68ced04f60ab: Already exists 4874c5772968: 阅读全文
posted @ 2020-03-22 17:36 VipSoft 阅读(854) 评论(0) 推荐(0)
摘要: 安装 ElasticSearch https://www.elastic.co/guide/cn/index.html [root@localhost ~]# docker pull elasticsearch Using default tag: latest latest: Pulling fr 阅读全文
posted @ 2020-03-22 16:27 VipSoft 阅读(460) 评论(0) 推荐(0)
摘要: JPA 默认会将实体中的 TABLE_NAME 转成小写如 @Entity @Table(name = "EMPLOYEE") public class Employee { @Id private String id; 会报:java.sql.SQLSyntaxErrorException: Ta 阅读全文
posted @ 2020-03-13 23:54 VipSoft 阅读(3974) 评论(0) 推荐(0)
摘要: ob for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for detail 阅读全文
posted @ 2020-03-13 15:18 VipSoft 阅读(19791) 评论(2) 推荐(0)
摘要: 效果如图: JAVA 代码 public static void main(String[] args) throws Exception { String str = "<row PTID=\"80268175\" ZYH=\"2002868\" XM=\"刘云1\" YZLB=\"0\" YSX 阅读全文
posted @ 2020-03-12 22:10 VipSoft 阅读(403) 评论(0) 推荐(0)
摘要: SQL Server 事务执行、回滚 MySQL 事务回滚。在执行删除、更新等操作时,防止误操作 SELECT * FROM TABLE_NAME I WHERE I.TRANS_NO='P-2019000025'; # 原始数据 START TRANSACTION; SELECT COUNT(1) 阅读全文
posted @ 2020-03-12 15:47 VipSoft 阅读(847) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 60 下一页