Snort mailing list archives
RE: Installing Snort2.0 w/ MySQL support
From: SecurityAdmin () aspentech com
Date: Wed, 30 Apr 2003 13:36:09 -0400
If this is a sensor here's what I do to install it..... install Libpcap # cd libpcap-0.7.X # ./configure # make # make install 6) Install Mysql client # cd .. # cd mysql-3.23.X # ./configure --without-server # make # make install 7) Install snort with MySql support # cd .. # cd snort-x.x.x # ./configure --with- mysql # make # make install 8) Create a snort subdirectory under /etc # cd /etc # mkdir snort 9) copy or move all the .rules files from /rules to /etc/snort # cd /home/software/rules # cp *.rules /etc/snort/ 10) Copy the classification.config file to the root of /etc # cp classification.config /etc/ 11) Copy the snort.conf file to the root of /etc # cp snort.conf /etc/ 12) Copy the MySQL libraries file from /usr/local/lib/mysql to /usr/lib # cd /usr/local/lib/mysql # cp libmysqlclient.so.10 /usr/lib/ For the client side of mysql I have never changed the install path, but possibly the libraries need to be moved per #12? This is on FreeBSD, but it should be close. Here is a link to the entire doc... http://www.inetsecurity.info/modules.php?op=modload <http://www.inetsecurity.info/modules.php?op=modload&name=News&file=article& sid=1> &name=News&file=article&sid=1 Wayne -----Original Message----- From: David Alonso De La Vega Tapage [mailto:delavegad () bancoaliado com] Sent: Wednesday, April 30, 2003 10:52 AM To: snort Cc: snort-users () lists sourceforge net Subject: Re: [Snort-users] Installing Snort2.0 w/ MySQL support ./configure --with-mysql=/usr snort wrote: Hello, I'm trying to install snort-2.0.0 with mysql support. After installing mysql I try to install snort with mysql support but the output of configure --with-mysql=/usr/local/lib/mysql is: "checking for mysql... no". Here is my install procedure starting with mysql: mysql-3.23.56 - installs without any problems ./configure --without-server make && make install snort-2.0.0 ./configure --with-mysql=/usr/local/lib/mysql checking for mysql... no I believe the necessary mysql client library files have been installed to /usr/local/lib/mysql - they are: libmysqlclient.a, libmysqlclient.la, and libmysqlclient.so.10.0 . The OS is OpenBSD 3.2. Does anyone see where I'm going wrong? Any help would be greatly appreciated. Thanks, John _____ ****** Message from InterScan E-Mail VirusWall NT ****** ** No virus found in attached file noname.htm ** No virus found in attached file noname.htm Este correo ha sido revisado y esta libre de virus. Disclaimer ***************** End of message ***************
Current thread:
- Installing Snort2.0 w/ MySQL support snort (Apr 29)
- Re: Installing Snort2.0 w/ MySQL support David Alonso De La Vega Tapage (Apr 30)
- <Possible follow-ups>
- RE: Installing Snort2.0 w/ MySQL support SecurityAdmin (Apr 30)