blog.erben.sk Just another sysadmin blog

15Jul/100

Still using debian etch?

When you need install some package to old discontinued debian, you will get

Error 404 Not Found

Solution is change /etc/apt/sources.list

deb http://archive.debian.org/debian/ etch main non-free contrib

Source http://linuxsysadminblog.com/2010/07/debian-ftp-archive-for-etch-archive-debian-org/

8Jul/100

Checking forward and reverse dns

Very often problems like  'my website is not working' or 'I did not get any emails' are caused by improperly set up dns records or expired domain. At my work, I'm permanently dealing  with incorrectly set up dns records. There are available services like intodns.com which you can use to check dns records for domain.  But what to do, if you have problem with reverse dns? Or you want to check, if your reverse delegation is set up correctly?

6Jul/100

Hardware raid in debian

To manage and monitor hardware raid, you need proper utility. Most of vendors provides raid utilities only for Redhat based linuxes. For Debian based distribution I have found very useful repository - http://hwraid.le-vert.net/wiki/DebianPackages.  You just need to know, which raid card you are using and follow provided instructions.

Tagged as: , No Comments
7Jun/100

Apache authentication against active directory

I have found nice howto about apache and Active directory authentication
http://www.netexpertise.eu/en/apache/authentication-against-active-directory.html

Tagged as: No Comments
10May/100

Tweak the readahead of a raid in linux

If your dealing with big RAID arrays with a linux 2.6 kernel you will need to tweak your block device readahead settings. This can double or triple your read speeds. The tweak is very easy.

18Apr/100

Blocking SIP brute force attacks with fail2ban

SIP brute force attacks against Asterisk servers are very popular. Best way to defend is to block sip by default and allow only allowed IPs to connect. But we can not use this approach in some cases. Here fail2ban can help.

12Apr/100

Remove todays debian installed packages

When you change your mind or you have installed packages on wrong server this magic command can help:

30Mar/100

Running Trixbox in Xen

A week ago I was searching if we can run multiple Trixboxes on one physical server.

19Mar/100

Zabbix 1.8 for Ubuntu 9.10 Karmic

I have build backported zabbix 1.8 packages (agent and server) for Ubuntu Karmic. They can be downloaded here.

16Mar/100

Control panels for webhosting

Last few days I have been searching for webhosting control panel. I want something what can manage email accounts, apache2, ftp and dns zones. And I also want to split services to few servers for higher availability, build cluster. Two web servers, two mail servers and all data on shared storage.