1. 编程模型 接收方: <1> 创建DatagramSocket类型的对象,并提供端口号 <2> 创建DatagramPacket类型的对象,并提供缓冲区 <3> 通过Socket接收数据内容,存放到Packet中,调用receive方法 <4> 关闭Socket 发送方: <1> 创建Datag ...
分类:
编程语言 时间:
2021-06-15 18:31:17
阅读次数:
0
我设置的前提条件: 已购买阿里云服务器,开通了80端口,且网站已备案。 1、在网站文件中新建index.php文件。该文件内容如下: 把 define("TOKEN", "weixin"); 中的weixin,改成自定义字符串,比如 mytoken <?php /** * wechat php te ...
分类:
微信 时间:
2021-06-15 18:25:53
阅读次数:
0
WEB服务与NGINX(2)-NGINX的I/O模型 1. linux I/0模型及在NGINX中的应用 1.1 I/O模型概述 I/O在计算机中指的是INPUT和OUPUT,IOPS(INPUT/OUTPUT per second)每秒的输入输出量(或读写次数),是衡量I/O性能的主要指标之一。 ...
分类:
Web程序 时间:
2021-06-13 10:47:01
阅读次数:
0
CentOS 安装 nginx 教程 下载安装包 cd /usr/local wget http://nginx.org/download/nginx-1.19.8.tar.gz 安装依赖 yum install gcc-c++ yum install pcre yum install pcre-d ...
分类:
其他好文 时间:
2021-06-13 10:38:46
阅读次数:
0
1.Eureka挂掉后,服务之间能否正常调用? 不能,服务之间调用,需要根据服务名获取对应服务的主机ip及端口,挂掉后客户端不能获取。 2.ES中的索引和Mysql中的索引区别? ES中的索引数据结构时倒排索引,Msql中的索引时B+树 3.Eureka注册信息时主动推送还是手动拉取? 手动拉取 4 ...
分类:
其他好文 时间:
2021-06-13 10:25:42
阅读次数:
0
nginx.conf配置 #user nobody; user www www; worker_processes 8; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log in ...
分类:
其他好文 时间:
2021-06-13 09:55:40
阅读次数:
0
1、自动配置好tomcat: 引入spring-boot-starter-web依赖会创建一个8080端口的内嵌Tomcat(可以通过application.yaml配置文件的server.port配置自定义端口[e.g: server.port=8888]) 2、自动配置好SpringMVC、We ...
分类:
其他好文 时间:
2021-06-13 09:38:04
阅读次数:
0
1、去官网https://redis.io/下载对应的nginx包,推荐使用稳定版,上传到centos系统 /home/software/ 解压 tar -zxvf redis-5.0.5.tar.gz 或 使用linux wget命令:wget http://download.redis.io/r ...
分类:
其他好文 时间:
2021-06-13 09:30:04
阅读次数:
0
nginx下载地址 http://nginx.org/en/download.html Window启动命令: java -jar D:\jeecg-boot-module-system-2.0.0.jar Linux下后台进程启动命令: nohup java -jar jeecg-boot-mod ...
分类:
系统相关 时间:
2021-06-13 09:26:41
阅读次数:
0
问题描述 报错信息如下所示: ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrit ...
分类:
Web程序 时间:
2021-06-11 19:17:07
阅读次数:
0