摘要: linux 7.1 ningx 1.1.6 mariadb5.5.6 php7.1 如果本地安装rpm包可用yum localinstall -y rpm包名安装依赖关系 ningx 1.1.6 mariadb5.5.6略 php7.1只能通过第三方安装 移除原有php yum remove php 阅读全文
posted @ 2020-03-14 20:04 Le1543 阅读(128) 评论(0) 推荐(0) 编辑
摘要: rpm -qa|grep xxx rpm -e --nodeps 搜索列出的名字 --nodeps不管依赖关系强行处理 阅读全文
posted @ 2020-03-14 19:29 Le1543 阅读(1453) 评论(0) 推荐(0) 编辑
摘要: 7代及其之前 yum makecache && yum install vim net-tools -y&& yum update -y 8代 dnf makecache && dnf install vim net-tools -y&& dnf update -y 阅读全文
posted @ 2020-03-14 19:20 Le1543 阅读(93) 评论(0) 推荐(0) 编辑
摘要: /etc/nginx/nginx.conf中 http {...... log_format main '$remote_addr - $remote_user [$time_iso8601] "$request" ' '$status $body_bytes_sent "$http_referer 阅读全文
posted @ 2020-03-14 13:24 Le1543 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 基于用户_明文传输http 工具安装,yum install -y httpd-tools 设置用户名和密码htpasswd -b -c /etc/nginx/.auth.conf testnginx 123456 /etc/nginx/conf.d/default.conf中在监控部分添加 loc 阅读全文
posted @ 2020-03-14 12:14 Le1543 阅读(118) 评论(0) 推荐(0) 编辑
摘要: egrep -v '#|^$' /etc/nginx/conf.d/default.off > /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf 中 目录索引 location /download { #相对根目录下的down 阅读全文
posted @ 2020-03-14 11:39 Le1543 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 临时关闭setenforce 0 阅读全文
posted @ 2020-03-14 11:29 Le1543 阅读(77) 评论(0) 推荐(0) 编辑
摘要: nginx官网右侧download-->Pre-Built Packages栏目中点stable and mainline 改/etc/yum.repos.d/nginx.repo [nginx-stable]name=nginx stable repobaseurl=http://nginx.or 阅读全文
posted @ 2020-03-14 11:13 Le1543 阅读(140) 评论(0) 推荐(0) 编辑