How to install minio server on centos 7

Minio is an object storage server released under Apache License v2.0. It is compatible with Amazon S3 cloud storage service. It is best suited for storing unstructured data such as photos, videos, log files, backups and container / VM images. The size of an object can range from a few KBs to a maximum of 5TB.

Minio server is light enough to be bundled with the application stack, similar to NodeJS, Redis, and MySQL.

Pre-requisite of minio

  • Centos 7.3 installed
  • wget should installed to download minio binary

Download Minio binary



Now we will give execute permission to minio to execute it.

chmod +x minio

Start minio

Just execute the following command to start minio, we need to give the directory for minio

./minio server minio

When you run minio you will get a key and a secret. These are used to access the client and the browser.

AccessKey: OVWL8SROQ7V69665YHPS
SecretKey: z0RDSSliGY+prqVnEJMitj2chn+TLn1W9jI2ayGw
Region:    us-east-1
SQS ARNs:  <none>
Browser Access:

Command-line Access:
 $ mc config host add myminio OVWL8SROQ7V69665YHPS z0RDSSliGY+prqVnEJMitj2chn+TLn1W9jI2ayGw

Object API (Amazon S3 compatible):

Drive Capacity: 17 GiB Free, 222 GiB Total

Install Minio client

Minio Client (mc) provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff etc. It supports filesystems and Amazon S3 compatible cloud storage service (AWS Signature v2 and v4).

chmod +x mc
./mc help

Read Also: How to install minio server on Ubuntu

Configure minio client

We will configure minio instance with mc client

./mc config host add minio accessCode secretCode

Create bucket

If you want to upload some data or files you need to create a bucket. We will use mb to create the bucket.

./mc mb minio/photos

List the files

We can use mc command to list the files in the bucket

./mc ls minio/photos

Currently, there is nothing in photos directory let’s upload some file in it.

# ./mc cp ~/Downloads/centos.png minio/photos/
~/Downloads/centos.png:  94.42 KB / 94.42 KB  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  100.00% 20.57 MB/s 0s

Check the files in bucket

./mc ls minio/photos/
[2017-04-07 10:31:20 IST]  94KiB centos.png

Check out files in browser

You need to provide the AccessKey and SecretKey n order to access the minio browser

install minio server on centos 7

You can create and access buckets from minio browser also.

Read Next: System Services for minio centos

If you have any issues using this tutorial please feel free to comment below..

Leave a Reply

Your email address will not be published.