随笔分类 -  学习

学习笔记
摘要:spring boot 整合redis是报了如下错误 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redisUtil': Unsatisfied de 阅读全文
posted @ 2018-12-25 13:45 李悠然 阅读(29783) 评论(0) 推荐(2)
摘要:1. docker java 的api需要证书的认证 在/home/hett文件下创建certs证书 生成服务器私钥,命令如下: $openssl genrsa -out server-key.pem 4096 再用私钥生成服务器公钥请求文件,也就是证书,命令如下: $openssl req -su 阅读全文
posted @ 2018-09-13 14:30 李悠然 阅读(2928) 评论(0) 推荐(0)
摘要:通过nginx实现的负载均衡,在建立websocket的时候出现链接失败的问题,经分析和研究发现是因为在建立的websocke链接的时候实现端口转发没有配置相关的流信息,新增如下配置 location / { rewrite ^(.*)css(.*)$ /css$2 break ; proxy_pa 阅读全文
posted @ 2018-09-05 15:40 李悠然 阅读(893) 评论(0) 推荐(0)
摘要:Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/web/socket/server/standard/ServerEndpointExporter at java.lang.Class.ge 阅读全文
posted @ 2018-09-05 11:53 李悠然 阅读(7546) 评论(0) 推荐(0)
摘要:java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lo 阅读全文
posted @ 2018-09-05 10:56 李悠然 阅读(23646) 评论(2) 推荐(0)
摘要:1. 配置环境 新增 ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock root@ros-OptiPlex-3050:~# nano /lib/systemd/system/docker.se 阅读全文
posted @ 2018-09-03 10:54 李悠然 阅读(2450) 评论(0) 推荐(0)
摘要:1. 配置 root@ros-OptiPlex-3050:~# cat /etc/docker/daemon.json { "graph": "/mnt/docker-data", "storage-driver": "overlay"}{“registry-mirrors”: [“https:// 阅读全文
posted @ 2018-08-31 16:10 李悠然 阅读(1029) 评论(0) 推荐(0)
摘要:1. 通过curl命令安装 检查是否安装curl root@ros-OptiPlex-3050:~# which curlroot@ros-OptiPlex-3050:~# 更新安装 root@ros-OptiPlex-3050:~# sudo apt-get upgrade && sudo apt 阅读全文
posted @ 2018-08-31 15:26 李悠然 阅读(8215) 评论(0) 推荐(0)
摘要:root@ros-OptiPlex-3050:~# service docker restartJob for docker.service failed because the control process exited with error code. See "systemctl statu 阅读全文
posted @ 2018-08-31 15:20 李悠然 阅读(3647) 评论(0) 推荐(0)
摘要:1. 操作mysql的时候提示如下错误 此问题需要删除sql_mode中的only**字段 修改为 sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE 阅读全文
posted @ 2018-08-30 13:30 李悠然 阅读(10815) 评论(0) 推荐(0)
摘要:1.ubuntu16 安装elasticsearch6.3 elasticsearch 6.3需要的java的版本是1.8以上 安装java1.8 详见本博客的安装java https://www.cnblogs.com/youran-he/p/8607155.html 2.官网下载.tar.gz包 阅读全文
posted @ 2018-07-30 17:31 李悠然 阅读(230) 评论(0) 推荐(0)
摘要:2018-06-27 16:43:45.552 INFO 16932 [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet'2018 阅读全文
posted @ 2018-06-27 16:47 李悠然 阅读(1520) 评论(0) 推荐(0)
摘要:2018-06-22 09:50:19.488 INFO 20096 [nio-8081-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet'2018 阅读全文
posted @ 2018-06-22 13:17 李悠然 阅读(18490) 评论(0) 推荐(0)
摘要:hett@hett-virtual-machine:~$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 14.04.5 LTSRelease: 14.04Codename: t 阅读全文
posted @ 2018-06-19 15:31 李悠然 阅读(236) 评论(0) 推荐(0)
摘要:shiro使用的时候: java.lang.IllegalArgumentException: Odd number of characters. at org.apache.shiro.codec.Hex.decode(Hex.java:128) ~[shiro-core-1.4.0.jar:1. 阅读全文
posted @ 2018-06-14 15:19 李悠然 阅读(1964) 评论(0) 推荐(0)
摘要:spring boot web项目运行时提示如下错误 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defin 阅读全文
posted @ 2018-06-14 15:11 李悠然 阅读(4770) 评论(0) 推荐(0)
摘要:使用shiro作为平台的权限管理工具,shiro的配置文件如下: package com.ros.config;import java.util.LinkedHashMap;import java.util.Map;import java.util.Properties;import org.apa 阅读全文
posted @ 2018-06-14 14:43 李悠然 阅读(8952) 评论(0) 推荐(0)
摘要:按照官方文档配置linux bridge 会出现一下问题 Tunneling cannot be enabled without the local_ip bound to an interface on the host. Please configure local_ip 192.168.30. 阅读全文
posted @ 2018-06-11 09:41 李悠然 阅读(1351) 评论(0) 推荐(0)
摘要:2018-06-10 21:03:54.045 1898 ERROR nova.compute.manager [instance: 15a6c26f-b8af-4a3e-a3df-8552c16e092c] Traceback (most recent call last):2018-06-10 阅读全文
posted @ 2018-06-11 09:29 李悠然 阅读(1436) 评论(0) 推荐(0)
摘要:由于地址搬迁导致ip地址有变动,整个的confluence的服务器的ip的地址更换和对应的数据库地址更换 root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/classes# root@computer-P 阅读全文
posted @ 2018-04-25 09:45 李悠然 阅读(680) 评论(0) 推荐(0)