windows installation minio

1. Resource download

Official website download

Insert image description here

2. Resource installation

Place the resources in the directory that needs to be installed, and create a new minioData (custom) folder to store the uploaded files. Enter
cmd at the path of the minio.exe folder to enter the command window (the exe file cannot be double-clicked to run).
Insert image description here

A window will pop up, and then enter the command: minio.exe server C:\myqxin\java\minio\minioData. The
path behind is the path to the created minioData folder.
Insert image description here
Although there is a red warning on it and the port error is reported, it does not affect access. According to the above information Visit: http://192.168.50.168
Insert image description here
Although the displayed address is different from the address we entered, it does not affect it. Then enter the account number and password to log in.

The account and password are both: minioadmin

Enter the following page and you will be successful.

Insert image description here

If the above red warning appears and you cannot access it, it means that the port is really occupied, and you need to enter the following command:

The two ports 9006 and 9005 are themselves (customized, as long as they are not occupied)

minio.exe server C:\myqxin\java\minio\minioData --console-address “:9006” --address “:9005”

Insert image description here

3. Use scripting to start the minio service

The above is to start by entering the command through cmd. Sometimes it is accidentally turned off and needs to be re-entered. We use bat script (can be opened anywhere on the computer), the content is as follows:

@echo off
echo.
echo [信息] 运行MinIO文服务器。
echo.
 
title minio
 
cd %~dp0
cd C:\myqxin\java\minio
 
minio.exe server C:\myqxin\java\minio\minioData --console-address ":9990"
pause

There are three main changes. C:\myqxin\java\minio: This is the installation location. C:\myqxin\java\minio\minioData: This is the location where the uploaded resources are stored.
9990: Access port. Since the minio program occupies 9000 every time it is started, it cannot be set to 9000. Try not to set a port that conflicts with other services.

Insert image description here
Visit: localhost:9990

Insert image description here

Guess you like

Origin blog.csdn.net/qq_45752401/article/details/125218254