I.T. Security and Linux Administration:

March, 2012

1

March 29, 2012  1:51 PM

More Bash Alias Tips



Posted by: Eric Hansen
alias, Bash, tips

So as of late I've been running into some issues on servers I manage.  A good example is today, I ran into a situation where mail was being stuck in the queue due to Amavis not running.  While this is find and dandy, and an easy fix (had to change the system's hostname), I quickly got bored of...

March 25, 2012  2:42 PM

IP Banlist with Automagic Updating



Posted by: Eric Hansen
Apache, Auto-update, Banlist, HTTP, IP, SSH, tcp_wrappers, Web

First let me start off by saying that this can be used for iptables with some minor tweaking, but I chose to implement this using...


March 15, 2012  3:18 PM

Two-Factor Authentication in PHP Using SSH



Posted by: Eric Hansen
authentication, PHP, SSH, Two-Factor

For a good couple of years now I've wondered if there was a way to write an authentication system in PHP that utilized SSH instead of the widely-breakable database and flatfile methods. After doing some research I found its possible after installing a PHP extension. This guide will detail the...


March 14, 2012  11:09 AM

Custom Apache Directory Configuration with ISPConfig 3



Posted by: Eric Hansen
Apache, FastCGI, FCGI, ISPConfig, PHP

I've started my own business, and have been working with a friend's business to migrate his web hosting clients over to my servers.  For the most part this transition has been smooth, except for one client.  Due to how their directories were configured (and WP misconfigurations), instead of...


March 12, 2012  10:59 PM

Resolving MySQL error 1146: “table doesn’t exist” when doing backup



Posted by: Eric Hansen
Corrupted data, MySQL

While I'm not the biggest saint in the IT world when it comes to doing backups ([religious figure]-bless the fact OpenVZ has a simple container-back up function), when you do perform a backup one of the worse things that can possibly happen (besides a corrupted backup) is the backup not being...


March 2, 2012  11:49 AM

OpenVZ and Ubuntu: No loopback adapter



Posted by: Eric Hansen
127.0.0.1, 127.0.0.2, Loopback, MySQL, OpenVZ, Postfix, Ubuntu

For the past few months I've been working hard at getting my own business started and going.  Its definitely been a ride, and have learned a lot about business and I.T. that I didn't think I'd ever touch on.  One of those I.T. aspects involves OpenVZ and their Ubuntu template (I use 11.04 x86),...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: