1.下载phpRedisAdmin:git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git

2.cd phpRedisAdmin   git submodule init   git submodule init

3.mv phpRedisAdmin/ /home/www

4.composer install

5.cp includes/config.sample.inc.php includes/config.inc.php

6.vim config.inc.php更改其中配置

7.ngnix.conf下include一个单独文件写上如下代码然后重启:

server {
listen 8080;
server_name localhost;
root /home/www/phpRedisAdmin;
access_log /home/log/phpRedisAdmin.access.log main; fastcgi_connect_timeout 300;
fastcgi_send_timeout 600;
fastcgi_read_timeout 600;
fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k; location / {
index index.html index.htm index.php;
concat on;
concat_max_files 20;
concat_delimiter "\n";
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
access_log off;
log_not_found on;
}
location ~ .*\.(js|css)?$
{
expires 12h;
access_log off;
log_not_found on;
}
location = /favicon.ico {
log_not_found off;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
#fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location /nginx-status {
stub_status on;
access_log off;
}
}

最新文章

  1. Hadoop学习笔记—20.网站日志分析项目案例(二)数据清洗
  2. vue.js在windows本地下搭建环境和创建项目
  3. ionic 跨页面传值的几种方法
  4. 1 UML基础
  5. 开发Yii2过滤器并通过behaviors()行为调用
  6. [linux] Nginx编译安装错误error: the HTTP rewrite module requires the PCRE library
  7. 38、FragmentStatePagerAdapter分页
  8. 如何利用 _ViewStart.cshtml对页面添加代码?
  9. Java中接口与实例化
  10. maven3.0
  11. jquery 学习笔记 (2)--write less,do more
  12. android 设计模式学习
  13. c/c++浮点数在内存中存储方式
  14. fiddler抓取https请求
  15. css3 伸缩百分比的调整
  16. linux下使用gcc编译运行C/C++程序
  17. Maven + SSM + Kaptcha 实现用户登录时验证码的获取(问题:302 Found)
  18. 2018-2019-2 网络对抗技术 20165227 Exp5 MSF基础应用
  19. 【前端】三个bug
  20. mybatis中的mapper接口文件以及selectByExample类的实例函数详解

热门文章

  1. Is the Information Reliable? -POJ2983差分约束
  2. [密码学] C++ 实现 AES128 加密算法
  3. poj2485 kruskal与prim
  4. Sprite(精灵)&& 三个特殊的层Layer
  5. 24SQL
  6. Apache配置文件讲解
  7. em详解
  8. 组合suan
  9. mutation annovar
  10. jQuery 学习笔记