Skip to content

Rebuilding Webalizer RPM to change the default language

Quoting the official Webalizer website:

The Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.

By default, the reports generated by Webalizer are in English, and there is no way to change this after it is installed. This is because the language files are statically linked in it’s source code, therefore you need to recompile it if you want to change it’s language.

However, if you installed Webalizer from an RPM package, it’s lame to just recompile it and copy the webalizer binary (if you use Plesk, it is what Parallels suggests) since it would break package verification with rpm -V webalizer. Wouldn’t it be better if your RPM package already provided the software in the desired state? Let’s see how this could be done…

Continue reading ‘Rebuilding Webalizer RPM to change the default language’ »

Facter + Puppet: Writing custom facts to manage Plesk servers

What I’ll describe here is the process of writing some custom facts to retrieve useful information from Parallels Plesk servers, so that you can use them in your Puppet recipes.

For those of you who don’t know what Facter is, I’ll quote the manufacturer’s description:

Reductive’s analysis tool for reporting system configuration and status, used to parametrize Puppet configurations

If you don’t know what Puppet is all about also, check it out right now or this article won’t make sense to you.

Continue reading ‘Facter + Puppet: Writing custom facts to manage Plesk servers’ »

(Português) ProFTPd: o arquivo de scoreboard e informações sobre sessões ativas (ftpwho, ftptop e ftpcount)

Sorry, this entry is only available in Português.

(Português) Obtendo informações de um pacote RPM usando a extensão rpmreader do PHP

Sorry, this entry is only available in Português.

(Português) Como monitorar RAID em controladoras LSI SATA e SAS em Linux

Sorry, this entry is only available in Português.