Архив рубрики ‘Работа’

yum-presto DeltaRPM

Суббота, 11 августа 2007

Оказывается уже давненько существует плагин Presto для менеджера пакетов yum, который реализует поддержку DeltaRPM (DRPM).

DeltaRPM - технология позволяющая значительно сэкономить трафик при обновлении Fedora. Она позволяет не выкачивать полностью обновленный пакет, а только разницу. По сути DeltaRPM - обычный бинарный diff.

Для примера, возьмем такой пакет как gimp. Целиком он весит 10 мб, DRPM для него весит около 1.5-2 мб. Экономия трафика больше 80% (!).

Установка:

yum install yum-presto

Далее в файле /etc/yum/pluginconf.d/presto.conf ставим enabled=1 и добавляем:
Fedora 7 - i386:

[updates]
deltaurl=http://lesloueizeh.com/f7/i386/updates

Fedora 7 - x86_64:

[updates]
deltaurl=http://lesloueizeh.com/f7/x86_64/updates

Fedora 6 - i386

[core]
deltaurl=http://lesloueizeh.com/fc6/i386/updates

[extras]
deltaurl=http://lesloueizeh.com/fc6/i386/extras

В файле /etc/yum.conf ставим keepcache=1.

После всех действий можно делать yum update и видеть в результатах что-то типа этого:

Size of all updates downloaded from Presto-enabled repositories: 16M
Size of updates that would have been downloaded if Presto wasn’t enabled: 52M
This is a savings of 69 percent

HP LaserJet 3055 SNMP

Пятница, 3 августа 2007

Не отключайте на вышеупомянутом принтере SNMP, иначе хрен вы его заставите работать по сети.

Синтаксис zap файла

Вторник, 19 июня 2007

Может кому пригодится.

[Application]

; Only FriendlyName and SetupCommand are required,
; everything else is optional

; FriendlyName is the name of the application that will appear
; in the software installation snapin and the Add/Remove
; Programs control panel.
; REQUIRED
FriendlyName = “Visio2000, Profesional Edition”

; SetupCommand is the command line used to
; Run the program’s Setup. If it is a relative
; path, it is assumed to be relative to the
; location of the .zap file.
; Long file name paths need to be quoted. For example:
; SetupCommand = “long folder\setup.exe” /unattend
; or
; SetupCommand = “\\server\share\long _
; folder\setup.exe” /unattend
; REQUIRED
SetupCommand = “setup.exe”

; Version of the program that will appear
; in the software installation snap-in and the
; Add/Remove Programs tool.
; OPTIONAL
DisplayVersion = Visio 2000

; Publisher of the application that will appear in the software
; installation snap-in and the Add/Remove programs control panel.
; OPTIONAL
Publisher = Microsoft

; URL for the application that will appear in the software
; installation snapin and the Add/Remove programs control panel.
; OPTIONAL
URL = http://www.visio.com

; Language for the app, in this case US English.
; OPTIONAL
; LCID = 1033
; Architecture, in this case, Intel.
; OPTIONAL
; Architecure = intel

; the [ext] [CLSIDs] and [progIDs] sections are all optional
[ext]

; File extensions that this application will “auto-install” for.
; They are not required if you do not want the application. This
; entire section is optional.
; note you can put a dot in front or not, as you like text after the
; first = is optional and ignored but the first = is required (or the)
; whole line will be ignored.)
VSD=
VSS=
VST=
VSU=
VSW=

[CLSIDs]
; CLSIDs that this application will “auto-install” for.
; This entire section is OPTIONAL
; Format is CLSID with LocalServer32, InprocServer32, and/or
; InprocHandler32 (in a command separated list) after the =.
;{CLSID}=LocalServer32

[progIDs]
; progIDs that this application will “auto-install” for. This entire
; section is OPTIONAL.
; Format is CLSID, with the corresponding progID list after the =.
;{progID}=Visio.Drawing
;{progID}=Visio.Drawing.6

Благодарность учеников

Вторник, 20 февраля 2007

Аааа, я тронут до глубины души :)

< oleg> Timon, кстати, это случаем не ты года четыре что ли назад кружок по php вел?
< @Timon> oleg: ага, я
< @Timon> было дело :)
< oleg> Timon, хотел тебе сказать спасибо, мне это довольно сильно пригодилось :) хотя и занят сейчас не непосредственно этим
< @Timon> вот она, благодарность учеников… :)
* Timon тронут :)

Кто там что говорил, что студенты/ученики - неблагодарные личности, а?!

Студентам АСУ-06-1

Четверг, 1 февраля 2007

Уважаемые товарищи должники. (Яшин, Касимов, Кожевников). Следующая встреча пройдет в среду 7 февраля 2006 года в 9:00, где-то на кафедре ИТАС.