1. Install Virtual Machine
2. Install the Linux system
3. Select Network Configuration: bridge, NIC configuration: vi / etc / sysconfig / network-scripts / ifcfg-eth0 (my file name is ifcfg-eth0, not always)
4. Configuration DNS: vi /etc/resolv.conf
5.安装tar,gccwget eg:yum -y install gcc
6.
6.1 Installation jemalloc, wget -c -t 100 HTTPS: //github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.2.0.tar.bz2
6.2 extract package tar -jxf jemalloc-5.2.0
6.3 cd jemalloc-5.2.0,安装 make -j8 && make install
7.cd repeat-5.0.5,
make MALLOC = libc
installed successfully interface
8. will report a wrong "you need tcl 8.5 or newer in order to run redis test", install tcl, in the implementation of "make test" command.
9. modify the file /root/redis-5.0.5/redis.conf will "bind 127.0.0.1" changed to "0.0.0.0"
10. Run:
./ Redis - Server ../ Redis . Conf start the service