MinIO installation and Use for Windows
Refer to the article
Windows installation blog.csdn.net/kylinregist…
Minio official website :min.io/
Create the minIO daemon and keep it running: www.cnblogs.com/zys-blog/p/…
Windows version installed for use
1. Download Windows EXE file
Dl. Minio. IO/server/mini…
2. Go to D://minIO if exe is installed under D://minIO.
3. Run the following command to start the service
// parse./minio.exe start exe file server D:\ minio \file This path is the storage path that minio uploaded later
.\minio.exe server D:\minIO\file
Copy the code
The startup success is as follows:In this case, the minioadmin at the end of command-line Access is access-key and secret-key, separated by Spaces.
Access the previous IP address to go to the background management page of MinIO
Enter the account password to perform subsequent operations.
4. Use the minIO management interface
The main screen after loginAfter the installation, you can upload files and create buckets
4.1 Creating a Bucket
A bucket is similar to a folder. Uploaded files are uploaded to a bucket for management. The creation procedure is as follows:
- 2. Click Create bucket. 3. Enter a bucket name and press Enter
The newly created storage bucket is displayed on the right menu, as shown in the following figure
4.2 Uploading files
The creation procedure is as follows:
- 2. Click upload File button -> 3. Select the file and upload it
The value will be displayed after the bucket is created
Create the minIO service and keep it running in the background
Github address: github.com/winsw/winsw…
1. Create an EXE file and store it in a customized folder. It would be better to rename the exe file, minio-server for me, and create an XML file with the same name in the sibling folder
The XML configuration is as follows
<service>
<id>minio-server</id>
<name>minio-server</name>
<description>Minio File storage server</description>
<! -- Setting environment variables -->
<env name="HOME" value="%BASE%"/>
<executable>%BASE%\minio.exe</executable>
<arguments>server "%BASE%\data"</arguments>
<! -- <logmode>rotate</logmode> -->
<logpath>%BASE%\logs</logpath>
<log mode="roll-by-size-time">
<sizeThreshold>10240</sizeThreshold>
<pattern>yyyyMMdd</pattern>
<autoRollAtTime>00:00:00</autoRollAtTime>
<zipOlderThanNumDays>5</zipOlderThanNumDays>
<zipDateFormat>yyyyMMdd</zipDateFormat>
</log>
</service>
Copy the code
2. Create a service in the command window
minio-server.exe install
Copy the code
3. Go to services in Windows to start services
Right-click the service to start
If the access is normal, it is normal
If you encountered an error with bucket notFound, check the XML configuration for the executable command. Arguments should be included with the executable command