2008-09-01から1ヶ月間の記事一覧

Varnish インストール

Varnish をインストールする.Varnish のRPMソースを取ってくる. $ wget http://downloads.sourceforge.net/varnish/varnish-1.1.2-5.src.rpm?modtime=1199451519&big_mirror=0$ sudo rpmbuild --rebuild varnish-1.1.2-5.src.rpm ncurses-develが無いと言…

FastCGIインストール

httpd-develが必要 $ sudo yum install httpd-devel FastCGIインストール $ wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz $ tar xfz fcgi-2.4.0.tar.gz $ cd fcgi-2.4.0 $ ./configure; make $ su # make install$ wget http://www.fastcgi.com/dist…

ZEO 起動スクリプトを設定(Plone2.5)

I tested this on Fedora Core 5 and the default "Universal" Linux installer for Plone 2.5.1. I think this is a useful script to start zeo/zope rather than using the startcluster etc command line scripts ZEOの起動スクリプトを設定する.Plone2…

ntpdate のインストール

追記:※ntpdの方が正確らしい. http://d.hatena.ne.jp/hurvinek/20090617/1245219610ntpdate というコマンド(時刻を同期するだけ)を使うには, xntp3 パッケージが必要と書いているとこがあったが,yum でも見つからないので,ソースから.http://www.ntp…

VMware + CentOS5 ホストOSと時刻を同期させる

ゲストOSの時計のズレを直したかった.VMware tools を入れる. まずはrootでログイン. ssh は使わず,VMware Server のコンソール上で行う.VMware Serverの VM > Install VMware tools を選択. $ sudo mount /dev/cdrom /media $ cd /media/ $ sudo rpm …

Vim の設定

よく使うのでメモ$ vi ~/.vimrcset autoindent set expandtab set softtabstop=4 set tabstop=4 set shiftwidth=4 set nobackup set ic set nuUbuntuの場合、デフォルトフォントでアンダーバーが出ないので、フォント変える set guifont=DejaVu\ Sans\ Mono\…

Trac WebAdminの導入

ユーザの追加などをWeb上からやる. さらに設定をコマンドラインからやるのめんどいよという向きのために、設定をやりやすくするためにTracの設定をウェブベースで行うことのできるプラグインを入れてみる。まずはプラグインを入れる準備。やってることの意…

Trac 続き

Trac インストールに挑戦 - メモチョウ 上記の続き以下のエラーが出たので, The web server user requires read _and_ write permission to the database 〜$ sudo chown -R apache:apache /srv/trac