上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: [root@localhost /]# docker pull nginx #使用docker下载nginx镜像 [root@localhost /]# docker run --name web_h5 -p 80:80 -d nginx #启动nginx容器 [root@localhost /]# 阅读全文
posted @ 2021-05-27 17:03 21karat 阅读(730) 评论(0) 推荐(0) 编辑
摘要: Exception:javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. 偶发性异常 阅读全文
posted @ 2021-05-27 16:41 21karat 阅读(1443) 评论(0) 推荐(0) 编辑
摘要: 本文介绍SpringBoot如何使用阿里巴巴Nacos做配置中心。 1.Nacos简介 Nacos是阿里巴巴集团开源的一个易于使用的平台,专为动态服务发现,配置和服务管理而设计。它可以帮助您轻松构建云本机应用程序和微服务平台。 Nacos基本上支持现在所有类型的服务,例如,Dubbo / gRPC服 阅读全文
posted @ 2021-05-27 16:38 21karat 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 如何隐藏nginx版本号: [root@localhost /]# vi /etc/nginx/nginx.conf[root@localhost /]# nginx -t[root@localhost /]# nginx -s reload 配置文件中,http区段中插入“server_token 阅读全文
posted @ 2021-05-14 17:44 21karat 阅读(6040) 评论(0) 推荐(1) 编辑
摘要: 基础文档参考菜鸟教程:https://www.runoob.com/sqlite/sqlite-tutorial.html 数据库操作: import java.sql.Connection; import java.sql.DriverManager; import java.sql.Result 阅读全文
posted @ 2021-05-14 14:22 21karat 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 问题描述 最近使用MybatisPlus对MySQL数据库查询时,遇到了这个问题:使用模糊查询语句时,可以查询英文,中文查询不到 解决办法 查了很多解决办法,最后发现MySQL链接未指定编码 例如:springboot配置文件application.properties(加红色标记的为指定编码) s 阅读全文
posted @ 2020-12-23 11:15 21karat 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 编辑sshd_config文件: [root@localhost /]# vim /etc/ssh/sshd_config 新加端口62058:Port 62058重启sshd服务: [root@localhost /]# systemctl restart sshd 将新加端口添加到防火墙并重启防 阅读全文
posted @ 2020-06-10 14:46 21karat 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: Mysql自启动: [root@localhost /]# cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld #将服务文件拷贝到init.d下,并重命名为mysqld [root@localhost /]# chmod 阅读全文
posted @ 2020-06-10 14:14 21karat 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 最近使用Spring + SpringMvc + Quartz搭建的零配置系统中,使用@annotation注解方式, 直接在类的方法上使用@Scheduled(cron=”0 /5 * * ?”)来实现定时任务,在使用debug日志级别时,启动提示Could not find default Ta 阅读全文
posted @ 2020-02-24 18:06 21karat 阅读(551) 评论(0) 推荐(0) 编辑
摘要: Navicat Premium 是一套多连接数据库开发工具,让你在单一应用程序中同时连接多达六种数据库:MySQL、MariaDB、SQL Server、SQLite、Oracle 和 PostgreSQL,可一次快速方便地访问所有数据库。 下载安装程序及激活工具 链接:https://pan.ba 阅读全文
posted @ 2020-01-10 12:40 21karat 阅读(335) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页