摘要: awk的基础应用 AWK是一种优良的文本处理工具,Linux及Unix环境中现有的功能最强大的数据处理引擎之一 awk 命令的基本格式为: awk -F “ ” ‘{print 'commands' } ’ filename -F:指定分隔符 -v var=val :在执行处理过程之前,设置一个变量 阅读全文
posted @ 2023-07-26 16:01 ღ᭄遇见你²⁰²² 阅读(20) 评论(0) 推荐(0)
摘要: linux 命令帮助手册 http://linux.51yip.com/ 阅读全文
posted @ 2023-07-21 08:44 ღ᭄遇见你²⁰²² 阅读(21) 评论(1) 推荐(0)
摘要: K8S 部署节点角色主机名IP 地址gatewaydnsCPU内存Master控制节点master192.168.1.11192.168.1.254114.114.114.1144 核4GBnode节点node1192.168.1.12192.168.1.254114.114.114.1144 核4 阅读全文
posted @ 2023-07-21 08:22 ღ᭄遇见你²⁰²² 阅读(79) 评论(0) 推荐(0)
摘要: tomcat中conf目录中一些文件说明 server.xml文件:该文件用于配置和server相关的信息,比如tomcat启动的端口号、配置host主机、配置Context web.xml文件:部署描述文件,web.xml 文件有两部分:Servlet 类定义和Servlet 映射定义。这个web 阅读全文
posted @ 2023-07-19 10:17 ღ᭄遇见你²⁰²² 阅读(127) 评论(0) 推荐(0)
摘要: 查看tomcat目录 各目录文件用途 tomcat | bin:存放启动和关闭tomcat执行脚本; | conf :存放Tomcat服务器的各种全局配置文件,其中最重要的是server.xml和web.xml; | lib: 存放Tomcat运行需要的库文件(jar),包含Tomcat使用的jar 阅读全文
posted @ 2023-07-19 10:14 ღ᭄遇见你²⁰²² 阅读(91) 评论(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 ღ᭄遇见你²⁰²² 阅读(84) 评论(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 ღ᭄遇见你²⁰²² 阅读(59) 评论(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 ღ᭄遇见你²⁰²² 阅读(290) 评论(0) 推荐(0)
摘要: nginx.conf内容 在Nginx服务器的主配置文件nginx.conf中,包括全局配置、I/O事件配置、HTTP配置这三大块内容,配置语句的格式为”关键字 值;”(末尾以分号表示结束),以”#”开始的部分表示注释。 1)全局配置 由各种配置语句组成,不使用特定的界定标记。全局配置部分包括运行用 阅读全文
posted @ 2023-07-19 09:43 ღ᭄遇见你²⁰²² 阅读(65) 评论(0) 推荐(0)