]
トップ «前の日(06-18) 最新 次の日(06-20)» 追記

Yukiharu YABUKI の tDiary



このtDiaryを検索します。

2004-06-19

_ 天気

はれ

_ 交通費清算

done

_ [DPiS] cryptsetup - configures encrypted block devices

DPiSは、Debian Package in Sidの略。暗号ブロックデバイスの設定 --- kernel 2.6.4から暗号化ファイルシステムのサポートが提供されるようになった。
Since kernel 2.6.4, encrypted filesystem support is provided by the device mapper target dm-crypt. This utility provides a command-line interface for configuring this facility.

cryptsetup is backwards compatible with the on-disk format of cryptoloop, but also supports more secure formats. This package also includes support for automatically configuring encrypted devices at boot time via the config file /etc/crypttab. When combined with newer versions of the debian initrd-tools and standard debian kernels, cryptoroot is also supported.

For information on how to convert your system to use encrypted filesystems please read
/usr/share/doc/cryptsetup/CryptoRoot.HowTo .

_ [DPiS] osiris - network-wide system integrity monitor control interface

Osiris is a Host Integrity Monitoring System that periodically monitors one or more hosts for change. It maintains detailed logs of changes to the file system, user and group lists, resident kernel modules, and more.

This package contains the control program used to communicate with the Osiris central management daemon, and should be installed on any system from which administrators will manage Osiris.

_ [DPiS] ggcov - Graphical tool for displaying gcov test coverage data

gcovのカバレッジテストデータの表示をグラフィカルにする。
This is a simple GUI for browsing C test coverage data gathered by programs instrumented with "gcc -fprofile-arcs -ftest-coverage". Hence it's a graphical replacement for the "gcov" program that comes with gcc.

_ [DPiS] gpp - a general-purpose preprocessor with customizable syntax

文法をカスタマイズできる汎用目的のプリプロセッサー
GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of preprocessing tasks. Its independence from any one programming language makes it much more versatile than the C preprocessor (cpp), while its syntax is lighter and more flexible than that of GNU m4. There are built-in macros for use with C/C++, LaTeX, HTML, XHTML, and Prolog files.

Homepage: http://www.nothingisreal.com/gpp/

_ [DPiS] kerneltop - shows linux kernel function usage in a style like top

カーネルの関数が利用されているのをtopのようなスタイルで表示する。--- プロファイルを使えるようにしておく必要があるとはいえ、勉強用にはおもしろいのかも。
kerneltop shows linux kernel function information usage (modules not included) like top do for process, and is derived from readprofile.

It needs profiling enabled on kernel and on boot time.

_ [DPiS] mono-gac - Mono GAC Tool

The Mono Project is an open development initiative sponsored by Ximian that is working to develop an open source, Linux-based version of the Microsoft .NET development platform.

This package includes the Global Assembly Cache (GAC) used by Mono to store shared libraries.

_ [DPiS] scim - Smart Common Input Method platform

あたらしい、IM。
Main binary package of SCIM platform, including SCIM library, SCIM main program, X11 FrontEnd, Panel Gtk, Generic Table Input Method Server, Rawcode Input Method Server and Simple Config module. You only need to install this package to run SCIM.

Smart Common Input Method platform (SCIM) is an input method server and a development platform to make Input Method developers' lives easier. It has a very clear architecture and very simple programming interface.

Currently SCIM is focused on CJK (Chinese/Japanese/Korean) Input Methods, but it can be extended to other languages very easily.

SCIM is a higher level library comparing with XIM or IIIMF. It has much simpler interface than XIM or IIIMF.
And it can work with XIM or even IIIMF (in the future).

Key Features of SCIM:
* Fully Object Oriented structure written in C++
* Highly modularized
* Simple programming interface
* Fully i18n support with UCS-4/UTF-8 encoding
* Include many handy utility functions to speedup the development

_ [DPiS] nagat - Nagios Administration Tool

Nagatは、PHPで書かれたwebベースの設定ツールです。Nagiosの設定に使います。
Nagat is a webbased configuration tool written in PHP, used for configuring Nagios, a host and service monitor.

2007-06-19

_ 朝ご飯

朝ご飯を食べながら、同室の人と忌憚ない意見交換をした。

_ [Debconf7] Debian virtualization support

途中から参加。

_ [Debconf7] PC Install and Backup Management

From Concept to Concrete は別の人が聞くようなので、私はこちらに。

_ memo:長体

長体とはオブジェクトの横方向だけを縮小。平体とは長体の逆で、オブジェクトの縦方向だけを縮小するデフォルメです。ということだそうです。フォントを横に小さくする技は奥村さんの本に載っているそうですよ。

_ [LaTeX] Memo:基本フォントに 10・11・12pt 以外(例えば 9pt)を使いたいのですが,どうすれば良いですか?

