上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 32 下一页
摘要: 介绍: 和apache等web服务软件一样,rewrite的组要功能是实现RUL地址的重定向。Nginx的rewrite功能需要PCRE软件的支持,即通过perl兼容正则表达式语句进行规则匹配的。默认参数编译nginx就会支持rewrite的模块,但是也必须要PCRE的支持 rewrite是实现UR 阅读全文
posted @ 2019-11-14 08:39 linux——quan 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 192.168.31.250 - - [13/Nov/2019:08:38:07 +0800] "GET /aa HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, l 阅读全文
posted @ 2019-11-13 09:55 linux——quan 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Nginx location 配置语法 1. location [ = | ~ | ~* | ^~ ] uri { ... } 2. location @name { ... } location 配置可以有两种配置方法 1.前缀 + uri(字符串/正则表达式) 2.@ + name 前缀含义 = 阅读全文
posted @ 2019-11-13 08:51 linux——quan 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 一. 集群的概念 服务器集群简称集群是一种服务器系统,它通过一组松散集成的服务器软件和/或硬件连接起来高度紧密地协作完成计算工作。在某种意义上,他们可以被看作是一台服务器。集群系统中的单个服务器通常称为节点,通常通过局域网连接,但也有其它的可能连接方式。集群服务器通常用来改进单个服务器的计算速度和/ 阅读全文
posted @ 2019-11-11 11:02 linux——quan 阅读(703) 评论(1) 推荐(0) 编辑
摘要: 一般来说修改3个位置,一个是nginx.h、另一个是ngx_http_header_filter_module.c、还有一个ngx_http_special_response.c。 提示:一般修改都是在nginx编译之前修改,修改完了之后需要重新编译 cd scr/core/nginx.conf # 阅读全文
posted @ 2019-11-11 08:50 linux——quan 阅读(714) 评论(0) 推荐(0) 编辑
摘要: CentOS 7的服务systemctl脚本存放在:/usr/lib/systemd/,有系统(system)和用户(user)之分 系统服务放在/usr/lib/systemd/system [Unit] Description=jms After=network.target mariadb.s 阅读全文
posted @ 2019-11-11 08:44 linux——quan 阅读(196) 评论(0) 推荐(0) 编辑
摘要: CentOS Linux release 7.7.1908 (Core) 3.10.0-1062.4.1.el7.x86_64 Initialize(){ yum update -y systemctl start firewalld firewall-cmd --zone=public --add 阅读全文
posted @ 2019-11-11 08:29 linux——quan 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 1111. ctrl+v进入列编辑模式,在编辑模式中,在行间上下移动光标,选择需要编辑哪些行的对应的列,之后使用I(大写)进入列插入。插入注释符,按两次Esc退出列编辑模式即可实现多行注释 删除注释:按ctrl+v 进入列编辑模式,向下或向上移动光标,选中注释部分,然后按d, 就会删除注释符号。 阅读全文
posted @ 2019-11-08 16:45 linux——quan 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 显示行号 [root@#quan#Better ~]$cat -n lnmp-zabbix-quan 1 #关闭iptables 2 service iptables stop 3 chkconfig iptablse off 4 #关闭selinux 5 setenforce 0 6 sed -i 阅读全文
posted @ 2019-11-08 16:16 linux——quan 阅读(231) 评论(0) 推荐(0) 编辑
摘要: -b:值为每一输出档案的大小,单位为 byte。 -C:每一输出档中,单行的最大 byte 数。 -d:使用数字作为后缀。 -l:值为每一输出档的列数大小。 [root@#quan#Better zabbix]$split -l 10000 zabbix.haocheng.com.access.lo 阅读全文
posted @ 2019-11-08 10:10 linux——quan 阅读(441) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 32 下一页