Hodžův blog

06 Bře

Where can I find repository for debian etch packages?

All Debian releases are archived at archive.debian.org, so:
deb http://archive.debian.org/debian/ etch main non-free contrib
deb http://archive.debian.org/debian-security/ etch/updates main non-free contrib
deb http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib
deb-src http://archive.debian.org/debian/ etch main non-free contrib
deb-src http://archive.debian.org/debian-security/ etch/updates main non-free contrib
deb-src http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib

03 Říj

Oprava nefunkční digestoře Ariston

Po necelých šesti letech provozu se mi rozbila „značková“ digestoř Ariston. Nejprve přestala odsávat a následně i svítit. Tak trochu z lenosti a tak trochu z nedostatku času jsem zavolal do servisu, kolik by stála nová elektronika. Když jsem od technika následně zjistil, že cena základní desky odpovídá dvoum třetinám ceny nové digestoře, rozhodl jsem se, že si ji opravím sám.

Odstavil jsem přívod elektrického proudu (nevěřili byste, jak visící dráty pod napětím přitahují kočky), popadl šroubovák a digestoř demontoval. Pod hromadou plechů ostrých jako břitva jsem nalezl malou plastovou krabičku jenž obsahuje elektroniku a zároveň slouží jako držák objímek pro žárovky.

Uložení elektroniky u digestoře Ariston

Uložení elektroniky u digestoře Ariston


Continue Reading »

02 Zář

HowTo resolve ProFTPD problem: Fatal: unknown configuration directive ‚SQLHomedirOnDemand‘ on line xxx of ‚/etc/proftpd/proftpd.conf‘

This directive has been deprecated with ProFTPD 1.3.1rc1. Please use CreateHome instead.

http://www.proftpd.org/docs/howto/CreateHome.html

01 Srp

HowTo install Oracle Instant Client and PHP OCI8 module under Debian Squueze (Ubuntu) 64bit

1) Download the Basic and the SDK packages from http://www.oracle.com (registration needed).
# mkdir -p /opt/oracle/instantclient
# cd /opt/oracle/instantclient
# wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-basic-linux-x86-64-11.2.0.2.0.zip
# wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-sdk-linux-x86-64-11.2.0.2.0.zip"

Continue Reading »

30 Čvc

HowTo fix a problem „DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha“ in Pyzor

After a fresh Pyzor install I’m getting this error message:
# aptitude install pyzor
# pyzor discover
/usr/lib/pymodules/python2.6/pyzor/__init__.py:11: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/usr/lib/pymodules/python2.6/pyzor/client.py:12: DeprecationWarning: the multifile module has been deprecated since Python 2.5
import multifile
downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x

Continue Reading »

30 Čvc

HowTo fix a problem „loading from master file managed-keys.bind failed: file not found“ under Debain Squeeze

# touch /var/cache/bind/managed-keys.bind
# chown root:bind /var/cache/bind/managed-keys.bind
# /etc/init.d/bind9 restart
# tail -n 50 /var/log/daemon.log

24 Čvc

HowTo remove unwanted whitespace with vim

Delete all trailing whitespace (a space or a tab) at the end of each line with:
:%s/\s\+$//

21 Čvc

HowTo restore the ‚Show Desktop‘ shortcut in Windows XP or Windows 2003

1) Open notepad.
2) Copy the below code.

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

3) Save the file with the name ShowDesktop.scf some where on your system or on your desktop.
4) Drag and drop the file to the Quick launch area.

That’s it…

14 Čvc

HowTo install Mozilla Thunderbird 5 Final from PPA (Ubuntu 10.04/10.10/11.04)

# sudo apt-add-repository ppa:mozillateam/thunderbird-stable
# sudo apt-get update
# sudo apt-get install thunderbird

Release Notes: http://www.mozilla.org/en-US/thunderbird/5.0/releasenotes/

15 Čvn

HowTo install TSM Backup client in Debian Squeeze (Ubuntu) 64bit

1. Update Debian system and install required packages
# aptitude update
# aptitude full-upgrade
# aptitude install alien libstdc++6 ksh ia32-libs

2. Go to directory /usr/src/ and download latest package from IBM web site. After download unpack archive.
# cd /usr/src/
# wget "ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r2/Linux/LinuxX86/v622/6.2.2.0-TIV-TSMBAC-LinuxX86.tar"
# tar -xvf 6.2.2.0-TIV-TSMBAC-LinuxX86.tar

Continue Reading »

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme