-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixups and notes for wsl2 (in particular: disable protected mode)
- fix some broken sln links - redisearch ("ft") is now aka "search"
- Loading branch information
Showing
19 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 6379 | ||
protected-mode no | ||
repl-diskless-sync yes | ||
repl-diskless-sync-delay 0 | ||
databases 2000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 6380 | ||
protected-mode no | ||
slaveof 127.0.0.1 6379 | ||
repl-diskless-sync yes | ||
repl-diskless-sync-delay 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 6381 | ||
protected-mode no | ||
requirepass changeme | ||
databases 2000 | ||
maxmemory 512mb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7000 | ||
protected-mode no | ||
cluster-enabled yes | ||
dir "../Temp" | ||
cluster-config-file "../Cluster/nodes-7000.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7001 | ||
protected-mode no | ||
cluster-enabled yes | ||
dir "../Temp" | ||
cluster-config-file "../Cluster/nodes-7001.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7002 | ||
protected-mode no | ||
cluster-enabled yes | ||
dir "../Temp" | ||
cluster-config-file "../Cluster/nodes-7002.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7003 | ||
protected-mode no | ||
cluster-enabled yes | ||
dir "../Temp" | ||
cluster-config-file "../Cluster/nodes-7003.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7004 | ||
protected-mode no | ||
cluster-enabled yes | ||
dir "../Temp" | ||
cluster-config-file "../Cluster/nodes-7004.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7005 | ||
protected-mode no | ||
cluster-enabled yes | ||
dir "../Temp" | ||
cluster-config-file "../Cluster/nodes-7005.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 6382 | ||
protected-mode no | ||
repl-diskless-sync yes | ||
repl-diskless-sync-delay 0 | ||
databases 2000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 6383 | ||
protected-mode no | ||
slaveof 127.0.0.1 6382 | ||
repl-diskless-sync yes | ||
repl-diskless-sync-delay 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7010 | ||
protected-mode no | ||
repl-diskless-sync yes | ||
repl-diskless-sync-delay 0 | ||
maxmemory 100mb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
port 7011 | ||
protected-mode no | ||
slaveof 127.0.0.1 7010 | ||
repl-diskless-sync yes | ||
repl-diskless-sync-delay 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
If you're using WSL2, then the WSL2 instance is now a full VM with a separate IP address rather than being part of the current machine; | ||
this means that you may need to use: | ||
|
||
``` txt | ||
~$ ip addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | ||
``` | ||
|
||
to get the server's address, and update the entries in `TestConfig.json`, for example if the IP address is `172.17.168.110`: | ||
|
||
``` json | ||
{ | ||
"MasterServer": "172.17.168.110", | ||
"ReplicaServer": "172.17.168.110", | ||
"SecureServer": "172.17.168.110", | ||
"FailoverMasterServer": "172.17.168.110", | ||
"FailoverReplicaServer": "172.17.168.110", | ||
"RediSearchServer": "172.17.168.110", | ||
"RemoteServer": "172.17.168.110", | ||
"SentinelServer": "172.17.168.110", | ||
"ClusterServer": "172.17.168.110", | ||
"IPv4Server": "172.17.168.110" | ||
} | ||
``` |