mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
30 lines
988 B
Markdown
30 lines
988 B
Markdown
# Running Minio as a service on Windows
|
|
|
|
## Install Minio service
|
|
|
|
NSSM is an opensource alternative to srvany. NSSM is still being updated, and works on Windows 10 as well.
|
|
|
|
Download [NSSM](http://nssm.cc/download) and extract the 64 bit nssm.exe to a known path.
|
|
|
|
```
|
|
c:\nssm.exe install Minio c:\bin\minio.exe server c:\data
|
|
```
|
|
|
|
### Configure startup type
|
|
|
|
When you start services, look for the Minio service and start and stop (or make it automatically start at reboots) the service.
|
|
|
|
![Configure startup type](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/windows-configure-startup-type.png)
|
|
|
|
### Configure user
|
|
|
|
It is a good (and secure) practice to create a new user, assign rights to the data folder to this user and change the service Log On info to use the newly created user.
|
|
|
|
![Configure user](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/windows-configure-user.png)
|
|
|
|
## Delete Minio service
|
|
|
|
```
|
|
c:\nssm.exe remove Minio
|
|
```
|