搜索结果
查询Tags标签: listen,共有 69条记录-
linux系统编程——文件IO——事件轮询接口
1. 为什么需要epoll select和poll的特点是:用户给内核一张 需要查看的文件描述符表,内核必须处理表中的每一个文件描述符,当这个表变大时,程序性能降低。 epoll将事件监视器的注册和事件监视工作分离,以避开这个问题。 2. api// @size : 用于提示内核要监控的文件描述…
2021/8/24 7:07:47 人评论 次浏览 -
6 Linux 常用命令(五)常用网络命令
6 Linux 常用命令(五)常用网络命令 6.1 ifconfig命令ifconfig命令最主要的作用就是查看IP地址的信息,直接输入ifconfig命令即可。在CentOS 7.x中ifconfig命令默认没有安装,如果需要使用,需要安装net-tools软件包。命令名称:ifconfig。英文原意:configure a network…
2021/8/17 7:07:42 人评论 次浏览 -
6 Linux 常用命令(五)常用网络命令
6 Linux 常用命令(五)常用网络命令 6.1 ifconfig命令ifconfig命令最主要的作用就是查看IP地址的信息,直接输入ifconfig命令即可。在CentOS 7.x中ifconfig命令默认没有安装,如果需要使用,需要安装net-tools软件包。命令名称:ifconfig。英文原意:configure a network…
2021/8/17 7:07:42 人评论 次浏览 -
prometheus-operator笔记
参考:https://github.com/prometheus-operator/kube-prometheus https://github.com/prometheus-operator/prometheus-operator https://www.bilibili.com/video/BV1Eh411y7jW 架构图安装步骤拉取源码git clone git@github.com:prometheus-operator/kube-prometheus.git …
2021/8/9 6:08:03 人评论 次浏览 -
prometheus-operator笔记
参考:https://github.com/prometheus-operator/kube-prometheus https://github.com/prometheus-operator/prometheus-operator https://www.bilibili.com/video/BV1Eh411y7jW 架构图安装步骤拉取源码git clone git@github.com:prometheus-operator/kube-prometheus.git …
2021/8/9 6:08:03 人评论 次浏览 -
nginx NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG) 处理
今天遇到nginx NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG) 处理,简单记录一下: 端口要配置为支持ssl不能同时ssl on及 listen port ssl 可以参考https://stackoverflow.com/questions/20262186/error-code-ssl-error-rx-record-too-long-for-https-in-nginx-on-r…
2021/8/8 7:10:13 人评论 次浏览 -
nginx NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG) 处理
今天遇到nginx NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG) 处理,简单记录一下: 端口要配置为支持ssl不能同时ssl on及 listen port ssl 可以参考https://stackoverflow.com/questions/20262186/error-code-ssl-error-rx-record-too-long-for-https-in-nginx-on-r…
2021/8/8 7:10:13 人评论 次浏览 -
Centos8搭建web服务器
1.su root 进入最高权限 2.Yum install httpd* -y 安装httpd服务 3.vim /etc/httpd/conf/httpd.conf 配置Apache 1.<Directory> 2.这之间为一组配置 3.<Dirctory> 4.#Listen 12.34.56.78:80Listen 127.0.0.1 更改Listen项(此项决定了Apache的监…
2021/8/7 7:10:06 人评论 次浏览 -
Centos8搭建web服务器
1.su root 进入最高权限 2.Yum install httpd* -y 安装httpd服务 3.vim /etc/httpd/conf/httpd.conf 配置Apache 1.<Directory> 2.这之间为一组配置 3.<Dirctory> 4.#Listen 12.34.56.78:80Listen 127.0.0.1 更改Listen项(此项决定了Apache的监…
2021/8/7 7:10:06 人评论 次浏览 -
nodejs搭建一个最简单的http服务
代码 const http=require("http") http.createServer(function(request,response){console.log(request);response.writeHead(200,{"content-type":"text/html"});response.end("<h1>Hello,World!</h1>")}).listen(8…
2021/8/4 17:08:11 人评论 次浏览 -
nodejs搭建一个最简单的http服务
代码 const http=require("http") http.createServer(function(request,response){console.log(request);response.writeHead(200,{"content-type":"text/html"});response.end("<h1>Hello,World!</h1>")}).listen(8…
2021/8/4 17:08:11 人评论 次浏览 -
nginx 中通过server_name listen的方式配置多个服务器
nginx 中通过server_name listen的方式配置多个服务器 现在假设有三台主机,他们的ip分别为: A: 192.168.1.167 B: 192.168.1.168 C: 192.168.1.169 nginx作为代理服务器部署在主机 A 上面,B 和 C 作为两台应用服务器。现在想实现通过A访问B和C,有以下两种方式: 一、通…
2021/8/3 7:07:20 人评论 次浏览 -
nginx 中通过server_name listen的方式配置多个服务器
nginx 中通过server_name listen的方式配置多个服务器 现在假设有三台主机,他们的ip分别为: A: 192.168.1.167 B: 192.168.1.168 C: 192.168.1.169 nginx作为代理服务器部署在主机 A 上面,B 和 C 作为两台应用服务器。现在想实现通过A访问B和C,有以下两种方式: 一、通…
2021/8/3 7:07:20 人评论 次浏览 -
2.socket编程
TCP和UDP的区别 1、TCP是面向链接的,TCP的三次握手在最低限度上(实际上也很大程度上保证了)保证了连接的可靠性; 2、而UDP不是面向连接的,UDP传送数据前并不与对方建立连接,对接收到的数据也不发送确认信号,发送端不知道数据是否会正确接收,当然也不用重发,所以说…
2021/7/26 17:08:10 人评论 次浏览 -
2.socket编程
TCP和UDP的区别 1、TCP是面向链接的,TCP的三次握手在最低限度上(实际上也很大程度上保证了)保证了连接的可靠性; 2、而UDP不是面向连接的,UDP传送数据前并不与对方建立连接,对接收到的数据也不发送确认信号,发送端不知道数据是否会正确接收,当然也不用重发,所以说…
2021/7/26 17:08:10 人评论 次浏览