摘要: <select id="getUser" parameterType="map" resultType="map"> SELECT id, name, addr FROM user WHERE id = #{id} </select> 以上查询,当addr字段值在数据库中为null时,返回的结果如下 阅读全文
posted @ 2024-07-08 13:34 void_main() 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 普通的springboot系统只需要把配置文件按照如下修改就可以 management: server: port: -1 # 修改端口,跳过安全漏洞扫描 endpoints: enabled-by-default: false #关闭监控 web: exposure: include: '*' n 阅读全文
posted @ 2023-12-08 16:37 void_main() 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: 需要先安装java yum -y install java-11-openjdk* 先执行下面两条命令 wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm - 阅读全文
posted @ 2023-10-20 10:59 void_main() 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 安装maven wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo yum -y install a 阅读全文
posted @ 2023-10-19 15:24 void_main() 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 一、基础环境 cd /usr/local wget https://dl.minio.io/server/minio/release/linux-amd64/minio 二、准备工作 2.1、机器资源 192.168.0.101 /minio/data1 /minio/data2 192.168.0 阅读全文
posted @ 2023-10-18 14:46 void_main() 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 以最常用的宋体为例: 1、下载simsun.ttf 链接https://github.com/npqzxc/FontSimsun 2、进入服务器目录/usr/share/fonts 创建chinese文件夹 3、将simsun.ttf文件放入文件夹中 4、chmod -R 755 /usr/shar 阅读全文
posted @ 2023-10-18 13:38 void_main() 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装kettle的方法请自行百度 2.启动carte服务 进入kettle目录 cd /opt/data-integration 方式一 #windowsCarte.bat ip port#例:Carte.bat 192.168.x.x 8080#linux./carte.sh ip por 阅读全文
posted @ 2023-10-18 13:30 void_main() 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 进入需要安装的路径 cd /usr/local 下载和解压安装包 方法一(建议):官网下载地址: https://www.elastic.co/cn/downloads/elasticsearch 方法二:也可以在Linux命令行,直接执行以下命令进行下载(下载特别慢): wget https:// 阅读全文
posted @ 2023-10-18 12:00 void_main() 阅读(50) 评论(0) 推荐(0) 编辑
摘要: home目录下新建安装包存放位置 cd home mkdir install_packet cd /home/install_packet 下载mysql5.7 rpm源 wget http://repo.mysql.com/mysql57-community-release-el7-8.noarc 阅读全文
posted @ 2023-10-18 11:42 void_main() 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1.运行以下命令,下载docker-ce的yum源 sudo wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 2.运行以下命令,安装Doc 阅读全文
posted @ 2023-10-18 11:12 void_main() 阅读(35) 评论(0) 推荐(0) 编辑