You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
987 B
29 lines
987 B
8 years ago
|
# Running Minio as a service on Windows
|
||
|
|
||
|
## Install Minio service
|
||
|
|
||
8 years ago
|
NSSM is an opensource alternative to srvany. NSSM is still being updated, and works on Windows 10 as well.
|
||
8 years ago
|
|
||
8 years ago
|
Download [NSSM](http://nssm.cc/download) and extract the 64 bit nssm.exe to a known path.
|
||
8 years ago
|
|
||
|
```
|
||
8 years ago
|
c:\nssm.exe install Minio c:\bin\minio.exe server c:\data
|
||
8 years ago
|
```
|
||
|
|
||
8 years ago
|
### Configure startup type
|
||
8 years ago
|
|
||
8 years ago
|
When you start services, look for the Minio service and start and stop (or make it automatically start at reboots) the service.
|
||
8 years ago
|
|
||
8 years ago
|
![Configure startup type](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/windows-configure-startup-type.png)
|
||
8 years ago
|
|
||
8 years ago
|
### Configure user
|
||
8 years ago
|
|
||
|
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.
|
||
|
|
||
8 years ago
|
![Configure user](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/windows-configure-user.png)
|
||
8 years ago
|
|
||
|
## Delete Minio service
|
||
|
```
|
||
8 years ago
|
c:\nssm.exe remove Minio
|
||
8 years ago
|
```
|