apt install zlib1g libpcre3 libdnet tcpdump libpcap-dev libdumbnet-dev -y
cd /usr/src/daq-2.0.7./configure
make -j4 && make install
cd /usr/src/snort-2.9.8.0./configure
make -j4 && make install
ldconfig
二、卸载
cd /usr/src/daq-2.0.7
make uninstall
make distclean
cd /usr/src/snort-2.9.8.0
make uninstall
make distclean
三、重装
cd /usr/src/daq-2.0.7
make uninstall
make distclean
./configure
make -j4 && make install
cd /usr/src/snort-2.9.8.0
make uninstall
make distclean
./configure
make -j4 && make install
ldconfig