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
K

kkodev

London, United Kingdom

After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices...

Read full review
A

AnyMood.co

TX, United States

I've been a client of AYK Solutions for about six months now. They have provided the best overall ex...

Read full review
T

Treevs

WI, United States

Prompt support, on New Years Eve of all days. Fixed issue within 10 minutes of submitting.

Read full review
J

Johnny

NC, United States

Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I'v...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft