Windows common software installation and use

01-redis

Windows version download link: Releases microsoftarchive/redis GitHub
Run the .msi installation package directly, keep next until the following interface, check it and then next
In this step, select the port, then next (you can modify it later through the configuration file)
Select the maximum cache capacity and click next (it can be modified later through the configuration file)
Next, you can click install to install. After the installation is complete, enter the redis installation directory to find the configuration file. Note that it is redis.windows-service.conf , not redis.windows.conf. The latter is used to start the program in a non-system service mode configuration file.
In the configuration file, find the word requirepass foobared, add a line after it, and enter requirepass 123456. This is the password required to access Redis, and it is not necessary to set a password in general test cases. However, even for local access, it is recommended to set a password. Here is a simple 123456 to demonstrate, then save and exit
Enter the computer service (right-click computer-->management-->services and applications-->service), and then find the service with the name of Redis on the right to check the startup status. If it is not started, start it manually. Under normal circumstances, the service should start and run normally, but because the configuration file has been modified before, the service needs to be restarted, remember
Test whether redis can work normally. Use the command to enter the redis installation path, enter redis-cli and press Enter (redis-cli is the client program) as shown in the figure, and the correct port number is displayed, indicating that the service has been started.

02-nginx

2.1. Installation

Windows version download link: nginx: download
Just unzip it!

2.2. Start

Be careful not to double-click nginx.exe directly. This will cause a restart after modifying the configuration. Stopping nginx is invalid. You need to manually close all nginx processes in the task manager.
Click the right mouse button and open the console with git bash to start (using linux commands)
After opening the window, you can enter commands to operate nginx.
start nginx: start nginx
./nginx.exe -s reload: restart
./nginx.exe -s quit: complete and orderly stop
./nginx.exe -s stop: quick stop

2.3. Configure nginx.conf

The main configuration is shown in the figure:
listen : listen port number
server_name : Specify the host name of this machine
root : the location where local resources are stored
index : Specify the index home page file

03-minimum

3.1. Download

3.2. Find a suitable location to create a directory and copy the downloaded minio.exe into it

Mine is in D:\minio

3.3, and then create a directory to store data

Mine is in D:\minio\data

3.4. Open the cmd window in the minio directory (note that the cmd window is opened in the minio.exe directory)

3.5. Set the account password for the first startup (if you don’t set it, it will assign the default account and password)

setx MINIO_ROOT_USER admin
setx MINIO_ROOT_PASSWORD admin123

3.6. Start

minio.exe server ./data --console-address ":9001"
./data: data storage location (fill in according to the location you created)
-console-address ":9001": port
Stop the service and just close the cmd window!

3.7, write win batch file

@echo off
D:
cd /minio/
start cmd /k "minio.exe server data --console-address ":9001""

04-ActiveMQ

4.1. Download (download the corresponding version according to the jdk version)

4.2. Set account and password (users.properties file in conf directory)

#account=password
admin=admin

4.3. Modify the port number (default port 8161)

4.4. According to the operating system of the computer, there are 32-bit and 64-bit options

4.5. Double-click "activemq.bat" to start

4.6, close the window stop

4.7, write win batch file

@echo off
D:
cd /apache-activemq-5.16.3/bin/win64/
start cmd /k "activemq.bat"

Continually updated!

Guess you like

Origin blog.csdn.net/weixin_51689532/article/details/130634809