Ubuntu11.04 install Snort record: 1. sudoapt-getinstallbuild-essential2. Install the latest gnum4, latest
Install Snort in Ubuntu 11.04:
1. sudo apt-get install build-essential
Install the latest gnu m4, http://ftp.gnu.org/gnu/m4/
3. install flex and bison. You can search and download them by yourself. You can also: sudo apt-get install bison and sudo apt-get install flex.
4. Install libpcap, http://www.tcpdump.org/#latest-release
5. sudo apt-get install zlib1g-dev
6. On the snort official website, choose ln-s/usr/local/lib/libdnet.1.0.1/usr/lib/libdnet.1 and install snort.
7. After installation, run sudo mkdir/var/log/snort to create the snort log directory.
8. Currently, the basic mode of snort runs normally, but the IDS mode remains to be studied. You need to download rules and modify the snort. conf file for further research ..