前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >Snort 基础11

Snort 基础11

作者头像
franket
发布于 2022-05-03 02:57:56
发布于 2022-05-03 02:57:56
29100
代码可运行
举报
文章被收录于专栏:技术杂记技术杂记
运行总次数:0
代码可运行
安装报错三
代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
[root@h101 snort-2.9.7.6]# ./configure  --enable-sourcefire 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
...
...
checking for daq address space ID... no
checking for daq flow ID... no
checking for DAQ_VERDICT_RETRY... no
checking for sparc... no
checking for visibility support... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no

   ERROR!  zlib header not found, go get it from
   http://www.zlib.net
[root@h101 snort-2.9.7.6]# 

报错原因是 zlib 的头文件缺失

解决办法是: 安装 zlib-devel.x86_64

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
[root@h101 snort-2.9.7.6]# yum install  zlib.x86_64  zlib-devel.x86_64  
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * epel: mirrors.opencas.cn
 * extras: centos.ustc.edu.cn
 * updates: centos.ustc.edu.cn
Package zlib-1.2.3-29.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                          Arch                         Version                               Repository                  Size
======================================================================================================================================
Installing:
 zlib-devel                       x86_64                       1.2.3-29.el6                          base                        44 k

Transaction Summary
======================================================================================================================================
Install       1 Package(s)

Total download size: 44 k
Installed size: 115 k
Is this ok [y/N]: y
Downloading Packages:
zlib-devel-1.2.3-29.el6.x86_64.rpm                                                                             |  44 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : zlib-devel-1.2.3-29.el6.x86_64                                                                                     1/1 
  Verifying  : zlib-devel-1.2.3-29.el6.x86_64                                                                                     1/1 

Installed:
  zlib-devel.x86_64 0:1.2.3-29.el6                                                                                                    

Complete!
[root@h101 snort-2.9.7.6]# 

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
Snort 基础10
解决办法:安装 libdnet.x86_64 和 libdnet-devel.x86_64
franket
2022/05/03
5620
Snort 基础2
错误原因是缺少 bison 和 flex ,不仅要安装它们的rpm包,还要安装开发包
franket
2022/05/03
2310
Snort 基础9
解决方法 : 安装 pcre.x86_64 和 pcre-devel.x86_64 软件包
franket
2022/05/03
2660
Snort 基础4
报错原因是有 Libpcap 的依赖关系 解决办法: 安装依赖包 [root@h101 daq-2.0.6]# yum list all | grep -i Libpcap libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 libpcap.i686 14:1.4.0-4.20130826git2dbcaa1.el6 libpcap.x8
franket
2022/05/03
2420
Snort 基础14
包依赖总结 snort-2.9.7.6 依赖以下安装包 pcre.x86_64 pcre-devel.x86_64 libdnet.x86_64 libdnet-devel.x86_64 zlib.x86_64 zlib-devel.x86_64 daq-2.0.6 daq-2.0.6 依赖以下安装包 flex.x86_64 flex-devel.x86_64 bison.x86_64 bison-devel.x86_64 libpcap.x86_64 libpcap-devel
franket
2022/05/03
4600
Snort 基础12
再次配置,就成功 [root@h101 snort-2.9.7.6]# ./configure --enable-sourcefire checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... g
franket
2022/05/03
2630
Snort 基础1
安装软件包 安装daq-2.0.6 [root@h101 snort]# ll total 6560 -rw-r--r-- 1 root root 514687 Oct 28 13:53 daq-2.0.6.tar.gz -rw-r--r-- 1 root root 6198052 Oct 28 13:53 snort-2.9.7.6.tar.gz [root@h101 snort]# tar -zxvf daq-2.0.6.tar.gz daq-2.0.6/ daq-2.0.6/ChangeLog d
franket
2022/05/03
3520
Snort 基础8
安装报错一 [root@h101 snort-2.9.7.6]# ./configure --enable-sourcefire checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk
franket
2022/05/03
3350
UnrealIRCd 基础4
报错 报错内容 checking for openssl... not found Apparently you do not have both the openssl binary and openssl development libraries installed. Please install the needed binaries and libraries. The package is often called 'openssl-dev', 'openssl-devel' or 'libs
franket
2021/11/29
3280
CentOS上安装Web性能测试工具Siege & 示例
可以访问【http://download.joedog.org/siege/】下载Siege安装包,本文下载的是siege-4.0.2.tar.gz
孟君
2020/04/23
2.7K0
CentOS上安装Web性能测试工具Siege & 示例
Varnish 基础概览1
安装 varnish[root@h101 varnish]# yum -y install varnish Loaded plugins: fastestmirror, refresh-packagekit, securitySetting up Install ProcessRepository base is listed more than once in the configurationLoading mirror speeds from cached hostfile * epel: mirr
franket
2022/06/30
1850
Snort 基础7
安装snort-2.9.7.6 [root@h101 snort]# tar -zxvf snort-2.9.7.6.tar.gz snort-2.9.7.6/ snort-2.9.7.6/depcomp snort-2.9.7.6/tools/ snort-2.9.7.6/tools/u2streamer/ snort-2.9.7.6/tools/u2streamer/sf_error.h snort-2.9.7.6/tools/u2streamer/sf_error.c snort-2.9.7.6/t
franket
2022/05/03
2170
Jenkins 基础1
/etc/yum.repos.d/jenkins.repo 是一个Jenkins RPM 仓库
franket
2022/03/21
1540
Snort 基础5
再次配置,就成功了 [root@h101 daq-2.0.6]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make
franket
2022/05/03
4820
Snort 基础
Snort 是一款开源的IDS/IPS(Intrusion Detection/Prevention System)软件
franket
2022/05/03
3470
Snort 基础3
安装报错二 [root@h101 daq-2.0.6]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make set
franket
2022/05/03
4470
linux上安装python3, 保留python2
首先, linux系统中自带python2, 所以可以直接使用python命令, 注意, 安装python2不能卸载
cg错过
2020/11/25
2.1K0
linux上安装python3, 保留python2
Snort 基础6
然后编译和安装 [root@h101 daq-2.0.6]# make make all-recursive make[1]: Entering directory `/tmp/snort/daq-2.0.6' Making all in api make[2]: Entering directory `/tmp/snort/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
franket
2022/05/03
2660
memcached基础3
root@h101 memcached-1.4.24# yum -y install libevent-devel.x86_64
franket
2022/06/26
2790
CentOS7安装snort
Snort已发展成为一个具有多平台(Multi-Platform)、实时(Real-Time)流量分析、网络IP数据包(Pocket)记录等特性的强大的网络入侵检测/防御系统(Network Intrusion Detection/Prevention System),即NIDS/NIPS。
kenvie
2021/12/27
1.9K7
相关推荐
Snort 基础10
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
本文部分代码块支持一键运行,欢迎体验
本文部分代码块支持一键运行,欢迎体验