活泼的甜薯

导航

2023年8月9日 #

Centos7安装kubernetes

摘要: 环境: 奇数台设备(虚拟机或服务器) 最低配置:2 core,4GB 初始操作 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 关闭selinux sed -i 's/enforcing/disabled/' /etc/selin 阅读全文

posted @ 2023-08-09 17:21 活泼的甜薯 阅读(4) 评论(0) 推荐(0) 编辑

2023年2月21日 #

windows环境安装git,出现 fatal: open /dev/null or dup failed: No Such file or directory解决方案

摘要: 解决办法: 打开注册表:win+R,输入regedit,找到 HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Null 之后用管理员身份运行cmd,执行命令: sc query null 然后在运行: sc start null 如果出现错误 那么就 阅读全文

posted @ 2023-02-21 16:40 活泼的甜薯 阅读(392) 评论(0) 推荐(0) 编辑

2022年6月4日 #

Cannot construct instance of `xxxxxxx` (no Creators, like default construct, exist)的解决方法

摘要: 用SpirngMVC|SpringBoot实现把表单数据转化成json字符串传递到Controller实现保存数据到数据库时遇到:Cannot construct instance of `xxxxxxx` (no Creators, like default construct, exist)异常 阅读全文

posted @ 2022-06-04 22:46 活泼的甜薯 阅读(3512) 评论(0) 推荐(0) 编辑

win10 MySQL安装及配置mysql-8.0.27-winx64

摘要: 1、解压压缩包 2、在解压缩目录中新建my.ini配置文件 [mysqld] # 设置3306端口 port=3306 # 设置mysql安装目录 basedir=D:\Developer\Mysql\mysql-8.0.27-winx64 # 设置mysql数据库的数据存放目录 datadir=D 阅读全文

posted @ 2022-06-04 10:18 活泼的甜薯 阅读(283) 评论(0) 推荐(0) 编辑

2022年5月4日 #

配置Node.js环境

摘要: 修改默认的安装目录和缓存日志目录 因为在执行类似安装语句时: npm install express [-g] (-g代表global全局安装,参数可选) 会将安装的模块安装到 【C:\Users\用户名\AppData\Roaming\npm】路径中,占用C盘空间。 修改方法:在需要重新存放安装模 阅读全文

posted @ 2022-05-04 22:59 活泼的甜薯 阅读(49) 评论(0) 推荐(0) 编辑

2022年3月17日 #

计算机组成原理之BCD码

摘要: BCD码(Binary-Coded Decimal 用二进制编码的十进制): 8421码映射关系(合法编码区间): 0 1 2 3 4 5 6 7 8 9 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 例如:985十进制使用8421码表示的结果: 阅读全文

posted @ 2022-03-17 22:29 活泼的甜薯 阅读(206) 评论(0) 推荐(0) 编辑

2022年3月6日 #

探究使用原生AspectJ时,@Aspect注解不生效和@Around环绕注解执行两次原因

摘要: 1、@Around环绕注解执行两次原因 自定义一个注解 @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface OperationLog { /** * 要操作的资源 * * @return 阅读全文

posted @ 2022-03-06 14:01 活泼的甜薯 阅读(5829) 评论(0) 推荐(0) 编辑

2022年1月19日 #

为SpringBoot中的文件上传方法创建单元测试

摘要: 阅读全文

posted @ 2022-01-19 21:31 活泼的甜薯 阅读(100) 评论(0) 推荐(0) 编辑

2022年1月5日 #

logback-spring.xml配置文件

摘要: <?xml version="1.0" encoding="UTF-8"?> <!-- scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true。 scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒当scan为true时 阅读全文

posted @ 2022-01-05 20:12 活泼的甜薯 阅读(112) 评论(0) 推荐(0) 编辑

2021年12月3日 #

使用Git获取资源时,提示 OpenSSL SSL_read: Connection was aborted, errno 10053

摘要: 完整错误: 1 fatal: unable to access 'https://xxxxxx': OpenSSL SSL_read: Connection was aborted, errno 10053 1、Git默认限制推送的大小,运行命令更改限制大小即可 增加缓冲 git config -- 阅读全文

posted @ 2021-12-03 22:49 活泼的甜薯 阅读(2758) 评论(0) 推荐(0) 编辑