HYSPRO Diary

RDF
最新

2006-04-04 (Tue)

_ Daylight Saving Time has started

http://www.timeanddate.com/time/dst2006a.html

_ apache2-mpm-worker + php5-cgi

apache2-mpm-preforkよりもworkerの方が軽そうなので、替えてみる。libapache2-mod-php5はprefork専用なので外さないといけない。PHPはあまり使っていないので、CGIで動かすことにし、php5-cgiをインストール。/usr/share/doc/php5-cgi/README.Debian.gzに書いてあった通りに設定した。

確かに軽そうだ。


2006-04-08 (Sat)

_ unlimit memory size

Check current status by `ulimit -a`

_ Corrupted Japanese characters with Java 5 applet in Mozilla-firefox 1.5

First, Install a java plugin to firefox

$ cd /usr/lib/firefox/plugins
$  sudo ln -s /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so

Next, set japanese fonts to java 5, which is a way different from java 1.4

$ /usr/lib/j2sdk1.5-sun/jre/lib/fonts
$ sudo mkdir fallback
$ sudo ln -s /usr/share/fonts/truetype/sazanami/sazanami-mincho.ttf
$ sudo ln -s /usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf

2006-04-10 (Mon)

_ initrd-tools is not available with recent linux-images-*

initrd-tools (mkinitrd), which is not (no longer?) maintained, does not work well with linux-images > 2.6.12. Use yaird or initramfs-tools, instead.

To go with yaird, installing it, add a following line to /etc/kernel-img.conf

 ramdisk = /usr/sbin/mkinitrd.yaird

_ Switch back to apache2-mpm-prefork

apache2-mpm-worker was not so stable. I had to restart the daemon once a day because some threads hang.


2006-04-11 (Tue)

_ Red Hat aquires JBoss

Now that JBoss has a Japanese branch office.

What Red Hat can not provide (as support services) is database and Java VM.

Press release


2006-04-12 (Wed)

_ Oracle has started distributing Oracle Database 10g Express Edition as deb packages

This is a grea thing because Oracle officially supports Red Hat, SUSE and Asianux so that he did not have to provide deb packages. Is he starting to also target Ubuntsu ( and Debian)?

This is his apt-line:

deb http://oss.oracle.com/debian/ unstable main non-free

See: http://frits.homelinux.com/wordpress/?p=9

Three packages are available: oracle-xe (Western European Edition), oracle-xe-client and oracle-xe-universal (Universal set of languages).

I failed to install oracle-xe-client because an error message says that it requires >= 504 MB of swap space... Uhmmm, I don't have another testing box.

本日のツッコミ(全1件) [ツッコミを入れる]

_ Henrich [You should add temporary swap file, like this... dd if=/de..]


2006-04-16 (Sun)

_ tDiary party 2.1

みなさま、お疲れさまでした。dotBarあんなところにあるのですね。プロジェクタが使えるので(今回は特別扱いかも)、プログラマには便利。ただ、ちょっと入りずらいビルなのとドリンクメニューしかないのがネック。

発表ネタとして、tDiary 2.1.x系のdebian packageをリリースしました。ただし、tDiary自身が開発版なので、experimental distributionにあります。

deb http://ftp.debian.org/debian/ experimental main contrib non-free

などとapt-lineに加えれば、experimentalのtidaryが見えるはずです。

で、party中にたださんが2.1.4をリリースされたので、ハイ、追随します。

_ Trackback test

trackbackのテスト


2006-04-29 (Sat)

_ Fail2ban failed to parse date strings

I've found that fail2ban fails to parse date strings and shows errors:

2006-04-29 17:25:38,807 ERROR: time data did not match 
format:  data=Apr 29 06:26:49  fmt=%b %d %H:%M:%S
2006-04-29 17:25:38,809 ERROR: Please check the format 
and your locale settings.

"data=Apr 29 06:26:49" means timeregex works. However, the timepattern does not look incorrect...

According to a bug report in BTS, locale setting causes this issue. Add a line that follows to /etc/default/fail2ban

export LANG=C       

最新
Comments

GPSShogi

Debian packages


2001|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|03|04|05|06|07|08|09|10|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|04|05|08|12|
2010|10|11|
2011|04|06|11|

追記