2012-11-01から1ヶ月間の記事一覧

SquirrelMail

ちと思うところがあって^^; 基本は下記のサイトの通りです。 Webmailシステム構築(SquirrelMail) http://centossrv.com/squirrelmail.shtml(1)PHPエラー対処You need to have PHP installed with the multibyte string function enabled (using configure…

バージョン2.29.970.01をroot化する

最近koboを手に入れたりして本を読んだりしてました。漫画も見たいなぁってGalaxyTABを使ってましたが、やっぱ大きくて持ち運びは困難。 そこで死蔵したISW11HTを使うことにしました。4インチなんで何とか見れます。 でなんかまた愛着が沸いたので、死蔵だし…

rubyでsyslog監視1

PG

rubyの勉強です。syslogを監視して、決めたキーワードの時にメッセージを送る。 [root@ns ruby_test 22:53:58]# cat read_msg.rb pattern = Regexp.new("apache") filename = "/var/log/messages" file = open(filename) while text = file.gets do if patte…