Installing redis-6.0.6 under centos8
Refer to redis-6.0.6
Download, unzip and compile redis
$ wget http://download.redis.io/releases/redis-6.0.6.tar.gz
$ tar xzf redis-6.0.6.tar.gz
$ cd redis-6.0.6
$ make
Enter the decompressed SRC directory and start redis with the following command:
$ src/redis-server
You can use the built-in client to interact with redis
$ src/redis-cli
redis&> set foo bar
OK
redis&> get foo
"bar"
Make test test redis-6.0.6
When testing redis, there was a problem:
[root@etcd3 src]# make test
You need tcl 8.5 or newer in order to run the Redis test
make: *** [test] Error 1
Install 8.5 or the latest TCL:
[root@etcd3 tmp]# wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
[root@etcd3 tmp]# tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/
[root@etcd3 tmp]# cd /usr/local/tcl8.6.1/unix/
[root@etcd3 unix]# ./configure
[root@etcd3 unix]# make
[root@etcd3 unix]# make isntall
re-run redis test: [root@etcd3 src]# make test
[root@etcd3 src]# make test
...
\o/ All tests passed without errors!
Cleanup: may take some time... OK
Similar Posts:
- Redis service failed to start, prompt: redis server: command not found
- Error reported in the celery log of the project: redis.exceptions.connectionerror failed to connect with redis
- Quick resolution of gem install redis error
- [Solved] #Creating Server TCP listening socket *:6379: bind: Address already in use
- [Solved] Execute the redis command redis-trib.rb to view the cluster information error: cannot load such file — redis (LoadError)
- linux Generated when decompressing .tar.gz files gzip: stdin: not in gzip format tar: /Child returned status 1 tar: Error is no…
- How to Solve Redis Error: /bin/sh: cc: command not found
- This account is currently not available [How to Solve]
- About configure error APR not found. And exports. C: error_ hack_ apu_ Solution to the problem of redefining version ‘
- No module named _tkinter, please install the python-tk package solution summary