Home > Operation and Maintenance > Linux Operation and Maintenance > Install Redis and MongoDB under Linux

Install Redis and MongoDB under Linux

小云云
Release: 2018-02-27 09:51:37
Original
1664 people have browsed it


Install redis

yum -y install epel-release #安装epel仓库,里面包含redis的yum仓库yum -y install redis    #安装redisservice redis start     #启动redis服务systemctl enable redis  #开机自启redisredis-cli   #使用redis命令行工具
Copy after login

Install phpRedisAdmin, this is a Redis Web management client, similar to phpMyAdmin
This is the project Github address: https://github.com/ErikDubbelboer/phpRedisAdmin

cd /home    #把该软件安装在home目录下git clone https://github.com/ErikDubbelboer/phpRedisAdmin.gitcd phpRedisAdmin
git clone https://github.com/nrk/predis.git vendor
Copy after login

Next, you need to add an nginx configuration file to access phpRedisAdmin in the browser, which will not be written here.
Add the domain name and IP corresponding to the virtual machine in the Windows hosts file.
Then you can enter the domain name in the browser to access phpRedisAdmin.

The above is the detailed content of Install Redis and MongoDB under 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template