[root@i-m7eow76r~]#ulimit-n1024[root@i-m7eow76r~]#ulimit-n10240[root@i-m7eow76r~]#ulimit-n10240[root@i-m7eow76r~]#vi/etc/security/limits.confdmdbasoftnofile10240dmdbahardnofile65536[root@i-m7eow76r~]#
分类:
其他好文 时间:
2020-11-24 12:26:18
阅读次数:
8
mormot2 http.sys 单元文件:mormot.net.server.pas /// HTTP server using fast http.sys kernel-mode server // - The HTTP Server API enables applications to co ...
分类:
Web程序 时间:
2020-11-24 12:24:19
阅读次数:
8
问题一:[root@cdeba90ec46e~]#./configure--prefix=/usr/local/nginx--user=www--group=www--with-http_stub_status_modulebash:./configure:Nosuchfileordirectory//解决思路:表示在执行预编译./configure没有找到configure执行文件,改文件不存在
分类:
其他好文 时间:
2020-11-24 12:21:39
阅读次数:
7
1、首先安装JDK yum -y install java-1.7.0-openjdk-devel.x86_64 2、安装jenkins 配置yum源: (1)配置yum源: wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.or ...
分类:
系统相关 时间:
2020-11-24 12:18:21
阅读次数:
10
c语言实现协程? 原文:https://www.cnblogs.com/my_life/articles/5452297.html http://www.hawkwithwind.net/blog/2011/02/18/%E5%8D%8F%E7%A8%8B%E7%9A%84c%E5%AE%9E%E7 ...
分类:
编程语言 时间:
2020-11-24 12:17:45
阅读次数:
8
#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c)!=EOF){ ...
分类:
其他好文 时间:
2020-11-24 12:17:23
阅读次数:
9
在客户端和服务器交互的过程中,有些准备工作或扫尾工作需要处理,比如: 在请求开始时,建立数据库连接; 在请求开始时,根据需求进行权限校验; 在请求结束时,指定数据的交互格式; 为了让每个视图函数避免编写重复功能的代码,Flask提供了通用设置的功能,即请求钩子。 请求钩子是通过装饰器的形式实现,Fl ...
分类:
Web程序 时间:
2020-11-24 12:13:16
阅读次数:
11
【1】什么是编码? 【2】通过生活案例: 【3】由权威机构形成的编码表才可以称之为:字符集 ASCII 英文字符集 用一个字节的7位表示 IOS8859-1 西欧字符集 用一个字节的8位表示 GB2312 简体中文字符集 最多使用两个字节编码 PS: 中文:2个字节 GB2312兼容了ASCII中的 ...
分类:
编程语言 时间:
2020-11-24 12:08:32
阅读次数:
7
手动下载安装nginx 需要的安装依赖包 登录可连接公网的一台机器, 配置 nginx.repo yum源 cat nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$bas ...
分类:
其他好文 时间:
2020-11-23 12:47:29
阅读次数:
23
<string.h> 是C语言标准库的头文件之一,包含了一些字符串/内存处理相关的函数(如 strcpy,memcpy 等)。 <cstring> 是C++语言标准库的头文件之一,基本上就是 <string.h> 的C++版本,当编写C++程序时如果需要使用 <string.h>,则应当用 <cst ...
分类:
其他好文 时间:
2020-11-23 12:45:12
阅读次数:
20