minio 安装
mybatis 相关:
https://baomidou.com/pages/223848/#fieldfill
https://mybatis-flex.com/zh/intro/maven.html
minio 安装:
https://hub.docker.com/r/minio/minio/tags
https://mvnrepository.com/artifact/io.minio/minio
# 1,下载MinIO的二进制文件
wget https://dl.min.io/server/minio/release/linux-amd64/minio
# 2,添加执行权限给下载的二进制文件
chmod +x minio
# 3,创建一个用户,用于运行MinIO服务
useradd -r -m -d /home/minio minio
# 4,移动MinIO二进制文件到/usr/local/bin目录,并改变所有者为minio用户
mv minio /usr/local/bin/
chown minio /usr/local/bin/minio
# 5,创建数据目录,日志目录并授权给minio用户
rm -rf /opt/minio
mkdir -p /opt/minio/data
mkdir -p /opt/minio/log
chown -R minio:minio /opt/minio
# 6,启动minio
MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=admin123 ./minio server /opt/minio/data --address ":9000" --console-address ":9001"
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
mc alias set myminio/ http://MINIO-SERVER MYUSER MYPASSWORD