Home> Database> Redis> body text

Check whether redis is installed on linux

anonymity
Release: 2019-06-04 16:36:57
Original
7527 people have browsed it

Redis is a key-value storage system. Similar to Memcached, it supports relatively more stored value types, including string (string), list (linked list), set (set), zset (sorted set - ordered set) and hash (hash type). These data types all support push/pop, add/remove, intersection, union, difference, and richer operations, and these operations are all atomic. On this basis, redis supports various different ways of sorting. Like memcached, data is cached in memory to ensure efficiency. The difference is that redis will periodically write updated data to disk or write modification operations to additional record files, and on this basis, master-slave (master-slave) synchronization is achieved.

Check whether redis is installed on linux

Check whether redis-cli and redis-server are installed on linux;

[root@localhost bin]# whereis redis-cli redis-cli: /usr/bin/redis-cli [root@localhost bin]# whereis redis-server redis-server: /usr/bin/redis-server
Copy after login

It means it has been installed. If you don’t know how to install it, tell us With a simple method, you can install php, php-redis extension, redis-server, and redis-cli in one step.

The above is the detailed content of Check whether redis is installed on linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!