摘要:
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 阅读全文
摘要:
rpm -qa|grep xxx rpm -e --nodeps 搜索列出的名字 --nodeps不管依赖关系强行处理 阅读全文
摘要:
7代及其之前 yum makecache && yum install vim net-tools -y&& yum update -y 8代 dnf makecache && dnf install vim net-tools -y&& dnf update -y 阅读全文
摘要:
/etc/nginx/nginx.conf中 http {...... log_format main '$remote_addr - $remote_user [$time_iso8601] "$request" ' '$status $body_bytes_sent "$http_referer 阅读全文
摘要:
基于用户_明文传输http 工具安装,yum install -y httpd-tools 设置用户名和密码htpasswd -b -c /etc/nginx/.auth.conf testnginx 123456 /etc/nginx/conf.d/default.conf中在监控部分添加 loc 阅读全文
摘要:
egrep -v '#|^$' /etc/nginx/conf.d/default.off > /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf 中 目录索引 location /download { #相对根目录下的down 阅读全文
摘要:
临时关闭setenforce 0 阅读全文
摘要:
nginx官网右侧download-->Pre-Built Packages栏目中点stable and mainline 改/etc/yum.repos.d/nginx.repo [nginx-stable]name=nginx stable repobaseurl=http://nginx.or 阅读全文