In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Cp / usr/local/src/
Wget http://download.redis.io/releases/redis-3.0.1.tar.gz
Tar zxf redis-3.0.1.tar.gz
Cd redis-3.0.1
Make
Make install
Cp redis.conf / etc/
Vi / etc/redis.conf
Daemonize yes
Parameter description:
Daemonize: whether to run in background daemon mode
Pidfile:pid file location
Port: the port number on which to listen
Timeout: request timeout
Loglevel:log information level
Logfile:log file location
Databases: number of databases opened
Save * *: how often the snapshot is saved. The first * indicates how long it takes, and the third * indicates how many writes are performed. The snapshot is automatically saved when a certain number of writes are performed within a certain period of time. Multiple conditions can be set.
Rdbcompression: whether to use compression
Dbfilename: data snapshot file name (file name only, not directory)
Dir: the directory where the data snapshot is saved (this is the directory)
Appendonly: whether or not to enable appendonlylog, each write operation will record a log, which will improve the anti-risk ability of the data, but affect the efficiency.
How to synchronize appendfsync:appendonlylog to disk (three options: forcing fsync to be called every time you write, enabling fsync once per second, and not calling fsync to wait for the system to synchronize itself)
Redis-server / etc/redis.conf
[root@localhost redis-3.0.1] # ps-ef | grep redis
Root 4407 1 0 23:12? 00:00:00 redis-server *: 6379
Root 4411 1365 0 23:12 pts/0 00:00:00 grep redis
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
1.Flashback queryDepend on:content in undo tablespace1.1Base syntax: 1: SELECT... FROM... AS OF
© 2024 shulou.com SLNews company. All rights reserved.