Archives

RPM: how to get changelog from package

On 31.01.2012, in supportex.net-blog, by Oleksii Tykhonov
0

Often there’s a need to get changelog of RPM package. Here is a way to do that: [root@playground ~]# rpm -qp –changelog kernel-2.6.41.9-1.fc15.x86_64.rpm | head * Fri Jan 13 2012 Josh Boyer <jwboyer@redhat.com> 2.6.41.9-1 – Linux 3.1.9 – CVE-2012-0045 kvm: syscall instruction induced guest panic (rhbz 773392) * Wed Jan 11 2012 Josh Boyer <jwboyer@redhat.com> [...]

nginx: Using fcgiwrap for CGI applications deployment

On 19.01.2012, in supportex.net-blog, by Oleksii Tykhonov
0

From the box nginx doesn’t support CGI applications deployment since CGI is very old and poor performance way to run them. But some applications still should be deployed with use of CGI (earlier, we covered setup of Nagios and OTRS with nginx). Here is another way to do that. In this case we will use [...]

Getting list of available for update packages in Fedora and Debian

On 21.09.2011, in supportex.net-blog, by Oleksii Tykhonov
0

If you need to get list of available packages for update in Fedora you can use next command: yum clean all && yum check-update And the same for Debian: apt-get clean all && apt-get -qqs dist-upgrade -qq options stand for quite output and -s stands for simulation with no action. Didn’t find the answer to [...]

How to Install CentOS or Fedora Remotely

On 22.06.2011, in supportex.net-blog, by Andrew Okhmat
1

The recently posted article describes how to remotely reinstall Debian Linux. In this post I’d like to share a quick and easy way to remotely install CentOS or Fedora. Anaconda installer can considerably simplify the procedure of installing or updating the operating system on a remote server.

How to block huge amount of IP addresses with use of ipset in Fedora 14

On 22.02.2011, in supportex.net-blog, by Oleksii Tykhonov
4

Sometime you need to block really big numbers of IP addresses. It could be for different reasons. For example, in case of password bruteforce, DDoS attack. Of course, you can block them just in iptables. But there can be a problem. If set of IP addresses contain thousands of items iptables performance decreases (actually, performance [...]

Using SNMP extend feature in Nagios

On 02.12.2010, in supportex.net-blog, by Oleksii Tykhonov
0

In Supportex we monitor a lot of web services and devices. One of the most convenient ways to monitor various parameters is SNMP extend feature. Let’s consider how it works. Assume you already have SNMP daemon installed. Firstly you need to add configuration line in you SNMP daemon config and restart daemon: extend raid-md0 /usr/local/bin/check_md_raid.pl [...]

How to determine RAID controller type and a model

On 18.11.2010, in supportex.net-blog, by Oleksii Tykhonov
2

Almost all modern servers are shipped with RAID controllers – redundant array of independent disks. Despite the fact that this technology was invented more than twenty years ago, nowadays the importance of it can scarcely be exaggerated.  In most cases your hosting provider cares about RAID initial setup. So if you don’t want to know [...]