Love pocket sky 2022-01-26 22:08:44 阅读数:452
install gcc:
command :yum install -y gcc
command :tar -zxvf redis-6.2.6.tar.gz
cd /opt/redis-6.2.6
Conduct make
Compilation and make install
Can be installed make command :
make install command :
stay /usr/local/bin in ls:
cd /usr/local/bin
redis-server
![]()
Copy a redis.conf Go to other directories
Set up redis.conf Of daemonize The value is yesFirst, we copy to /etc Under the table of contents :
Get into /etc Under the table of contents , modify redis.conf:
start-up redis And the client :
cd /usr/local/bin
redis-server /etc/redis.conf
copyright:author[Love pocket sky],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/01/202201262208424309.html