How to install minio server on ubuntu

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

  • Ubuntu 16.04 installed
  • wget should installed to download minio binary

Read Also: How to install minio on centos?

Download Minio binary



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

chmod +x minio

Start minio Server

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

./minio server /mnt/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

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 ubuntu.jpg minio/photos/
~/Downloads/ubuntu.png:  94.42 KB / 94.42 KB  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  100.00% 20.57 MB/s 0s

Check the files in bucket

./mc ls minio/photos/
[2017-07-13 13:17:17 UTC] 12KiB ubuntu.jpg

Check out files in browser

Open the following URL to access minio browser


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

install minio on ubuntu


You can create and access buckets from minio browser also.

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

Read Also:
How to install postgresql on centos 7?
AWS CLI – Useful S3 commands

Leave a Reply

Your email address will not be published.


The reCAPTCHA verification period has expired. Please reload the page.

48-Hour Flash Sale! Courses from just $10.99