2013-01-01から1年間の記事一覧

Cannot load from mysql.proc. The table is probably corrupted

MySQLで Cannot load from mysql.proc. The table is probably corruptedのようなエラーが出た時の解決策 mysql_upgrade -u root -p --force

Debianでやっておきたいセキュリティあれこれ

1ユーザーのrootへのログイン制限 addgroup --gid 11 wheel gid11が開いているらしいのでそこにwheelグループを作る usermod -a -G wheel alumina ユーザー(alumina)をwheelグループに所属させるvisudo%wheel ALL=(ALL) ALL を追加vi /etc/pam.d/su # auth…

[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0

Debian WheezyでApacheの再起動時に [....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... waiting apache2: Could not reliably determine the ser…

[client 192.168.x.x] mod_fcgid: HTTP request length xxxxxx (so far) exceeds MaxRequestLen (xxxxxx), referer: http://example.com/

[warn] [client 192.168.x.x] mod_fcgid: HTTP request length xxxxxx (so far) exceeds MaxRequestLen (xxxxxx), referer: http://example.com/上記のようなエラーメッセージがWordPressで画像をアップロードしようとした時、fcgidでphpをラッパーしている…

Debian WheezyにTrac入れてみる

#aptitude install python python-pkg-resources python-setuptools #easy_install genshi #easy_install babel user@Server:~/public_html$ mkdir trac user@Server:~/public_html$ trac-admin /home/user/public_html/trac/ initenv Creating a new Trac e…

Debian SqueezeにKVM導入 ゲストにDebianSqueezeを

#aptitude install ssh bridge-utils libvirt-bin virt-managersshは通信用 libvirtは管理用API virtmanagerは管理ソフト#adduser user libvirtユーザーをlibvirtグループに入れる でなければ と警告 Unable to open connection to hypervisor URI'qume:///s…

Lxde on Debianでスクリーンショットをとれるようにする

#aptitude install imagemagick #cd /usr/local/bin/ #vi screenshot.sh #!/bin/bash DATE=`date +%Y-%m-%d\ %H:%M:%S` import -window root "$HOME/Desktop/screenshot $DATE.png" #chmod a+x screenshot.sh #vi /home/user/.config/openbox/lxde-rc.xml 18…