摘要:
tomcat中conf目录中一些文件说明 server.xml文件:该文件用于配置和server相关的信息,比如tomcat启动的端口号、配置host主机、配置Context web.xml文件:部署描述文件,web.xml 文件有两部分:Servlet 类定义和Servlet 映射定义。这个web 阅读全文
posted @ 2023-07-19 10:17
ღ᭄遇见你²⁰²²
阅读(130)
评论(0)
推荐(0)
摘要:
查看tomcat目录 各目录文件用途 tomcat | bin:存放启动和关闭tomcat执行脚本; | conf :存放Tomcat服务器的各种全局配置文件,其中最重要的是server.xml和web.xml; | lib: 存放Tomcat运行需要的库文件(jar),包含Tomcat使用的jar 阅读全文
posted @ 2023-07-19 10:14
ღ᭄遇见你²⁰²²
阅读(93)
评论(0)
推荐(0)
摘要:
修改系统可以打开的最大文件数: 临时修改 ulimit -n设定系统最多打开的文件数 ulimit -n 102400 ulimit -n 102400 永久修改 修改linux的软硬件限制文件/etc/security/limits.conf vim /etc/security/limits.co 阅读全文
posted @ 2023-07-19 10:08
ღ᭄遇见你²⁰²²
阅读(94)
评论(0)
推荐(0)
摘要:
vim /etc/init.d/nginx #!/bin/bash # chkconfig: 2345 99 20 # description: Nginx Service Control Script PROG="/usr/local/nginx/sbin/nginx" PIDF="/usr/lo 阅读全文
posted @ 2023-07-19 09:58
ღ᭄遇见你²⁰²²
阅读(62)
评论(0)
推荐(0)
摘要:
nginx中编译安装的的模块介绍 ./configure --prefix=/usr/local/nginx --with-http_dav_module --with-http_stub_status_module --with-http_addition_module --with-http_s 阅读全文
posted @ 2023-07-19 09:48
ღ᭄遇见你²⁰²²
阅读(293)
评论(0)
推荐(0)
摘要:
nginx.conf内容 在Nginx服务器的主配置文件nginx.conf中,包括全局配置、I/O事件配置、HTTP配置这三大块内容,配置语句的格式为”关键字 值;”(末尾以分号表示结束),以”#”开始的部分表示注释。 1)全局配置 由各种配置语句组成,不使用特定的界定标记。全局配置部分包括运行用 阅读全文
posted @ 2023-07-19 09:43
ღ᭄遇见你²⁰²²
阅读(68)
评论(0)
推荐(0)

浙公网安备 33010602011771号