Pada kesempatan kali ini saya akan membahas cara Install Minio di centos 7.
Secara garis besar Minio adalah object storage server yang dirilis dibawah Apache License v2.o dibangun dengan Lambda Functions dan Go Language
Teknologi dari Minio.io sendiri dibuat compatible dengan layanan Amazon S3. Hal itu membuat Minio memiliki komunitas, support, serta dokumentasi yang cukup banyak.
Minio cloud storage servermemiliki 3 komponen utama yangterdiri dari, storage server, Minio client atau mc, dan SDK yang digunakan oleh aplikasi untuk dapat mengakses dan berinteraksi dengan Minio cloud storage server.
Langsung saja kita mulai
1. Install Minio Server
a) Update
yum update -y
b) Hostname
hostnamectl set-hostname minio
c) disable firewall
systemctl stop firewalld
systemctl disable firewalld
d) disable selinux
vi /etc/selinux/config
selinux=disabled
e) Download minio server
wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
f) pindahkan minio
mv minio /usr/local/bin
g) bikin user
useradd -r minio-user -s /sbin/nologin
h) kasih privilege
chown minio-user:minio-user /usr/local/bin/minio
i) bikin folder
mkdir /usr/local/share/minio
j) tambah ownership
chown minio-user:minio-user /usr/local/share/minio
k) bikin folder untuk config minio
mkdir /etc/minio
chown minio-user:minio-user /etc/minio
l) add file
nano /etc/default/minio
MINIO_ACCESS_KEY="admin"
MINIO_VOLUMES="/usr/local/share/minio/"
MINIO_OPTS="-C /etc/minio --address 192.168.3.36:9000"
MINIO_SECRET_KEY="xx123xx"
m) download service
curl -O https://raw.githubusercontent.com/minio/minio-service/master/linux-systemd/minio.service
more minio.service
[Unit]
Description=MinIO
Documentation=https://docs.min.io
Wants=network-online.target
After=network-online.target
AssertFileIsExecutable=/usr/local/bin/minio
[Service]
WorkingDirectory=/usr/local/
User=minio-user
Group=minio-user
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
# Built for ${project.name}-${project.version} (${project.name})
mv minio.service /etc/systemd/system
n) start service
systemctl daemon-reload
systemctl enable minio
systemctl start minio
systemctl status minio
o) akses web
http://192.168.3.36:9000
user : admin
pass : xx123xx
p) kalo sudah berhasil sepeti berikut