Small class D - Basics zero SpringBoot2.X to combat _ Section 9 SpringBoot2.x combat _38 Redis integration, source compiler installation Redis4.x

notes

2, source compiler installation Redis4.x
    Summary: source installation and configuration of external network access Redis4.x

    1, quick installation https://redis.io/download#installation
            wget http://download.redis.io/releases/redis -4.0.9.tar.gz
            tar xzf Redis-4.0.9.tar.gz
            cd-Redis 4.0.9
            the make

            start the server: src / redis-server
            start the client: src / cli Redis-

    2, the default is local access the required open access to external networks
        1) open file modifications redis.conf nETWORK portion
           commented bind 127.0.0.1 ip can access all redis
           modify protected-mode, value no

Start


install linux operating steps


start redis good





under linux daemon with nohup

can search daemonize redis daemon relevant information

redis default is not open to remote access link. Local access only
2, a default local access, access to external networks needs to open
        1) Open file modifications redis.conf NETWORK portion
           commented bind 127.0.0.1 ip can access all redis
           modify protected-mode, value no





 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11426338.html