BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Linux Server Security

This has been tested on a Centos4.x server. But should work on most other Linux flavors.

Add a new repo /etc/yum.repos.d/RPMforge.repo

[RPMforge]
name=DAG-RHEL-4
baseurl=http://apt.sw.be/redhat/el4/en/i386/dag/
gpgcheck=1

# Add RPMforge GPG key
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

# Add snort
yum -y install snort


*----------------
complete steps if you want to compile it
-------------------
wget http://www.tcpdump.org/release/libpcap-0.9.3.tar.gz
tar zxvf libpcap-0.9.3.tar.gz
rm -fr libpcap-0.9.3.tar.gz
cd libp*
./configure
make
make install



This will install the library in /usr/local/lib. To get everything right, you need to edit the file /etc/ld.so.conf and check if it contains a line with /usr/local/lib. When all's OK enter


pico /etc/ld.so.conf
ldconfig


wget http://surfnet.dl.sourceforge.net/so...cre-6.3.tar.gz
tar -xzf pcre-6.3.tar.gz
rm -fr pcre-6.3.tar.gz
cd pcre*
./configure
make
make install




wget http://www.snort.org/dl/current/snort-2.4.4.tar.gz
tar zxvf snort-2.4.4.tar.gz
rm -fr snort-2.4.4.tar.gz
cd snort*
./configure
make
make install



mkdir /var/log/snort
chown snort.snort /var/log/snort

Courtesy of Mora @ alkema4host.com

See What Our Customers Say

Leave review
R

RAF Website D

Outstanding Customer Service Everytime I have emailed AYKsolutions I have gotten an outstanding resp...

Read full review
J

James

FL, United States

I have been using AYK for about 2 years now and they are always on top of any issues I have. They ha...

Read full review
S

Soren

Without doubt the most professional and friendly support team i have ever experienced. These guys ar...

Read full review
B

Bruce L

MD, United States

We have been customers for several years. Just wanted to give a thumbs-up for their excellent respon...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft