Home > Article > Operation and Maintenance > Install Redis and MongoDB under Linux
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!