婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > redis基本安裝判斷、啟動使用方法示例

redis基本安裝判斷、啟動使用方法示例

熱門標簽:一個地圖標注多少錢 南京手機外呼系統廠家 廊坊外呼系統在哪買 臺灣電銷 四川穩定外呼系統軟件 高碑店市地圖標注app 地圖標注工廠入駐 400電話辦理的口碑 b2b外呼系統

本文實例講述了redis基本安裝判斷、啟動使用方法。分享給大家供大家參考,具體如下:

1、Redis對否安裝(安裝好了會出現下面對應的代碼)

[root]$ whereis redis-cli
redis-cli: /usr/local/bin/redis-cli
[root]$
[root]$ whereis redis-server
redis-server: /usr/local/bin/redis-server

2、啟動Redis

輸入代碼

redis-server 
30733:C 09 Dec 14:45:30.876 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
30733:M 09 Dec 14:45:30.879 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
30733:M 09 Dec 14:45:30.879 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted.
30733:M 09 Dec 14:45:30.879 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
[root]$         _._
      _.-``__ ''-._
   _.-``  `. `_. ''-._      Redis 3.2.0 (00000000/0) 64 bit
 .-`` .-```. ```\/  _.,_ ''-._
 (  '   ,    .-` | `,  )   Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|   Port: 6379
 |  `-._  `._  /   _.-'  |   PID: 30733
 `-._  `-._ `-./ _.-'  _.-'
 |`-._`-._  `-.__.-'  _.-'_.-'|
 |  `-._`-._    _.-'_.-'  |      http://redis.io
 `-._  `-._`-.__.-'_.-'  _.-'
 |`-._`-._  `-.__.-'  _.-'_.-'|
 |  `-._`-._    _.-'_.-'  |
 `-._  `-._`-.__.-'_.-'  _.-'
   `-._  `-.__.-'  _.-'
     `-._    _.-'
       `-.__.-'

30733:M 09 Dec 14:45:30.900 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
30733:M 09 Dec 14:45:30.900 # Server started, Redis version 3.2.0
30733:M 09 Dec 14:45:30.901 # 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.
30733:M 09 Dec 14:45:30.901 # 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.
30733:M 09 Dec 14:45:30.902 * The server is now ready to accept connections on port 6379

3.判斷Redis是否啟動

[root]# redis-cli -p 6379
127.0.0.1:6379> ping
PONG
127.0.0.1:6379>

希望本文所述對大家Redis數據庫程序設計有所幫助。

您可能感興趣的文章:
  • 64位Windows下安裝Redis教程
  • Linux下Redis的安裝和部署
  • CentOS 6.6下Redis安裝配置記錄
  • Redis數據庫的安裝配置方法
  • Windows下Redis的安裝使用圖解
  • windows 64位下redis安裝教程
  • Django中redis的使用方法(包括安裝、配置、啟動)
  • CentOS系統下Redis安裝和自啟動配置的步驟
  • 詳解linux下redis安裝、啟動與停止,redis做成服務
  • redis啟動流程介紹
  • Redis的配置、啟動、操作和關閉方法
  • 解決redis服務啟動失敗的問題
  • mac下設置redis開機啟動方法步驟

標簽:河源 泰州 伊春 甘南 南寧 拉薩 畢節 定州

巨人網絡通訊聲明:本文標題《redis基本安裝判斷、啟動使用方法示例》,本文關鍵詞  redis,基本,安裝,判斷,啟動,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《redis基本安裝判斷、啟動使用方法示例》相關的同類信息!
  • 本頁收集關于redis基本安裝判斷、啟動使用方法示例的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 桐梓县| 乌海市| 隆子县| 明星| 时尚| 台南县| 江源县| 香港| 天柱县| 长丰县| 岳阳县| 唐河县| 西和县| 青龙| 沙坪坝区| 于都县| 武定县| 安达市| 定西市| 三台县| 五河县| 长汀县| 大洼县| 无锡市| 翼城县| 鄂托克旗| 阿鲁科尔沁旗| 富川| 曲阳县| 鹤壁市| 湘潭市| 文登市| 天镇县| 黎平县| 永泰县| 孝义市| 松溪县| 青冈县| 曲沃县| 翼城县| 边坝县|