如何安装redis和给wordpres加速?
一、安装tcl wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz /usr/local/src/tcl8.6.1/unix ./configure --prefix=/usr --mandir=/usr/share/man --without-tzdata $([ $(uname -m) = x86_64 ] && echo --enable-64bit) && make && sed -e "s@^(TCL_SRC_DIR='). @\1/usr/include'@" -e "/TCL_B/s@='(-L)\?. unix@='\1/usr/lib@" -i tclConfig.sh make install && make install-private-headers && ln -v -sf tclsh8.6 /usr/bin/tclsh && chmod -v 755 /usr/lib/libtcl8.6.so vim tests/integration/replication-psync.tcl 把after 后面的值设置为1000,然后重新make test 二、安装redis(源码安装) wget http://download.redis.io/releases/redis-4.0.6