分类: 经典代码

90 篇文章

thumbnail
树莓派 安装 redis
安装redis sudo apt-get install redis-server 执行以下命令打开redis的配置文件: sudo vim /etc/redis/redis.conf 1、设置允许远程连接: 找到“bind 127.0.0.1 ::1”这一行: redis默认是只能本地进行访问的,在前面加上“#”号 把这一行注释掉,表示允许任意i…
thumbnail
redis.conf 配置
# Redis配置文件样例 # Note on units: when memory size is needed, it is possible to specifiy # it in the usual form of 1k 5GB 4M and so forth: # # 1k => 1000 bytes # 1kb => 102…
thumbnail
docker-compose 安装 graylog
docker-compose.yml version: '3' services: # MongoDB: https://hub.docker.com/_/mongo/ mongo: image: mongo:3 networks: - graylog # Elasticsearch: https://www.elastic.co/guide/en…