table of Contents
1, configuration daemon start:
2, the configuration is only allowed to log on locally:
3, the configuration to allow only certain IP visit:
4, configuration allows remote login:
7, the configuration process ID:
8, the configuration log path:
9, configured working directory path:
10, the configuration aof persistent file name:
11, configuration persistence rdb file name:
1, configuration daemon start:
Redis.conf modify files, daemonize no modifications to daemonize yes you can:
2, the configuration is only allowed to log on locally:
Redis default value is allowed to log on locally, namely: 127.0.0.1
3, the configuration to allow only certain IP visit:
Redis.conf modify the file, you can add a bind:
4, configuration allows remote login:
Redis.conf modify the file, comment out all bind and modify the protected-mode to no.
5, configure Password:
Redis.conf modify files, will requirepass comment open, and change the password.
6, configure the port number:
Redis.conf modify files, modify the value of the port redis port number.
7, the configuration process ID:
Redis.conf modify files, modify the values behind the underlined pidfile port number value.
8, the configuration log path:
Modify redis.conf file, logfile is the absolute path redis log output file.
9, configured working directory path:
Modify redis.conf file, dir is the installation root directory redis absolute path.
10, the configuration aof persistent file name:
Modify redis.conf file, the value appendfilename.
11, configuration persistence rdb file name:
Modify redis.conf file, the value dbfilename.