![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术问题
u014365419
儿时凿壁偷了谁家的光
展开
-
解决Spring boot actuator一些端点连接 404 问题
今天使用Spring boot的actuator查看一些应用信息,发现除了/health和/info之外的端点全部报404空白,解决办法如下在Spring boot项目配置文件application.yaml增加如下配置management: endpoints: web: exposure: include: "*"此外还有一些其他的配置,可...转载 2019-11-27 01:17:52 · 1305 阅读 · 0 评论 -
外网IP无法访问服务器的mysql
mysql启动后,本地可以访问,但是外网无法访问,具体原因是mysql会默认禁用外网IP访问,解决方案如下use mysql;select user, host from user;查询到host为localhost的用户不允许外网访问,为%的允许外网访问如果需要外网IP访问可以执行以下SQLupdate user set host = '%' where user ...原创 2019-11-26 19:18:39 · 691 阅读 · 0 评论 -
启动eureka客户端时报Cannot execute request on any known server
启动eureka客户端时报以下错误:com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpCli...转载 2019-11-26 18:56:10 · 389 阅读 · 2 评论 -
git报ssh variant 'simple' does not support setting port
解决方案,在 bash 输入 git config --global ssh.variant ssh原创 2019-07-23 11:49:23 · 128 阅读 · 0 评论 -
Cent OS 7 安装TensorFlow
安装相关依赖# yum install wget# yum -y install gcc# yum -y install gcc-c++ # yum install glibc-headers# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel ...原创 2019-08-24 01:37:03 · 200 阅读 · 0 评论