上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 214 下一页
摘要: 一,配置文件中的项: opcache.enable=1 opcache.enable_cli=0 opcache.memory_consumption=128 opcache.max_accelerated_files=10000 opcache.revalidate_freq=240 opcach 阅读全文
posted @ 2024-09-20 14:37 刘宏缔的架构森林 阅读(1687) 评论(0) 推荐(0)
摘要: 一,设置nginx的日志格式: 1,编辑nginx.conf [root@blog conf]# vi nginx.conf 说明:比默认设置只是在末尾增加了 $request_time 一项 log_format main '$remote_addr - $remote_user [$time_l 阅读全文
posted @ 2024-09-20 11:58 刘宏缔的架构森林 阅读(295) 评论(0) 推荐(0)
摘要: 一,通过查看crontab中的配置,没有logroate 1,查看crontab [root@blog logrotate.d]# more /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # F 阅读全文
posted @ 2024-09-19 15:50 刘宏缔的架构森林 阅读(174) 评论(0) 推荐(0)
摘要: 一,功能: AIDE入侵检测工具的本质就是配置文件中指定文件的哈希值存储到数据库文件中,在进行检测的时候进行再次计算并对比。只能发现有区别,并不能告知区别明细 二,更新用的命令 更新您的基准 AIDE 数据库: # aide --update aide --update 命令创建 /var/lib/ 阅读全文
posted @ 2024-09-19 14:13 刘宏缔的架构森林 阅读(207) 评论(0) 推荐(0)
摘要: 一,安装whois [root@blog logs]# yum install whois 说明:whois命令不是自带命令,需要手动安装一下 二,测试查询一个域名的注册信息: [root@blog logs]# whois nidecode.com Domain Name: NIDECODE.CO 阅读全文
posted @ 2024-09-19 10:00 刘宏缔的架构森林 阅读(185) 评论(0) 推荐(0)
摘要: 一,日志按天切分: 修改.env root@lhdpc:/data/api# vi .env 指定LOG_CHANNEL值为daily即可,代码: LOG_CHANNEL=daily 二,配置laravel日志中记录url/方法/参数 1,config/logging.php 'daily' => 阅读全文
posted @ 2024-09-18 14:01 刘宏缔的架构森林 阅读(484) 评论(0) 推荐(0)
摘要: 一,官方网站: https://aide.github.io/ 代码站: https://github.com/aide/aide 二,安装aide 1,用yum从命令行安装 [root@192 ~]# yum install aide 2,查看版本: [root@192 ~]# aide -v A 阅读全文
posted @ 2024-09-17 19:25 刘宏缔的架构森林 阅读(453) 评论(0) 推荐(0)
摘要: 一,查看规则 查看所有规则 [root@192 ~]# nft list ruleset table inet my_table { chain my_chain { type filter hook input priority filter; policy accept; tcp dport 2 阅读全文
posted @ 2024-09-17 15:21 刘宏缔的架构森林 阅读(1270) 评论(0) 推荐(0)
摘要: 一,policy: 1,原文档链接: https://docs.redhat.com/zh_hans/documentation/red_hat_enterprise_linux/9/html/configuring_firewalls_and_packet_filters/assembly_cre 阅读全文
posted @ 2024-09-17 13:40 刘宏缔的架构森林 阅读(529) 评论(0) 推荐(0)
摘要: 一,创建目录和文件,并添加规则 1,创建目录和文件 [root@blog modsecurity]# mkdir custom_rules [root@blog modsecurity]# cd custom_rules/ [root@blog custom_rules]# vi ipwhiteli 阅读全文
posted @ 2024-09-14 14:18 刘宏缔的架构森林 阅读(253) 评论(0) 推荐(0)
上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 214 下一页