2006-12-01から1ヶ月間の記事一覧

RHEL3でup2dateからCentOS3のyumに移行する方法

OS

wget http://ftp.riken.jp/Linux/centos/3.9/os/i386/RedHat/RPMS/centos-release-3-9.1.i386.rpm wget http://ftp.riken.jp/Linux/centos/3.9/os/i386/RedHat/RPMS/yum-2.0.8-2.centos3.noarch.rpm rpm -Uvh *.rpm rpm --import http://mirror.centos.org/c…

Device eth0 has different MAC address than expected

Red Hat Enterprise Linux起動時にeth0が立ち上がらない場合 Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring. [FAILED] HWADDRを消してみる。vi /etc/sysconfig/network-scripts/ifcfg-eth0#HWADDR=00:00:00:0…

BIND「lame server resolving」をログから消すには

DNS

vi /etc/named.conf logging { category lame-servers { null; }; };

Windows QT TabBar エクスプローラにタブを

OS

http://www.forest.impress.co.jp/article/2006/04/19/qttabbar.htmlhttp://members.at.infoseek.co.jp/Quizo/freeware/Microsoft .NET Framework 2.0 が必要http://www.microsoft.com/downloads/details.aspx?...

ファイルアップロード時に進捗プログレスバーを表示

PHP

PHP5.2 + Ajaxhttp://blog.livedoor.jp/t_furu/archives/50634466.html Upload Progress MeterPHP4かPHP5のpatchとextensionhttp://pdoru.from.ro/

ハードウェアVNC

『miniClient(MC-240)』はディスプレイの背面に取り付けられるほど小型でありながら、 VGA出力、USBキーボード、USBマウス、USB無線LANなどの多くの拡張性を持った、 超小型シンクライアントデバイスです。miniClientは、VNC Clientとして動作するので、 …

GeoIP(GeoIP Free)IPアドレスから国情報を検索

http://www.maxmind.com/app/locate_ip?ips=www.yahoo.co.jp http://mjm4u.net/oss/index.rb?date=20041216 mod_geoip, PHP, Perlあり GeoIPの利用方法 http://flatray.com/geoip/

Apache2.0 Redirect ディレクティブ

例 Redirect /service http://foo2.bar.com/service クライアントはhttp://myserver/service/foo.txtへのリクエストを行なうと、代わりにhttp://foo2.bar.com/service/foo.txtをアクセスするように告げられます。 URL引数までリダイレクトしてくれるのでサー…

玄箱Apacheチューニング

http://tech.bayashi.net/svr/doc/apache/tune.html玄箱httpいっぱいいっぱいになった。 MaxKeepAliveRequests 10 KeepAliveTimeout 3 <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 6 MaxClients 6 MaxRequestsPerChild 0 </IfModule> にしてみる。

FreeBSDで env: ruby: No such file or directory

rubyの場所 which ruby /usr/local/bin/ruby Apache2自動起動時の環境変数 PATH /sbin:/bin:/usr/sbin:/usr/bin シンボリックリンク cd /usr/bin ln -s /usr/local/bin/ruby ruby