摘要: ? 从图上a56爆大奖在线娱乐们可以看出来通过系统调用将Linux整个体系分为用户态和内核态(或者说内核空间和用户空间)。那内核态到底是什么呢?其实从本质上说就是a56爆大奖在线娱乐们所说的内核,它是a56爆大奖在线娱乐特殊的软件程序,特殊在哪儿呢?控制计算机的硬件资源,例如协调CPU资源,分配内存资源,并且提供稳定的环境供应用程序运行。当软件程序要 阅读全文
posted @ 2020-07-16 09:54 Gshelldon 阅读(220) 评论(0) 推荐(0) 编辑
摘要: jpress、Zabbix 完成集群的基础、完整集群架构日志收集功能 Elk、自动化上线代码 git/jenkins、实现全站HTTPS加密、搭建 NginxProxyCache 、搭建 Nginx+Keepalived 、MHA 高可用、MySQL 数据库环境搭建,主从搭建 阅读全文
posted @ 2020-07-14 20:37 Gshelldon 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 搭建过程 注意防火墙和selinux的影响可以先关闭。 一、安装nginx # 1、更改nginx源安装nginx [root@web01 ~]# vi /etc/yum.repos.d/nginx.repo [nginx-stable] name=nginx stable repo baseurl 阅读全文
posted @ 2020-07-14 20:14 Gshelldon 阅读(561) 评论(0) 推荐(0) 编辑
摘要: location的匹配 匹配符 匹配规则 优先级 = 精确匹配 1 ^~ 以某个字符串开头 2 ~ 区分大小写的正则匹配 3 ~* 不区分大小写的正则匹配 4 !~ 区分大小写不匹配的正则 5 !~* 不区分大小写不匹配的正则 6 / 通用匹配,任何请求都会匹配到 7 # 通用匹配,任何请求都会匹配 阅读全文
posted @ 2020-07-14 20:00 Gshelldon 阅读(343) 评论(0) 推荐(0) 编辑
摘要: nginx的常用模块 ngx_http_index_module Syntax: index file ...; Default: index index.html; Context: http, server, location location / { index index.html; } n 阅读全文
posted @ 2020-07-14 19:50 Gshelldon 阅读(608) 评论(0) 推荐(0) 编辑
摘要: nginx的日志管理 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$h 阅读全文
posted @ 2020-07-14 19:41 Gshelldon 阅读(1883) 评论(0) 推荐(0) 编辑
摘要: nginx 的三种虚拟主机配置方法 nginx三种虚拟主机配置的方法. 基于端口 在生产环境中一般使用端口或者域名。 [root@web01 /etc/nginx/conf.d]# cat web01.conf server { listen 80; server_name 10.0.0.7; location / { root /c 阅读全文
posted @ 2020-07-14 19:19 Gshelldon 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 官方源安装nginx、网站访问量相关术语、nginx主配置文件详解、自定义日志格式调用。 阅读全文
posted @ 2020-07-12 17:17 Gshelldon 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 什么是url ? url = 协议 + 域名 + 资源路径 比如: https://www.baidu.com/index.html http : 超a56爆大奖在线娱乐传输协议 https: 安全套接字协议 HTTP的工作原理 访问https://mirrors.aliyun.com/centos-vault/r 阅读全文
posted @ 2020-07-12 12:21 Gshelldon 阅读(925) 评论(1) 推荐(1) 编辑
摘要: ssh协议 为什么使用ssh协议? 在进行传输时,会对数据进行加密,保证会话安全;telnet协议不是加密传输,在传输过程中如果被抓包,就会造成信息泄露,telnet默认不支持root远程。 # 常用协议端口 ftp 21 ssh 22 telnet 23 # 不支持root登陆 rsync 873 阅读全文
posted @ 2020-07-12 12:05 Gshelldon 阅读(313) 评论(0) 推荐(0) 编辑