随笔分类 -  学习

学习笔记
摘要:Couldn't lock file 'lock' in directory /var/atlassian/application-data/confluence Make sure the dire confluence因为服务器重启之后导致了这个问题。 重启confluence root@com 阅读全文
posted @ 2023-01-10 07:30 李悠然 阅读(319) 评论(0) 推荐(0)
摘要:expect@29.2.0: The engine "node" is incompatible with this module. Expected version "^14.15.0 || ^16.10.0 || >=18.0.0". Got "16.6.1" 直接忽略 [root@localh 阅读全文
posted @ 2023-01-09 07:59 李悠然 阅读(238) 评论(0) 推荐(0)
摘要:docker build 部署java环境 1. 创建java文件并将jdk复制到目录下 root@controller-PowerEdge-T30:/home/docker/java# lsDockerfile jdk-8u151-linux-x64.tar.gzroot@controller-P 阅读全文
posted @ 2022-12-21 09:32 李悠然 阅读(168) 评论(0) 推荐(0)
摘要:1. 下载镜像 root@reqq:/home/docker/rabbit# docker pull rabbitmqUsing default tag: latestlatest: Pulling from library/rabbitmq846c0b181fff: Already exists 阅读全文
posted @ 2022-12-15 10:54 李悠然 阅读(315) 评论(0) 推荐(0)
摘要:1. 下载 [root@host-10-23-110-128 redis]# docker pull mysql:latestlatest: Pulling from library/mysql72a69066d2fe: Pull complete 93619dbc5b36: Pull comple 阅读全文
posted @ 2022-11-24 16:02 李悠然 阅读(914) 评论(0) 推荐(0)
摘要:1. 编写sh脚本 用于开机自启动个 在这个模块中注意:java 环境一定要写!!!!我其中没有写java环境,发现没有启动成功 root@hfxyai-OptiPlex-5000-China-HDD-Protection:/home/server# gedit /etc/init.d/server 阅读全文
posted @ 2022-10-12 09:23 李悠然 阅读(336) 评论(0) 推荐(0)
摘要:root@test-OptiPlex-3050:/home/web/hflab# yarn installyarn install v1.22.19warning package-lock.json found. Your project contains lock files generated 阅读全文
posted @ 2022-09-27 16:14 李悠然 阅读(829) 评论(0) 推荐(0)
摘要:Systemback 提供相关的操作 1.查看系统的信息 test@test-OptiPlex-3050:~$ uname -aLinux test-OptiPlex-3050 4.15.0-142-generic #146~16.04.1-Ubuntu SMP Tue Apr 13 09:27:1 阅读全文
posted @ 2022-09-26 14:03 李悠然 阅读(654) 评论(0) 推荐(0)
摘要:java FileInputStream的相对路径 是相对于src目录的 public void bufferTest(){ try (FileChannel channel = new FileInputStream("src/main/resources/data.txt").getChanne 阅读全文
posted @ 2022-09-20 10:17 李悠然 阅读(1967) 评论(0) 推荐(0)
摘要:mvn clean install -DskipTests 阅读全文
posted @ 2022-08-29 16:16 李悠然 阅读(164) 评论(0) 推荐(0)
摘要:1. no beans of 'amqptemplate' type found. 在引入的时候出现红色波浪线的错误。是因为spring boot 中没有导入bean所致。所以可以通过java bean的方式重写注入 package com.example.studymq.config;import 阅读全文
posted @ 2022-07-05 10:49 李悠然 阅读(690) 评论(0) 推荐(0)
摘要:1. 系统更新 root@test-OptiPlex-3050:/usr/local/src# sudo apt-get update -yroot@test-OptiPlex-3050:/usr/local/src# sudo apt-get upgrade 2. 安装语言包 root@test- 阅读全文
posted @ 2022-07-05 09:01 李悠然 阅读(197) 评论(0) 推荐(0)
摘要:今天打开web应用和小程序时突然给出一个这样的错误 ERR_SSL_PROTOCOL_ERROR 因为最近因为小程序的原因刚刚接触了ssl的问题 在搜索查阅资料之后,了解这个问题是因为你的站点ssl配置出现了问题 1. 如果你近期更新了站点或者修改了证书,需要清除ssl状态 2. 检查你的当前的域名 阅读全文
posted @ 2022-06-16 17:09 李悠然 阅读(2546) 评论(0) 推荐(0)
摘要:最近因为小程序访问web服务,小程序仅仅支持https的访问。因此在设计的时候申请一个免费的证书为小程序提供服务。 将http支持https的服务需要CA证书 首先,申请CA证书 1. 申请CA证书 阿里云提供免费版的CA证书。申请流程如下: 进入阿里云控制台,选择SSL证书。 进入免费的证书管理。 阅读全文
posted @ 2022-06-15 09:13 李悠然 阅读(1086) 评论(0) 推荐(0)
摘要:spring boot 项目打开之后发现 *** 包不存在 由于maven项目中的包的内容不全,需要下载,则在项目的源目录cmd 进入命令行 执行如下指令 #使用cmd,到项目根目录下,运行命令:mvn clean install -Dmaven.test.skip=true#再运行命令(idea中 阅读全文
posted @ 2022-05-19 07:22 李悠然 阅读(109) 评论(0) 推荐(0)
摘要:springfox3.0与spring boot 2.6.2集成之后,发现swagger3.0的简直粗暴 无需任何配置,项目就能直接在spring boot 中启动成功。主要得益于spring boot 的自动配置。在配置文件中提供了自动开启和相应的项目。其配置项是 spring.mvc.pathm 阅读全文
posted @ 2022-01-17 10:39 李悠然 阅读(2061) 评论(0) 推荐(0)
摘要:springfox 3.0.0 上线之后,调整自己的工程 1. pom中添加依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</ 阅读全文
posted @ 2022-01-14 16:36 李悠然 阅读(4044) 评论(0) 推荐(0)
摘要:TypeError: Network request failed Unable to symbolicate stack trace: The stack is null 通过分析可以看出是网络请求问题。在react native 中,尝试fetch发送请求导致的问题。 关于fetch的代码: f 阅读全文
posted @ 2022-01-04 10:19 李悠然 阅读(1172) 评论(0) 推荐(0)
摘要:1. react router在开发环境下测试都是正常使用部署之后 BrowserRouter 出现访问异常的问题,在网上查阅了部分资料阶级方案 原因: http://192.168.8.34:3007/admin/data 这样的路径在访问服务器时,服务器会认为是请求查找某个接口数据。作为Rest 阅读全文
posted @ 2021-11-24 10:00 李悠然 阅读(464) 评论(0) 推荐(0)
摘要:1. nginx的安装 apt-get install nginx 2. 查看nginx的运行状态 3. nginx的配置 server { listen 81; server_name localhost;//配置映射名称 location /img/ { alias /home/test/; # 阅读全文
posted @ 2021-11-08 10:32 李悠然 阅读(373) 评论(0) 推荐(0)