nginx配置http块中增加 client_max_body_size 200m; php-fpm的php.ini配置文件中增加: upload_max_filesize = 200M 如果不知道fpm下的php.ini在哪,可以直接grep upload_max_filesize -R /etc ...
分类:
Web程序 时间:
2020-06-26 23:57:29
阅读次数:
123
此实验为sdnlab上Open vSwitch系列实验。 一、实验目的 了解GRE协议及原理 理解 Open vSwitch如何配置GRE隧道 二、实验原理 Open vSwitch创建GRE原理很简单,就是把对GRE头和外部IP头的一些操作从原来的代码中抽象出来,做成内核“库函数”的形式,然后 O ...
分类:
其他好文 时间:
2020-06-26 13:00:08
阅读次数:
84
增加shell脚本 #!/bin/bash n=`curl -I -s http://127.0.0.1:8088/projectName/index.jsp | grep "HTTP/1.1 200" | wc -l` if [ $n -ne 1 ] then title='projectName ...
分类:
编程语言 时间:
2020-06-26 12:54:41
阅读次数:
100
一、脚本说明 #!/bin/bash #**************************************************** #Date: 2020-06-25 #Author: Damon Ye #FileName: ExtensionName.sh #Description: ...
分类:
编程语言 时间:
2020-06-25 19:49:16
阅读次数:
54
cd到/etc/rc.d/init.d/目录,并列出该目录下的所有文件,看看是否有httpd 使用httpd -v查看已经安装的httpd的版本 使用rpm -qa | grep httpd查看是否已经安装了httpd 使用ps -ef | grep httpd查看httpd的进程 使用servic ...
分类:
Web程序 时间:
2020-06-25 11:54:16
阅读次数:
89
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' ...
分类:
其他好文 时间:
2020-06-24 23:43:31
阅读次数:
50
1、首先创建测试文件 a.txt、b.txt、c.txt 2、 查看空格类型,使用如下命令: cat -A file a.txt 第二行什么都没有 b.txt 的第二行为空格 c.txt文件第二行为tab键 3、使用常规命令 删除空行 sed '/^$/d' file 或者 grep -v '^$' ...
分类:
系统相关 时间:
2020-06-24 23:34:45
阅读次数:
69
For Flink applications to run reliably at large scale, two conditions must be fulfilled: The application needs to be able to take checkpoints reliably ...
分类:
其他好文 时间:
2020-06-24 14:07:13
阅读次数:
47
函数介绍(function用法) 1、function用法 1、函数function是由若干条shell命令组成的语句块,实现代码重用和模块化编程。 2、它与shell程序形式上是相似的,不同的是它不是一个单独的进程,不能独立运 行,而是shell程序的一部分,定义函数只对当前的会话窗口有效,如果再 ...
分类:
系统相关 时间:
2020-06-24 00:45:01
阅读次数:
123
1. 包含关键词 带行号 grep -n "关键词" 文件 2. 匹配高亮 grep -n "关键词" 文件 --color=auto 3. 同时满足多个关键字 grep "关键词1" 文件 | grep "关键词2" 4. 截取指定行之间的文本 sed '起始,结束p' 文件 >> 新文件 ...
分类:
其他好文 时间:
2020-06-23 18:59:14
阅读次数:
43