Feed on
Posts
Comments

Tag Archive 'linux'

def display_meta(request):
values = request.META.items()
values.sort()
html = []
for k, v in values:
html.append(’%s %s’ % (k, v))
return HttpResponse(’%s’ % ‘\n’.join(html))

As an exercise, see whether you can convert this view to [...]

Read Full Post »

Апгрэйд убунту

The simpliest way
Alt+F2
update-manager -d

Read Full Post »

Не работают дополнительные языки в Squirrelmail
нужно добавить locales
dpkg-reconfigure locales
и
reboot

Read Full Post »

sudo apt-get install screen
screen
Start your process
Press Ctrl + A
Then Ctrl + D
This detaches your screen session but leaves the process running.
You can logout of your server and go to the pub.
When you are ready log into your server, from any machine anywhere and type
screen -r
Your process window will appear as if you`d never been away.

Read Full Post »

Notebook Sony Vaio VGN-NW11S
Чип ALC262
Какой у вас чип можно узнать при помощи команды
sudo aplay -l
Решение
открываем конфиг
sudo gedit /etc/modprobe.d/alsa-base.conf
и добавляем
options snd-hda-intel model=toshiba-s06
сохраняем и перезагружаем

Read Full Post »

После обновления начал глючить wi-fi. Проблема обширная и будет исправлена только в ядре 2.26.33 (текущее 2.26.32). Фиксим этим пакетом
http://rsalveti.net/pub/ubuntu/kernel/lucid/linux-image-2.6.32-21-generic_2.6.32-21.32rsalveti1_i386.deb
Баг на launchpad
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/496093?comments=all
P.S. На старом ядре 2.6.31 всё работает

Read Full Post »

ClamAV, Debian and Ispconfig 3

Сегодня столкнулся с такой фигнёй
LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)
LibClamAV Error: Problem parsing database at line 742
LibClamAV Error: Can’t load daily.ndb: Malformed database
LibClamAV Error: cli_tgzload: Can’t load daily.ndb
LibClamAV Error: Can’t load /var/lib/clamav/daily.cld: [...]

Read Full Post »