This article is the result of my struggles to properly use GeoIP v2 database within Perl. TL;DR The FASTEST way to use the database is by installing and utilizing the “MaxMind::DB::Reader::XS” perl module. And here is a tiny example: use MaxMind::DB::Reader::XS ; use Data::Dumper; my $geoip_country = MaxMind::DB::Reader::XS->new( file => ‘/usr/share/GeoIP/GeoIP2-Country.mmdb’ ); print Dumper… Continue reading How To Use GeoIP2 (mmdb) Database With Perl
By default Centos 6 has Apache (2.2.x) which comes with suexec preinstalled. The suexec module itself could be found here: /etc/httpd/modules/mod_suexec.so There is also a suexec wrapper binary, which is by default installed here: /usr/sbin/suexec 0. What is the problem with default suexec ? Imagine you want to activate Suexec for some of your… Continue reading Centos 6 – Recompile Apache Suexec
First Using Gnome I was using Gnome back then, when it was version 2.x. It was extremely fast and non-problematic (at least for my use). Going to the dark side (KDE 3.X) Then it came the KDE, the main reason I migrated to KDE was the native usage of “Konsole” and “Klipper” . I… Continue reading Migrating from KDE to Gnome
Qmail – Speedup sending of outgoing mails by rising concurrencyremote If your qmail queu length keeps growing when sending lots of emails, maybe your concurrent outgoing connections are not enough. So you could rise the limit to a value which will be sufficient. The default value is “20” concurrent remote connections. For this purpose execute… Continue reading Qmail tips and tricks
Yum list package content without installing it yum install yum-utils repoquery –list packagename Yum – Get info about a package # This will give you some summary info about a package called “package” yum info package This will result in something like this: [root@localhost ~]# yum info rpm Loaded plugins: langpacks, refresh-packagekit Installed Packages… Continue reading Yum – Usefull commands
Hello Universe … The worst page in the Universe is here … ! Thanks to the best page in the universe !