zoukankan      html  css  js  c++  java
  • linux下部署radis

    安装radis-3.2.8

    1、wget http://download.redis.io/releases/redis-3.2.8.tar.gz
    2、tar zxvf redis-3.2.8.tar.gz
    3、mv redis-3.2.8 /usr/local/redis
    4、cd /usr/local/redis
    5、make && make install

    6、进入redis下的src目录,执行redis-server启动Redis服务
    后台启动:/usr/local/redis/src/redis-server &
    如下图即安装成功
    51339:C 15 Apr 03:26:10.928 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
    51339:M 15 Apr 03:26:10.931 * Increased maximum number of open files to 10032 (it was originally set to 1024).
    _._
    _.-``__ ''-._
    _.-`` `. `_. ''-._ Redis 3.2.8 (00000000/0) 64 bit
    .-`` .-```. ```/ _.,_ ''-._
    ( ' , .-` | `, ) Running in standalone mode
    |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
    | `-._ `._ / _.-' | PID: 51339
    `-._ `-._ `-./ _.-' _.-'
    |`-._`-._ `-.__.-' _.-'_.-'|
    | `-._`-._ _.-'_.-' | http://redis.io
    `-._ `-._`-.__.-'_.-' _.-'
    |`-._`-._ `-.__.-' _.-'_.-'|
    | `-._`-._ _.-'_.-' |
    `-._ `-._`-.__.-'_.-' _.-'
    `-._ `-.__.-' _.-'
    `-._ _.-'
    `-.__.-'

    51339:M 15 Apr 03:26:10.946 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
    51339:M 15 Apr 03:26:10.946 # Server started, Redis version 3.2.8
    51339:M 15 Apr 03:26:10.946 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
    51339:M 15 Apr 03:26:10.946 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
    51339:M 15 Apr 03:26:10.946 * The server is now ready to accept connections on port 6379

  • 相关阅读:
    Error creating bean with name 'configurationPropertiesBeans'异常
    bootstrap.yml没有小绿叶,添加配置无提示,配置无法加载
    Hello from Docker
    windows jdk8 nacos-server-1.4.0本地搭建启动
    Myeclipse导入的maven项目相关依赖包无法下载
    Idea的Terminal窗口找不见
    Win10系统Win键无法使用
    git拉代码报"error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054"
    团队作业6:复审与事后分析
    团队作业4:项目冲刺
  • 原文地址:https://www.cnblogs.com/mocean/p/6826679.html
Copyright © 2011-2022 走看看