2010/04/20

Club DB2

勉強会.

http://www.ibm.com/developerworks/wikis/display/clubdb2/Home

MySQLバックアップ mysqlhotcopy

mysqlhotcopyでバックアップ&復元
http://phpspot.net/php/pgmysqlhotcopy%82%C5%83o%83b%83N%83A%83b%83v%81%95%95%9C%8C%B3.html


MySQLデータベース自動バックアップ運用(mysqlhotcopy)
http://centossrv.com/mysql-backup.shtml

wget

WEBサイトのミラー.

wget -r -l 0 -np [URI]



BASIC認証.

--http-user=XXX
--http-password=XXX

NIC ボンディング構成

ネットワークの冗長化.

テスト環境で試してみよう.いつか...


参考)[CentOS] ボンディングを構成する
http://kaede.blog.abk.nu/rh-bonding


参考)RHEL5.3から5.4へ、yum updateすると、bond0が上がんない...orz
http://nekomata-nyaosuke.moe-nifty.com/detekoi/2010/01/rhel5354yum-upd.html

Quick Time Player

仕様
http://www.apple.com/jp/quicktime/player/specs.html

PowerBook G4

Macサポートページ.

http://www.apple.com/jp/support/powerbook/

PowerBook G4 on Leopard

PowerBook G4 に MacOS X Leopard をインストールした事例.


PowerBook G4 12" 867MHzにLeopardをインストールする(直前)
http://d.hatena.ne.jp/riocampos/20080229/1204256679


PowerBook G4 12” 867MHzにLeopardを入れてみた
http://d.hatena.ne.jp/riocampos/20080314/1205510441

2010/04/19

Virtual PC 7 時刻同期機能の無効設定

Virtual PC 7 でCentOSを動かしていると時間がえらく進む.

Virtual PC の旧バージョンでは時刻同期機能を無効に設定できるらしい.

仮想マシンの時刻同期機能を無効にする(Virtual PC編)
http://www.atmarkit.co.jp/fwin2k/win2ktips/639vpcsync/vpcsync.html

Windows7でインストールできる Virtual PC 7 では,時刻同期機能の
設定が最初から設定ファイル *.vmc に書かれている.

変更前



変更後



host_time_sync の boolean を true から false に変更すれば
無効になるのかもしれない.設定して様子見.

2010/04/18

SSH keepalive

OpenSSHクライアント keepaliveオプション

sshで自動切断されないように keepaliveパケットを送る
http://netmark.jp/2008/11/sshkeepalive.html

ssh -o ServerAliveInterval=XX

XX:秒

sshfsとの併用は必須.

Quick Time

http://www.apple.com/jp/quicktime/player/

http://www.apple.com/jp/quicktime/player/specs.html

Quick Time Player の仕様ページに書かれていたけど,
Mac OS だと PDFも読み込めるらしい.

短縮URLサービス

http://p.tl/

http://bit.ly/

2010/04/14

sshfs インストール

http://sourceforge.net/projects/fuse/files/


ダウンロード
% wget "http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.7.6/fuse-2.7.6.tar.gz?use_mirror=jaist"


% tar zxvf fuse-2.7.6.tar.gz
% cd fuse-2.7.6
% ./configure
..
configure:
NOTE: Detected that FUSE is already present in the kernel, so
NOTE: building of kernel module is disabled. To force building
NOTE: of kernel module use the '--enable-kernel-module' option.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h

% make
# make install

# ln -s /usr/local/lib/libfuse.so.2 /lib/

これをやっておかないとsshfs実行時に以下のエラーが出る.

sshfs: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory


sshfs-fuse

% wget "http://downloads.sourceforge.net/project/fuse/sshfs-fuse/2.2/sshfs-fuse-2.2.tar.gz?use_mirror=jaist"


% tar zxvf sshfs-fuse-2.2.tar.gz
% cd sshfs-fuse-2.2
% ./configure
% make
% make install


modprobe fuse

で sshfsが使えるようになる.



# sshfs name@hoge.hoge:/test /test

参考)sshfs インストールログ
http://12158.diarynote.jp/200908042121271913/

Lingua-JA-Summarize-Extract-0.02

# cd Lingua-JA-Summarize-Extract-0.02

# perl Makefile.PL
Cannot determine perl version info from lib/Lingua/JA/Summarize/Extract.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.64)
- Class::Accessor::Fast ...loaded. (0.34)
- UNIVERSAL::require ...missing.
==> Auto-install the 1 mandatory module(s) from CPAN? [y] y
CPAN: File::HomeDir loaded ok (v0.89)
*** Dependencies will be installed the next time you type 'make'.
*** Module::AutoInstall configuration finished.
Warning: prerequisite UNIVERSAL::require 0 not found.
Writing Makefile for Lingua::JA::Summarize::Extract

# make

# make test
/usr/bin/perl "-Iinc" Makefile.PL --config= --installdeps=UNIVERSAL::require,0
Cannot determine perl version info from lib/Lingua/JA/Summarize/Extract.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_compile.t
t/00_compile.t .. ok
All tests successful.
Files=1, Tests=7, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.02 cusr 0.01 csys = 0.05 CPU)
Result: PASS


# make install
/usr/bin/perl "-Iinc" Makefile.PL --config= --installdeps=UNIVERSAL::require,0
Cannot determine perl version info from lib/Lingua/JA/Summarize/Extract.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/ResultSet.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin/Parser/Trim.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin/Parser/Ngram.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin/Parser/NgramSimple.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin/Sentence/Base.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin/Sentence/Tiny.pm
Installing /usr/lib/perl5/site_perl/5.8.5/Lingua/JA/Summarize/Extract/Plugin/Scoring/Base.pm
Installing /usr/share/man/man3/Lingua::JA::Summarize::Extract::Plugin::Sentence::Base.3pm
Installing /usr/share/man/man3/Lingua::JA::Summarize::Extract::Plugin::Parser::Ngram.3pm
Installing /usr/share/man/man3/Lingua::JA::Summarize::Extract::Plugin::Parser::Trim.3pm
Installing /usr/share/man/man3/Lingua::JA::Summarize::Extract.3pm
Installing /usr/share/man/man3/Lingua::JA::Summarize::Extract::Plugin::Parser::NgramSimple.3pm
Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod

IBM DB2 参考WEB

kの研究室

http://mklabo.jp/blog/mt/mt-search.cgi?blog_id=2&tag=DB2&limit=20

IBM DB2 入門

DB2入門講座
http://www.ibm.com/developerworks/jp/data/library/dataserver/db2new/


pureXML の歩き方
http://www.ibm.com/developerworks/jp/data/library/dataserver/purexml/

IBM DeveloperWorks Japan Information Management

IBM DeveloperWorks Japan
Information Management

http://www.ibm.com/developerworks/jp/data/

GoogleDevelopersJA (YouTube)

Google DevFest 2010 Japan

http://www.youtube.com/user/GoogleDevelopersJA