摘要: 安装vim . apt-get update apt-get install vimvi /etc/mysql/my.cnf 修改my.cnf 后无法启动(参考https://blog.csdn.net/m0_45067620/article/details/123521396) docker in 阅读全文
posted @ 2024-03-05 10:41 higsan 阅读(3) 评论(0) 推荐(0) 编辑
摘要: docker commit containerName newimagename:240117 -- 镜像上传到阿里云仓库docker login --username=xxxx@qq.com registry.cn-hangzhou.aliyuncs.comdocker tag 15f390474 阅读全文
posted @ 2024-01-17 14:24 higsan 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Failed to start LSB: Create lightweight, portable, self-sufficient containers.. lsb linux规范基础的意思,LinuxStandardBase缩写 解决方案: 用这个固定。 wget -qO- https://ge 阅读全文
posted @ 2024-01-17 13:37 higsan 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1.下载solr8软件 . 2.bin目录下执行 solr start -p 8984 3.建索引 solr create -c solr_test 4.下载ik分词器链接:https://pan.baidu.com/s/1dQhss6Qy58xQTsHvKpkYOg 提取码:k9ca5.把分词器中 阅读全文
posted @ 2023-06-06 17:07 higsan 阅读(83) 评论(0) 推荐(0) 编辑
摘要: common包 IHelloService public interface IHelloService extends Remote { String sayHello(User user) throws RemoteException; } User public class User impl 阅读全文
posted @ 2023-02-15 17:08 higsan 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 搭建参考地址 https://gitee.com/kekingcn/file-online-preview/releases 开源社区:kkFileView 阅读全文
posted @ 2023-02-13 10:20 higsan 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 组件开发中日志的引入。# LogAdapter : log 适配器##依赖Spring中有一个依赖:spring-jcl.jar 用于适配日志框架。类名为:org.apache.commons.logging.LogAdapter <dependency> <groupId>org.springfr 阅读全文
posted @ 2023-02-10 14:19 higsan 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.jianshu.com/p/6971fca953fc ## nexus新建本地仓my_repo ## 新建一个文件夹 myrepo,将本地仓库的包批量放入我们需要的本地库文件夹,注意必须将package层级都拷贝 ## 在 myrepo文件夹下执行如下命令创建一个 sh 阅读全文
posted @ 2023-02-10 14:07 higsan 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 根据枚举类型进行数据统计,当枚举类型有改动时,统计输出也需要动态改动。这时数据相关的对象变量和方法都需要改动,很不方便、 通过字节码技术,在类加载时生成对象类型: TestVo.java //对象class中没有变量, 只有公共的getType\setType方法,对外提供便利的数据读取和设置方式。 阅读全文
posted @ 2023-02-06 11:44 higsan 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 一、单一功能原则(Single Responsibility Principle) 一个类都应该有一个单一的功能,不为其实现过多的功能点 二、开闭原则(Open Closed Principle) 软件中的对象(类、模块、函数等)对于扩展是开放的,但对于修改是封闭的,这意味着一个实体是允许在不改变它 阅读全文
posted @ 2023-02-06 11:22 higsan 阅读(11) 评论(0) 推荐(0) 编辑