Archive for the ‘IT’ Category

How To Boost mailserver storage performance using Facebook FlashCache

|

Few months ago we had performance problem with mailserver storage.

Storage has 3 HDD in RAID5 configuration. Average disk utilization per
one disk was about 90 % – 97%.
One of goals was incrase storage performance but with minimum downtime
so -> no data migration.

(more…)

Simple Linux Firewall configuration tool – ipt-conf

|

 

IPT-CONF is light-weight iptables configuration framework. Time to time it’s good to have something light and easy to control.

You can use our set of preconfigured rules or create your own. It’s very easy to creating own rules.

Sometimes even if your are iptables professional, you need some quick solution with init scripts, easy configuration and administration and this is ipt-conf.

Example

If you have some big and network complex application you can create entire rule for this (like allow-ftp or enable-nat rule).

All what app needs can be in this rule (load some specific iptables module, set something in /proc /sys or sysctl etc.) and you can easily maintain it and distribute to other machines or servers.

You can create conf for rule so other administrator just copy your rule and enable it. System ask him for some information your rule needs (defined in conf file) and everything is ready.

(more…)

How to obtain InnoDB status from Mysql Server 5.x

|

 

Many users use innodb engine for their databases. It’s good to monitor status of mysql and one part of it is monitor status of InnoDb.

Simple way to monitor innodb is just use SHOW command

SHOW ENGINE INNODB STATUS;

If you have big system on very high load, it’s possible that long DEAD LOCK brake the output.

Mysql show only part of status and then cut other informations off. It’s not bad if you have realy big dead lock but it’s not good for your monitoring.

Another way to monitor status of INNODB is using files in /proc filesystem. Here is small script that read informations from this file.

You can modify this little for your system, add cut off dead lock part for examle.

 

#!/bin/bash

export LC_ALL=POSIX

## Check for MYSQL pid
MYSQLPID=`ps -U mysqld | grep mysqld | awk '{print $1}'`

cd /proc/$MYSQLPID/fd/

## Let find the file with innodb status
for i in `ls -l| grep delete| grep tmp| awk '{print $9}'` ; do
       grep "INNODB MONITOR OUTPUT" ./$i 2>&1 > /dev/null

       if [ $? == 0 ] ; then
            file="$i"
       fi
done

## Print innodb status

cat $file

 

Emmanuel Goldstein : “Hackeri sú tí, ktorí vám ukážu že Cisár je nahý”

|

Pod záštitou časopisu 2600: The Hacker Quarterly sa organizujú po celom svete každý mesiac  pravidelné stretávky počítačových hackerov. Na septembrovú stretávku v Prahe prišiel aj šéfredaktor tohoto amerického časopisu – Emmanuel Goldstein, hacker a aktivista známy z rôznych káuz a súdnych prípadov v USA súvisiacich s bezpečnos?ou počítačových systémov, licenčnými právami na softvér a digitálne médiá a slobodou slova.

Hacker je niekto kto sa vláme do môjho počítača, alebo do počítača niekoho iného a ukradne odtiaľ moje súkromné dáta. Čo sa dá dobré o nich poveda?? Alebo máte nejakú inú definíciu?

(more…)

National Security Agency Vs Hysteria.sk (English Version)

|

This cause is relatively well known in Slovakia, but clock ticks and people forgetting and I think it’s not OK.This is very important part of Slovakia underground. Saying old adage: “Nations which haven’t learn from their old mistakes, they are doomed to repeat them.”

To many words about this cause was sayed in radio, TV, newspapers etc. I would most probably not anything new, therefore I decided to make this article only as the sum of links, resources where you can find information about this. I also make a mirror of articles, videos and pictures here becouse most of links are no longer avaible on the web.

Last update: 10.1.2009 16:01

(more…)

Kauza NBU (Národný Bezpečnostný Úrad) a Hysteria.sk

|

Táto kauza je na slovensku pomerne dosť známa, no postupne sa na ňu zabúda a to podľa môjho názoru nieje velmi OK. Ako sa hovorí národy, ktoré sa nehodlajú poučiť zo svojich chýb sú odsúdené ich opakovať.

Veľmi veľa sa o tom všade možne popísalo a odvysielalo v televízií a rádiu. Zrejme by som vačšine nepovedal nič nové preto som sa rozhodol tento článok urobiť len ako suhrn odkazov a zdrojov kde sa môžete  dozvedieť čo to zaujímave. Preto berte tento článok len ako prepoj medzi informačnými zdrojmi, akýsi informačny uzol.

Last update: 10.1.2009 16:01

(more…)

Hysteria Session 2008 – Článok časopisu Respekt

|

Tohtoročná Hysteria Session sa konala neďaleko Martina. Hysteria.sk bola dlhé roky jedným z najvýznamnejších undergroundových portáloch na slovenskom aj českom internete. Bola významným zdrojom alternatícnych informacií a strediskom mnohých kauz a projektov. Archív časopisu Prielom, ktorý hysteria.sk vydavala je stále dostupný na adrese www.hysteria.sk.

(more…)

Connection test script

|

This is very simple bash script for connection test. Sometimes we need do networking restart if dhcpd server is broken or there is some link problems.

(more…)

Creative Commons Conference – ihrisko.org

|

Presentation about ihrisko.org project on Creative Commons Conference in Prague. Ihrisko was since 2005 absolutly free server hosting.
It was comunity of many people from Slovakia, Czech, USA, Canada, Austria and other countries. It provides many services like web, mail, safe storage, ssh access, IRC Anonet network, IPv6 gw, jabber server, bot housing, and many many others.

(more…)

VIM tips

|

Content

  1. Modelines
  2. Completion
  3. Search
  4. Selection
  5. Markers
  6. Indenting
  7. Registers
  8. Multiwindow mode
  9. Tabs
  10. Execute

(more…)