分布式文件存储系统minio

参考Linux搭建免费开源对象存储

复制代码
wget https://dl.minio.io/server/minio/release/linux-amd64/minio
yum install -y wget
yum install -y wget
wget https://dl.minio.io/server/minio/release/linux-amd64/minio
chmod +x minio
sudo mv minio /usr/local/bin/
minio --version
sudo groupadd --system minio
sudo useradd -s /sbin/nologin --system -g minio minio
sudo chown -R minio:minio /data/
mkdir /data
sudo chown -R minio:minio /data/

vi /etc/systemd/system/minio.service

# Volume to be used for Minio server.
MINIO_VOLUMES="/data"

# Use if you want to run Minio on a custom port.
MINIO_OPTS="--address :9000"

# Access Key of the server.
MINIO_ACCESS_KEY=minio

# Secret key of the server.
MINIO_SECRET_KEY=minioadmin

[root@192 ~]# cat /etc/systemd/system/minio.service
[Unit]
Description=Minio
Documentation=https://docs.minio.io
Wants=network-online.target
After=network-online.target
AssertFileIsExecutable=/usr/local/bin/minio

[Service]
WorkingDirectory=/data
User=minio
Group=minio
EnvironmentFile=-/etc/default/minio
ExecStartPre=/bin/bash -c "if [ -z \"${MINIO_VOLUMES}\" ]; then echo \"Variable MINIO_VOLUMES not set in /etc/default/minio\"; exit 1; fi"
ExecStart=/usr/local/bin/minio server $MINIO_OPTS $MINIO_VOLUMES
# Let systemd restart this service always
Restart=always
# Specifies the maximum file descriptor number that can be opened by this process
LimitNOFILE=65536
# Disable timeout logic and wait until process is stopped
TimeoutStopSec=infinity
SendSIGKILL=no

[Install]
WantedBy=multi-user.target


vi  /etc/default/minio

# Volume to be used for Minio server.
MINIO_VOLUMES="/data"

# Use if you want to run Minio on a custom port.
MINIO_OPTS="--address :9000"

# Access Key of the server.
MINIO_ACCESS_KEY=minio

# Secret key of the server.
MINIO_SECRET_KEY=minioadmin

sudo systemctl daemon-reload
sudo systemctl start minio
netstat -tunlp | grep 9000 -w
yum install -y net-tools
netstat -tunlp | grep 9000 -w

ip:9000

minio

minioadmin

minio与阿里云oss

适用于 Linux 的 MinIO 对象存储 --- 适用于 Linux 的 MinIO 对象存储

官方文档

相关推荐
铁手飞鹰3 小时前
从零复现论文:深度学习域适应1
linux·pytorch·python·深度学习·ubuntu·ai·迁移学习
瑶总迷弟6 小时前
在 CentOS 7.6 上安装 Oracle WebLogic Server 12c 详细教程
linux·oracle·centos
156082072196 小时前
在飞腾D2000/8平台下ubuntu内核添加WX1860和WX1820的驱动
linux·ubuntu
心灵宝贝6 小时前
如何在 CentOS 7 上安装 bzip2-libs-1.0.6-13.el7.x86_64.rpm 文件
linux·运维·centos
云心雨禅6 小时前
WordPress提速指南:Memcached+Super Static Cache+CDN缓存网站内容
linux·服务器·数据库·缓存·memcached
鹿鸣天涯7 小时前
Kali Linux 2025.3 正式发布:更贴近前沿的安全平台
linux·运维·安全
奶茶树8 小时前
【Linux】基础指令
linux·服务器
半路_出家ren8 小时前
在Linux中安装应用
linux·apt·yum·rpm
CheungChunChiu8 小时前
在嵌入式 Linux 上配置 PulseAudio 默认输出设备的完整指南
linux·运维·ubuntu·audio·pulseaudio
^Lim8 小时前
ubuntu编译freerype报错找不到libfreetype.la
linux·chrome·ubuntu