会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程叙园
博客园
首页
新随笔
联系
订阅
管理
2022年4月21日
Linux 安装nacos
摘要: 1、安装 tar -zxvf *.tar 2、移动 mv /nacos /usr/local/ 3、创建数据库,执行nacos的sql文件 /nacos/conf/nacos_mysql.sql 4、打开nacos链接数据库的配置 vi /nacos/conf/application.propert
阅读全文
posted @ 2022-04-21 14:29 程叙园
阅读(805)
评论(0)
推荐(0)
2022年2月28日
常用得cron表达式
摘要: 0 10 0 1 * ? //每月1号的0:10:00执行 0 01 00 28-31 * ? #月底最后一天早上凌晨1点执行 异常: 查询是否有特殊字符: cat -A ***.sh 解决方法: 1、vim ***.sh 2、点击ESC, 然后输入 :set fileformat=unix 3、最
阅读全文
posted @ 2022-02-28 15:17 程叙园
阅读(36)
评论(0)
推荐(0)
2022年2月21日
docker rabbitMQ安装
摘要: 1.环境准备 服务器 CENTOS 7 版本 安装docker容器 2.开始安装 docker pull rabbitmq:management 说明:为什么不直接安装 docker pull rabbitmq 这个,因为这个安装后,开启对应端口后是不能直接访问它的管理后台,需要额外的命令开启,后面
阅读全文
posted @ 2022-02-21 14:28 程叙园
阅读(189)
评论(0)
推荐(0)
2022年1月18日
流转化为字节数组输出流
摘要: //转化流类型为字节数组输入流 private ByteArrayInputStream socketToByteByStream(InputStream inputStream) { ByteArrayInputStream byteArrayInputStream = null; try { B
阅读全文
posted @ 2022-01-18 14:25 程叙园
阅读(293)
评论(0)
推荐(0)
2021年12月16日
查询日志
摘要: cat error.log | grep -B 5 'nick' 显示nick及前5行 cat error.log | grep -A 5 'nick' 显示nick及后5行 cat error.log | grep -C 5 'nick' 显示file文件里匹配nick字串那行以及上下5行 cat
阅读全文
posted @ 2021-12-16 09:26 程叙园
阅读(50)
评论(0)
推荐(0)
2021年12月9日
Caused by: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
摘要: 可能是多数据源使用分页pageHelper导致的; 解决方法:https://blog.csdn.net/qq_35378008/article/details/90024365 https://blog.csdn.net/weixin_35698952/article/details/113981
阅读全文
posted @ 2021-12-09 18:46 程叙园
阅读(504)
评论(0)
推荐(0)
2021年11月22日
备份docker mysql数据库
摘要: 1、查看容器 docker ps 2、进入容器 docker exec -it 容器id /bin/bash 3、备份数据 mysqldump 数据库名称 -uroot -p >/root/**.sql 回车输入数据库密码: 4、退出容器 exit 5、把容器中的文件copy出来放到root文件下
阅读全文
posted @ 2021-11-22 16:58 程叙园
阅读(526)
评论(0)
推荐(0)
2021年9月9日
修改docker0 中的inet
摘要: 由于在服务器使用默认的172开头的ip,可能会跟别人的产生冲突,则就需要重新配置ip 1、创建daemon.json vi /etc/docker/daemon.json (不能打空格;用tab缩进) (不能与docker容器配置的IP不能冲突) { "bip": "192.168.1.1/24"
阅读全文
posted @ 2021-09-09 23:34 程叙园
阅读(331)
评论(0)
推荐(0)
2021年8月13日
段落2端对齐
摘要: .artiCon p { margin-bottom: .3rem; word-wrap: break-word; word-break: break-all; text-align: justify; }
阅读全文
posted @ 2021-08-13 09:49 程叙园
阅读(46)
评论(0)
推荐(0)
2021年8月12日
BUG记录
摘要: 1、java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 参数存在特殊字
阅读全文
posted @ 2021-08-12 17:33 程叙园
阅读(25)
评论(0)
推荐(0)
下一页
公告