There are two types of package management in Linux: RPM package management and YUM package management. In
this issue, we use YUM package management
. Benefits of applying yum: ①Automatically resolve package dependencies; ②Convenient package upgrades
One, first create a directory
Two, install wget
Enter the command: yum -y install wget
Three, install tcl
(1) Input #wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
(2) Input ls (display directory file) with src refers to the source code package
(3) Switch to the Unix directory and execute configure, the execution command is ./configure and press Enter, after execution, enter make Compile (it takes a long time), install after successful compilation, enter make install, tcl installation is successful.
Fourth, install redis
(1) Copy redis-3.0.0.tar.gz to the /usr/local/tools directory (here tools are created by yourself in step 1)
(2) Switch to the tools directory and decompress the files
(3) Go in
Go to the src source code to compile make, and perform make install after completion (4) At this moment, your redis has been installed successfully, enter ./redis-server and press Enter
(5) The posture of the successful person is displayed