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
F

Francesco

Great servers, Great Service, Awesome uptime! Our company has been working with AYKSolutions for alm...

Read full review
C

Craig D

NC, United States

I have had my hosting with AYK since 2006, and it has by far been the best experience I have ever ha...

Read full review
B

Brad

We're Happy with our 1 Gigabit Server AYK Solutions! AYK Solutions provides all our back-end server...

Read full review
R

RatePoint R

Ayksolutions Customer Reviews Prompt, professional, efficient. I am currently using a shared accoun...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft