leetcode62 different paths (related topics: dynamic planning, combination arrangement, state compression)

2022-12-22   ES  

docker search redis

docker pull redis

docker run -d --name redis -P 6379: 6379 Redis -Requirepass "123456!" 
 #Behind the host port is the port used by Docker

docker ps

docker update -restart = alway container ID

1. Enter the container Docker Exec -IT container ID bash 

 2. Enter the redis directory CD/USR/LOCAL/BIN 

 3. Running command: Redis-CLI 

 4. View existing Redis password: Config Get Requirepass 

 5. Set the redis password Config Set Requirepass **** (**** password for you to set) 

 6. If (error) noAuth authentication required. Error.

source

Related Posts

jvm tuning command-JMAP

MATLAB implements the variable threshold processing of the image segmentation block, and uses the OTSU method for dual value

[Python Tips] Get the audio file duration and autumn thousands of Swing0

mount and umount commands (mounting and uninstalling file system) Deepwater

leetcode62 different paths (related topics: dynamic planning, combination arrangement, state compression)

Random Posts

Package keyword analysis

1

Latex Reference Form, Photos, and Formula Automatically add Table, Fig, EQU

bzoj 4012: [hnoi2015] Opening the store -dynamic tree division governance

List collection The same object (one or more attributes) in the collection of attributes returns the list and is sorted and output PSY according to the object attribute