摘要: nginx.conf : server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { include uwsgi_params; uws 阅读全文
posted @ 2019-07-28 10:43 史亚运 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Nginx启动命令 [root@localhost ~]# /usr/local/nginx/sbin/sbin/nginx -c ./conf/nginx.conf [root@localhost ~]# /usr/local/nginx/sbin/nginx -s stop /[root@loc 阅读全文
posted @ 2019-07-28 10:21 史亚运 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Docker笔记 阅读全文
posted @ 2019-05-24 11:20 史亚运 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 问题原因: Apache支持伪静态规则在项目的入口目录有个.htaccess文件,Apache默认识别此文件内容, 但是Nginx不识别.htaccess文件,导致伪静态规则失效,从而无法解析url地址,导致404错误。 解决办法: Convert apache htaccess rewrite r 阅读全文
posted @ 2019-03-31 09:22 史亚运 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: 1. 安装redis Redis安装流程请移步 https://www.cnblogs.com/IT-Crowd/articles/10626765.html 2. 下载Redis扩展 [root@root php-extension]# wget https://pecl.php.net/get/ 阅读全文
posted @ 2019-03-30 21:16 史亚运 阅读(4169) 评论(0) 推荐(0) 编辑
摘要: mysql> select version(); + +| version() |+ +| 5.7.23-log |+ +1 row in set (0.12 sec) 阅读全文
posted @ 2019-03-30 13:44 史亚运 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1.下载redis 下载目录 /usr/local/src [root@root src]# wget http://download.redis.io/releases/redis-5.0.4.tar.gz 2.解压 [root@root src]# tar -zxvf redis-5.0.4.t 阅读全文
posted @ 2019-03-30 13:39 史亚运 阅读(806) 评论(0) 推荐(0) 编辑
摘要: [root@root ~]# yum install -y ntpdate 执行:ntpdate[root@root ~]# ntpdate 120.24.81.91或[root@root ~]# ntpdate pool.ntp.org date命令查看当前时间:[root@root ~]# da 阅读全文
posted @ 2019-03-30 13:14 史亚运 阅读(2281) 评论(0) 推荐(0) 编辑
摘要: 报错信息: No pool defined. at least one pool section must be specified in config file [11-Mar-2019 23:57:30] ERROR: failed to post process the configurati 阅读全文
posted @ 2019-03-30 13:08 史亚运 阅读(2592) 评论(0) 推荐(0) 编辑
摘要: nginx.conf中红框部分修改成你的实际网站根目录 阅读全文
posted @ 2019-03-30 13:05 史亚运 阅读(2211) 评论(0) 推荐(0) 编辑