2023年12月

# Redis releases:
https://download.redis.io/releases/

wget https://download.redis.io/releases/redis-6.2.5.tar.gz

# To compile Redis, first the tarball, change to the root directory, and then run make:
tar -zxvf redis-6.2.5.tar.gz
cd redis-6.2.5
make MALLOC=libc

# If the compile succeeds, you'll find several Redis binaries in the src directory, including:
redis-server: the Redis Server itself
redis-cli is the command line interface utility to talk with Redis.

# To install these binaries in /usr/local/bin, run:
sudo make install

# Starting Redis
redis-server
或
redis-server redis.conf

wget http://nginx.org/download/nginx-1.21.5.tar.gz
tar -xvf nginx-1.21.5.tar.gz
cd nginx-1.21.5
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
make && make install