Bash: sort IP addresses

It’s very easy sorting IP-list. For example you have file ‘ip-list’. To sort IP’s redirect file contents to following sort command. Also collect only unique IP’s in yours list. Didn’t find the answer to your question? Ask it our administrators to reply we will publish on website.

How to Install CentOS or Fedora Remotely

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.

Getting idle processes PID from Perl

There is a nice lib for Perl for working with processes in Linux. And it could be used to get PIDs of processes that have been working more than some amount of time. Now you can use simple wrapper to kill them gracefully. Didn’t find the answer to your question? Ask it our administrators to…
Read more

How to backup and restore your LDAP database

LDAP is Lightweight Directory Access Protocol. It is a way to communicate with directory services. And for many years it has proved its reliability to organize and keep various type of information, for instance, user accounts. It’s useful if you want to provide one credentials for accessing to different resources – servers, web pages, etc….
Read more

Using SNMP extend feature in Nagios

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/…
Read more

Three ways to make MySQL database dump

Everybody knows – backups are very important. Today a lot of web projects use MySQL to keep data. So you need to know how to set up reliable but simple backup of all your databases. And even if you are only developing you might probably need some tools to make quick dumps and to restore…
Read more

How to determine RAID controller type and a model

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…
Read more