As we all know, a huge quantity of data is generated every day, and storage is also required, so numerous server-based programs are released to handle and store it, and Minio is one of them. It is free, and open-source object storage developed to handle private cloud computing. This object storage can store a large amount of unstructured data, such as videos, photos, emails, backups, and so on.
In this writeup, we will examine the methods to install the Minio server and client on Ubuntu 22.04.
Minio Installation on Ubuntu 22.04
For Minio installation, you can either use the Minio server or Minio client, depending upon your requirements. The Minio server runs in the browser and stores a vast amount of information as objects. Whereas the Minio client is a command-line program that communicates between the user and the server. You can also manually add clients on your Minio server.
Now, let’s get started with the setup of the Minio server on Ubuntu 22.04.
Installation of Minio server on Ubuntu 22.04
For installation of the Minio server, follow the procedure mentioned below:
Step 1: Update packages
First, update and upgrade the APT cache repository of the system by utilizing the below-given command:
$ sudo apt update && sudo apt upgrade
Step 2: Get Minio server package
In the next step, get server package for installation of Minio server using the below-given command:
$ wget https://dl.minio.io/server/minio/release/linux-amd64/minio
Step 3: Change file permissions
Now, set the file permissions of downloaded Minio script as “Executable” using the following “chmod” command:
$ chmod +x minio
Step 4: Execute Minio server script
Then, start the Minio server by executing the below-given command on terminal:
$ sudo ./minio server /minio
The above-given output indicates that now Minio server is all ready to use on our system.
How to use Minio server on Ubuntu 22.04
To use the Minio server, open up your browser and search for “http: 127.0.0.1:9000/login” or “http: 127.0.0.1:36489/login”. Upon doing so, Minio Console will starting running and enter your “Username” and “Password”.
In our case, we will enter “minioadmin” for both Username and Password:
After adding the required credentials, you will be navigated towards the Minio Console dashboard:
Now, if you want to organize objects, you can create a “Bucket” for it by clicking on the highlighted button:
For the purpose of adding a client on your Minio server, open up the drop-down “Identify” menu and select the “Users” option. Then, click on the “Create User +” button from the right-side sub-window:
It will prompt you to enter a “User Name” and “Password” for the client, as well as “Assign Policy” by marking one of the available checkboxes. After doing so, click the “Save” button:
That’s it! The created client record will now appear in the “Users” window:
In the next section, we will demonstrate the method to install the Minio client on Ubuntu 22.04 system.
Installation of Minio client on Ubuntu 22.04
Now, to install Minio client on Ubuntu 22.04, follow the below-mentioned instructions.
Step 1: Download Minio client package
First, we will use the “wget” command to download the setup package for the installation of the Minio client:
$ wget https://dl.minio.io/client/mc/release/linux-amd64/mc
Step 2: Change script permissions
Now utilize the “chmod” to set the file permission of the Minio client “mc” script as “Executable”:
$ chmod +x mc
Step 3: Verify Minio client
Lastly, verify the Minio client installation by executing following command:
$ ./mc --help
Now, you can use any of the available “mc” commands according to your requirements:
We have covered the essential method for installing both server and client Minio on Ubuntu 22.04.
In order to install Minio on Ubuntu 22.04, firstly, you have to download the server or the client package by using the provided “wget” commands. Then, change the file permissions of the downloaded script and make it executable with the “chmod +x filename” command. After doing so, run the specified script for the installation of the Minio server or client. In this post, we have learned the installation method for Minio server and client on Ubuntu 22.04.
The Best Linux Tutorials Website