
Installing Snort on CentOS 6.4
November 2, 2013My guide is simple. Just the commands you need to run. Please, read before copy and paste. It requires clean minimal installation of CentOS 6.4 and Internet connectivity:
yum install wget
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm epel-release-6-8.noarch.rpm
vi /etc/yum.repo.d/remi.repo
[remi]
enabled=1
[remi-php55]
enabled=1
yum install autoconf automake bison flex gcc glibc libdnet libdnet-devel libpcap libpcap-devel make mlocate pcre-devel rpm-build zlib zlib zlib-devel
wget snort and daq source rpms from snort.org
rpmbuild –rebuild daq-2.0.1-1.src.rpm
yum localinstall rpmbuild/RPMS/x86_64/daq-2.0.1-1.x86_64.rpm
rpmbuild –rebuild snort-2.9.5.5-1.src.rpm
yum localinstall rpmbuild/RPMS/x86_64/snort-2.9.5.5-1.x86_64.rpm
yum install mysql-server
chkconfig –add mysqld
chkconfig mysqld on
service mysqld start
mysql_secure_installation
Posted in Snort / Snorby / Barnyard2, Software | Tagged CentOS, Snort |
im kind of new on snort.. why do you install mysql-server ?
snort using barnyard2 is filling up a db (in that case mysql) and the end user interface (text based or gui) is reading from the db and generating reports