Archive for October, 2011

How Much RAM / Bandwidth / Disk Space Do I Really Need?

If you’ve ever been shopping for a server or a web host, then you know exactly how often this question comes up. It doesn’t matter if you’re looking for the perfect dedicated host, or just a shared provider that will snuggle up well with your personal blog: At some point, you’ll start to worry about the amount of available RAM, bandwidth, and disc space. If you take a look around, you’ll very quickly come to realize that most providers offer a wealth of plans, each with diverging selling points where these hardware pieces are concerned. In essence, it’s a jungle out there. Continue Reading »

Category: Random Stuff
Tags: , , ,
Posted on Sunday, Oct 02, 2011
Trackback URI   Comments RSS

How to Install ModSecurity in CentOS

If you’re the proud owner of a dedicated server running CentOS (Seems like most people are favoring the Linux distro these days!) then you owe it to yourself to install a simple utility called ModSecurity. The service is an application firewall that prevents your server from weakness open to exploit in various web applications. It’s not a fool-proof method of tightening your server, but it’s certainly better than nothing—in our eyes, a lot better than nothing.

Thankfully, it’s not hard to install, either. You will need to have a basic understanding of the terminal, as well as how to add repositories to YUM, though. If you’re fuzzy about either of these aspects, we strongly suggest you perform a quick Google search to educate yourself. They’re basic functions that you’ll need to learn eventually, and knowing how to do each well will benefit you greatly during this tutorial.

If you have both fronts covered, then you’re officially ready to march on, Soldier!

1. Add the Repo: You’ll first need to add the actual ModSecurity repository, as it’s not a stock part of YUM. To do so, type the following into terminal:

cd /etc/yum.repos.d

You’ll then need to create a file called utterramblings.repo

touch utterramblings.repo

Edit the file with “vi” or “nano,” then insert the following bits into the text:

[utterramblings]

name=Jason’s Utter Ramblings Repo

baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/

enabled=1

gpgcheck=1

gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

2.  Install: To finish the process off, just type the following and hope for the best!

yum install mod_security

That’s all there is to it! Now your server is slightly safer, and none the worse for the wear! This should be a painless procedure, but if anything should go wrong, you can always check the ModSecurity website for further information or the occasionally helpful bit of tech support.

Likewise, if you’d rather not have that extra YUM repository sitting about, you’re free to delete it once installed. However, doing so prevents you from easily obtaining any new updates without first adding the resource back. If that doesn’t sound like a problem, then power on, Pilgrim. Otherwise, we’d suggest you leave the file where it is and let it soak. If you’re fuzzy about how to add and edit repositories to CentOS, you can always look at this guide to get a quick reference point.

 

Category: Security Issues
Tags: , , , ,
Posted on Sunday, Oct 02, 2011
Trackback URI   Comments RSS

Page 5 of 512345

Stay in Touch with the Geeks

Our Community

Facebook
2251 Fans
Twitter
1403 Followers
FeedBurner
62 Subscribers

Submit News

Do you have an exciting story and want the world to hear it?

Submit a Story

  • 15K monthly visitors
  • PageRank 6
  • Alexa 11,000