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

Install Redis and MongoDB under Linux

小云云
小云云Original
2018-02-27 09:51:371605browse


Install redis

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

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

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!

Statement:
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