1、在Tomcat下配置一个应用服务(service)中,配置多个端口。 修改conf\server.xml下多配置一个<Connector>即可。 如下: <Connector port="65000" protocol="HTTP/1.1" connectionTimeout="20000" r ...
分类:
其他好文 时间:
2020-11-24 12:30:01
阅读次数:
6
一、批量在服务端向client端发布命令://在zabbix服务端批量向client发送命令查看agent的进程:[root@localhost~]#ansiblezabbix-mshell-a"ps-ef|grepzabbix_agent"[root@localhost~]#ansiblezabbix-mshell-a"/etc/init.d/zabbix_agentdstart"[root@l
分类:
其他好文 时间:
2020-11-24 12:29:23
阅读次数:
6
问题一:[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、pom 包配置 我们使用 Spring Boot 版本 2.1.0、jdk 1.8、tomcat 8.0。 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</a ...
分类:
编程语言 时间:
2020-11-24 12:18:53
阅读次数:
9
手动下载安装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
一、将自己的项目改名为ROOT注意项目名称要大写 假设改完后没生效。建议清空tomcat中的work文件夹(缓存) 二、改动配置文件conf/server.xml文件 添加<Context path="" docBase="Cluster" debug="0" reloadable="true"/> ...
分类:
其他好文 时间:
2020-11-23 12:45:30
阅读次数:
21
前几天弄了下allure报告并发送邮件的方法,没想到还挺麻烦的,现在想起来,大概总结如下: 1.需要python写好的pytest框架的测试用例 2.生成allure报告的allure环境 3.运行jenkins的java环境 一、Tomcat下载及环境配置1、下载下载链接:https://tomc ...
分类:
其他好文 时间:
2020-11-23 12:32:08
阅读次数:
6
问题一: [root@cdeba90ec46e ~]# ./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module bash: ./configure: No such fil ...
分类:
其他好文 时间:
2020-11-23 12:11:38
阅读次数:
5
linux System.setOut(new PrintStream(new File("/opt/apache-tomcat-8.5.51/logs/outLog.txt"))); System.out.println("输出到日志文件测试"); windows System.setOut(ne ...
分类:
其他好文 时间:
2020-11-23 12:03:09
阅读次数:
5
最近生产环境在这两个参数之间遇到过几次坑。这里记录下。 client_max_body_size client_max_body_size 默认 1M,表示 客户端请求服务器最大允许大小,在“Content-Length”请求头中指定。如果请求的正文数据大于client_max_body_size, ...
分类:
其他好文 时间:
2020-11-23 12:01:24
阅读次数:
6