bialyfamily.com 


Polskie znaki na klawiaturze UK w Ubuntu

Posted in linux by white on the May 5th, 2010

Na podstawie opisu z http://www.doink.ch/an-x11-keyboard-layout-for-scholars-of-old-germanic/

Do zmiany plik:

/usr/share/X11/xkb/symbols.gb

Na końcu pliku trzeba dodać definicje klawiszy (sekcja “ukpl”).Gotowy pliczek można ściągnąć tutaj

oraz plik:

/usr/share/X11/xkb/rules/evdev.xml

w sekcji “uk” trzeba dodać na przykład za układem “colemark” kilka linijek xml’a jak poniżej:

<variant>
<configItem>
<name>ukpl</name>
<description>United Kingdom - PL</description>
</configItem>
</variant>

tutaj można przejrzeć gotowy plik i zobaczyć gdzie znajduje się ww sekcja

Testowane na Ubuntu 9.10 i 10.04.

backup MySQL

Posted in linux by white on the October 14th, 2009

MySQL backup

Mysql dump …
mysqldump –all-databases -u root -pmysqlrootpass > ${BACKUPDIR}/${BACKUPDATE}.sql

(more…)

backup excercises

Posted in adam stuff,linux by white on the April 2nd, 2009

Couple of commands useful for backup.
Starring: immortal command tar and also dd, split, cat, openssl, ssh
and of course: gzip, echo, date, du, df

The post is mainly for myself because I realized, every time I’m starting write a backup script I’m always re-discovering the wheel again, searching in google and digging in man pages. Anyway I’ve tried to make the post more “reader friendly” not only for myself.

(more…)

Check md5 sum

Posted in linux,script by white on the June 30th, 2008

This script checking files integrity/changes in Linux filesystem by md5sum command. By default, a signatures file is stored on a floppy disk, but that parameter is configurable by changing “DEVICE” variable. During the first use, you must specify “init” parameter, to generate signatures base. To check/compare with database records specify “check” parameter.
(more…)

Jabber and Nagios in Debian

Posted in linux by white on the May 23rd, 2008

How to set up alerts via jabber protocol, generated by Nagios (quick descr.)

Install and configure nagios, make sure is running and sending alerts. Install jabber libraries for perl:

server:~# apt-get install libnet-jabber-perl

download and install jabber_alert.pl

server:~# cd /usr/bin
server:~# wget http://jabberd.jabberstudio.org/2/docs/tools/jabber_alert.pl
server:~# chmod 755 jaber_alert.pl

(more…)