(http://www.nsknet.or.jp/~tony/TeX/faq/macro.htm#okumura) に記載あり。(http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/)って、
/usr/share/texmf/source/platex/okumura-clsfiles/jsclasses.dtx
/usr/share/texmf/source/platex/okumura-clsfiles/jsclasses.ins
となっているので、okamura-clsfilesパッケージにはいっているものだな。

_ エジンバラ城めぐり

空き時間を利用して、エジンバラ城を見てきた。体を鍛えるべく階段を降りたり登ったり。

_ memo:Lifereaで処方するコンテンツ中毒患者への緩和薬

確かにlifereaは便利で、これがないと大量の情報を処理できない。(http://opentechpress.jp/developer/article.pl?sid=07/06/18/0128220&from=rss)

_ memo: DELL 2407WFP-HC

時間があったら、どこかで実際のモノを見てみたいな。(http://journal.mycom.co.jp/news/2007/06/18/016/index.html)

_ memo:デル、4万円台のA4カラーレーザープリンタを発売

(http://journal.mycom.co.jp/news/2007/06/19/041/index.html)


2010-06-19

_ [玄箱][Debian] ブロードバンドルーターから rsyslog に、ログを記録させる。

最近のブロードバンドルータには syslog 転送機能が付いています。が、ブロードバンドルータ自体にはストレージデバイスがついているわけじゃないので、長期間のログは保存できません。

そこで、Debian GNU/Linux Lenny (armel版) が入っている玄箱に、ログを転送することにしました。

Debian GNU/Linux Lenny になってから、syslog が rsyslog に変わりました。この rsyslog は syslog に比べて優れている点があります。

今回は、/etc/rsyslog.conf において下記の部分をコメントを外し rootないしはsudoを利用して、/etc/init.d/rsyslog restartとすれば他の所からログを受け付けるようになります。忘れやすいのは、ファイヤウォール(iptables など)で該当する udp/tcp 514 ポートを開けることです。

# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
 
# provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
もちろん、ガチガチにしたいなら、iptables で 特定のPCからしかログを受け付けないようにしておくのが良いでしょう。同じ LAN の信用できる相手なら、そこまではいらないかも。まあ、あなたの所のセキュリティポリシー次第です。

_ [玄箱][Debian] rsyslog-mysql

別のマシンでは、posgresql 8.4 を動かしているので、玄箱では mysql 5.1.44 を入れてみた。ちょうど、エキスパートのためのMySQL[運用+管理]トラブルシューティングガイド(奥野 幹也)エキスパートのためのMySQL[運用+管理]トラブルシューティングガイド(奥野 幹也) も手元にきたことだし。

rsyslog-mysql パッケージをインストールすると、debconfで設定を聞いてくれて、/etc/rsyslog.d/mysql.confを作成され、データベースが作成されてmysqlにログが記録される。Debianめちゃ便利やん。

text のログじゃなくて detabase にログを入れて何するねんってのは、またそのうちに。管理せんで済むならそれに超したことないけど、記録に残せというなら記録を出すための準備がいりますわな。

mysql> show tables;
+------------------------+
| Tables_in_Syslog       |
+------------------------+
| SystemEvents           |
| SystemEventsProperties |
+------------------------+
2 rows in set (0.01 sec)
mysql> show TABLE STATUS;
+------------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
| Name                   | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time         | Check_time | Collation         | Checksum | Create_options | Comment |
+------------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
| SystemEvents           | MyISAM |      10 | Dynamic    |  249 |            140 |       34860 | 281474976710655 |         5120 |         0 |            250 | 2010-06-19 01:39:14 | 2010-06-19 23:40:00 | NULL       | latin1_swedish_ci |     NULL |                |         |
| SystemEventsProperties | MyISAM |      10 | Dynamic    |    0 |              0 |           0 | 281474976710655 |         1024 |         0 |              1 | 2010-06-19 01:39:14 | 2010-06-19 01:39:14 | NULL       | latin1_swedish_ci |     NULL |                |         |
+------------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
2 rows in set (0.00 sec)
 InnoDBじゃなくてMyISAMになっているな。こっちの方が割り切っている分早いので、これでいいのか。
mysql> select * from SystemEvents limit 3;
+----+------------+---------------------+---------------------+----------+----------+----------+-------------------------------------------------------------------------------------------------------+------------+------------+-------------+-----------+---------------+---------+-----------------+--------------+-----------+----------+----------+------------+--------------+--------------+-----------------+----------+
| ID | CustomerID | ReceivedAt          | DeviceReportedTime  | Facility | Priority | FromHost | Message                                                                                               | NTSeverity | Importance | EventSource | EventUser | EventCategory | EventID | EventBinaryData | MaxAvailable | CurrUsage | MinUsage | MaxUsage | InfoUnitID | SysLogTag    | EventLogType | GenericFileName | SystemID |
+----+------------+---------------------+---------------------+----------+----------+----------+-------------------------------------------------------------------------------------------------------+------------+------------+-------------+-----------+---------------+---------+-----------------+--------------+-----------+----------+----------+------------+--------------+--------------+-----------------+----------+
|  1 |       NULL | 2010-06-18 09:39:16 | 2010-06-18 09:39:16 |        0 |        6 | debian   | imklog 3.18.6, log source = /proc/kmsg started.                                                       |       NULL |       NULL | NULL        | NULL      |          NULL |    NULL | NULL            |         NULL |      NULL |     NULL |     NULL |          1 | kernel:      | NULL         | NULL            |     NULL |
|  2 |       NULL | 2010-06-18 09:39:16 | 2010-06-18 09:39:16 |        5 |        6 | debian   |  [origin software="rsyslogd" swVersion="3.18.6" x-pid="1209" x-info="http://www.rsyslog.com"] restart |       NULL |       NULL | NULL        | NULL      |          NULL |    NULL | NULL            |         NULL |      NULL |     NULL |     NULL |          1 | rsyslogd:    | NULL         | NULL            |     NULL |
|  3 |       NULL | 2010-06-18 09:39:24 | 2010-06-18 09:39:24 |        3 |        5 | debian   |  kernel time sync status change 4001                                                                  |       NULL |       NULL | NULL        | NULL      |          NULL |    NULL | NULL            |         NULL |      NULL |     NULL |     NULL |          1 | ntpd[21510]: | NULL         | NULL            |     NULL |
+----+------------+---------------------+---------------------+----------+----------+----------+-------------------------------------------------------------------------------------------------------+------------+------------+-------------+-----------+---------------+---------+-----------------+--------------+-----------+----------+----------+------------+--------------+--------------+-----------------+----------+
3 rows in set (0.00 sec)