- 博客(61)
- 资源 (1)
- 收藏
- 关注
原创 CentOS7使用防火墙命令报错:ImportError: No module named ‘gi‘
CentOS7使用防火墙命令报错:ImportError: No module named 'gi'
2023-05-07 15:15:00 473 1
原创 xxl-job调度报错msg:xxl-rpc remoting error(connect timed out), for url : http://xxx.xxx.xxx.xxx:xxxx/run
xxl-job调度报错msg:xxl-rpc remoting error(connect timed out), for url : http://xxx.xxx.xxx.xxx:xxxx/run
2023-04-26 14:53:59 3952 2
原创 后台登录xxl-job-admin,实现后端对定时任务的增删改查
通过java代码实现xxl-job-admin的登录和xxl job的增删改查
2023-04-03 22:45:00 1205
原创 docker安装错误:错误:软件包:docker-ce-rootless-extras-20.10.17-3.el7.x86_64 (docker-ce-stable) 需要:slirp4netns
错误:软件包:docker-ce-rootless-extras-20.10.17-3.el7.x86_64 (docker-ce-stable) 需要:slirp4netns >= 0.4错误:软件包:docker-ce-rootless-extras-20.10.17-3.el7.x86_64 (docker-ce-stable) 需要:fuse-overlayfs >= 0.7错误:软件包:3:docker-ce-20.10.17-3.el7.x86_64
2022-08-31 22:00:00 2904
原创 云服务器的/etc/sysconfig/目录没有iptables问题的解决方法
云服务器的/etc/sysconfig/目录没有iptables问题的解决方法。
2022-08-31 21:45:00 392
原创 docker容器中出现错误:ls: cannot access ‘./source‘: Operation not permitted
docker容器中出现错误:ls: cannot access './source': Operation not permitted
2022-08-20 22:00:00 3460
原创 通过通过Monstache实时同步MongoDB数据至Elasticsearch
通过Monstache实时同步MongoDB数据至Elasticsearch
2022-07-27 23:00:00 540 2
原创 Monstache执行monstache -f config.toml出错No processor type exists with name [attachment] [type=parse_exc
Monstache执行monstache -f config.toml出错:{"error":{"root_cause":[{"type":"parse_exception","reason":"No processor type exists with name [attachment]","processor_type":"attachment"}],"type":"parse_exception","reason":"No processor type exists with name [attach
2022-07-27 21:45:00 689 2
原创 使用monstache同步mongodb数据到elasticsearch过程中,执行monstache -f config.toml出错
使用monstache同步mongodb数据到elasticsearch过程中,执行monstache -f config.toml出错
2022-07-27 21:30:00 735
原创 连接redis报错:org.springframework.data.redis.connection.PoolException: Could not get a resource from the
springboot连接redis出错:org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.xxxxxx
2022-07-22 22:45:00 6569 5
原创 服务器安装docker和docker-compose,并开放2375端口
1.安装docker(1)卸载之前安装的dockeryum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ doc
2022-05-25 23:00:00 1061
原创 Java基本数据类型
java一共有8种基本数据类型整数类型:byte, short, int, long小数类型:float, double非数值类型:char, boolean数据类型字节位byte18short216int432long864float432double864char28boolean1/81...
2022-04-20 19:59:14 305
原创 线程的5种状态
线程一共有5种状态:1.启动:实例化了一个线程对象,还没有启动。2.就绪:调用线程对象的start()方法完成启动,进入线程池等待抢占CPU资源(此时还没抢到CPU资源)。3.运行:线程抢占到了CPU资源,在一定的时间内执行任务。4.阻塞:正在运行的线程暂停执行任务,释放所占的CPU资源(注意:在解除阻塞状态后,线程并不是回到运行状态,而是回到就绪状态,等待获取CPU资源)。5.终止:也叫死亡状态,线程运行完毕或者因为异常导致线程运行终止。在特定的情况下,线程的状态是可以相互转化的...
2022-04-19 18:27:54 431
原创 mysql删除表中重复数据,(只保留一行)
示例表中数据如下:根据uniqle_id这一列来判断数据是否重复1.查看重复的数据有哪些select uniqle_id,name from person group by uniqle_id having count(uniqle_id) > 1结果如下:2.删除重复的列,只保留id最小的一行delete from person where uniqle_id in (select * from(select min(uniqle_id) from person group b
2022-04-11 23:01:00 3211
原创 String、StringBuffer和StringBuilder的区别
1.StringString的底层是字符数组,由于字符数组被final修饰,所以String的长度是不可变的,并且因为i被final修饰,所以,String不可被更改,不可被继承,是线程安全的 private final char value[];2.StirngBufferStringBuffer继承自AbstractStringBuilder,在 AbstractStringBuilder 中也是使用字符数组保存字符串的, 但是没有用 final 关键字修饰,所以StirngBuffer长度是
2022-02-25 17:52:24 147
翻译 冒泡排序、选择排序、插入排序、快速排序
一、冒泡排序冒泡排序文字描述(以升序为例):1.依次比较数组中相邻两个元素的大小,若a[j]>a[j+1],则交换连个元素,两两都比较一遍称为一轮冒泡,结果是让最大的元素排至最后2.重复以上步骤,直至整个数组有序冒泡排序是一种稳定的排序算法代码: public static int[] swap(int[] a,int i,int j){ int temp=a[i]; a[i]=a[j]; a[j]=temp; return a; } //平均时间复杂度O^2 pub
2022-01-29 16:25:25 1047
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人