当前位置:   article > 正文

redis配置文件的中文翻译_cannot draw elements on already flushed pages

cannot draw elements on already flushed pages

Redis configuration file example.

使用/path/to/redis.conf的文件启动redis-server

./redis-server /path/to/redis.conf

Note on units: when memory size is needed, it is possible to specify

it in the usual form of 1k 5GB 4M and so forth:

1k => 1000 bytes

1kb => 1024 bytes

1m => 1000000 bytes

1mb => 1024*1024 bytes

1g => 1000000000 bytes

1gb => 102410241024 bytes

units are case insensitive so 1GB 1Gb 1gB are all the same. 不区分大小写

################################## INCLUDES ###################################

指定包含其他的配置文件,可以在同一主机上多个Redis实例之间使用同一份配置文件,而同时各实例又拥有自己的特定配置文件

include /path/to/local.conf

include /path/to/other.conf

################################## MODULES #####################################

Load modules at startup. If the server is not able to load modules

it will abort. It is possible to use multiple loadmodule directives.

loadmodule /path/to/my_module.so

loadmodule /path/to/other_module.so

################################## NETWORK #####################################

绑定的主机地址

你可以绑定单一接口,如果没有绑定,所有接口都会监听到来的连接(生产环境一定要配置)

Examples:

bind 192.168.1.100 10.0.0.1 # listens on two specific IPv4 addresses

bind 127.0.0.1 ::1 # listens on loopback IPv4 and IPv6

bind * -:
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/796499

推荐阅读
相关标签