Hodžův blog

Archive for the 'Linux' Category

15 Bře

HowTo Install Latest Redmine on Debian 6 (Squeeze, Ruby-on-Rails, Apache2 Passenger)

This is a short .bash_history manual… First install fresh Debian Squueze from businesscard (when selecting packages uncheck ALL). Correct hostname: # vi /etc/hostname server.example.com

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 […]

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“

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

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/

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