解决办法: cmd命令:启用下防百火墙规则——使用管理员权限的cmd运行下面这条命令就可以ping了。netsh advfirewall firewall set rule name="文件和打印机共享内(回显请求 - ICMPv4-In)" new enable=yes 图形化:打开控制面板 ...
之前想把两个项目部署到tomcat里,总是报错,网上查了查,说可能是spring boot项目会争夺注册中心~ 加上配置 spring.jmx.enabled=false 就可以了 ...
分类:
编程语言 时间:
2020-04-17 15:26:19
阅读次数:
77
当我们需要在Vue项目中添加音频文件时,发现放到assets目录下的时候并不能播放。 两种常见的配置方法: 方法一:将音频文件放在static目录中,然后进行调用 <audio class='success' src="/static/audios/bgm.mp3"></audio> 缺点:打包后的 ...
分类:
其他好文 时间:
2020-04-17 12:27:05
阅读次数:
330
chrony 安装 Chrony 1.安装Chrony yum install chrony -y 启动chronyd进程 systemctl start chronyd.servicesystemctl enable chronyd.service 检查chronyd的进程状态 systemctl ...
分类:
其他好文 时间:
2020-04-16 13:06:07
阅读次数:
67
官方依赖版本: nacos-server :1.2.1 nacos-config-spring-boot.version :0.2.7 nacos server支持启用鉴权 ### If turn on auth system: nacos.core.auth.enabled=true 按照官方ex ...
分类:
Web程序 时间:
2020-04-15 22:58:13
阅读次数:
393
一、定义 assert是一种常用的调试方式,对Boolean表达式进行检查,一个正确的程序必须确保表达式的值为true;如果为false则程序处于不正确的状态,assert会给出警告或者退出。 二、格式 (1)assert [boolean 表达式] 如果[boolean表达式]为true,则程序继 ...
分类:
其他好文 时间:
2020-04-15 21:40:59
阅读次数:
102
1:pom依赖 <! eureka-client --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifac ...
分类:
其他好文 时间:
2020-04-15 21:03:41
阅读次数:
80
准备3台服务器,去拉镜像 [root@iZ1la3d1xbmukrZ config]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/elasticsearch 5.6.12 de05e10fa879 17 months a ...
分类:
其他好文 时间:
2020-04-14 22:17:49
阅读次数:
73
1、FTP的安装 #安装yum install -y vsftpd#设置开机启动systemctl enable vsftpd.service#启动systemctl start vsftpd.service#停止systemctl stop vsftpd.service#查看状态systemctl ...
分类:
其他好文 时间:
2020-04-14 22:13:19
阅读次数:
96