2006-08-29から1日間の記事一覧

poundでSSL

http://mongrel.rubyforge.org/docs/pound.html に書いてある通りにやってみたら簡単に動いちゃった。 ちゃんとコントローラやビューで request.ssl? が変わっていることも確認できました。poundってすごく便利かも。

poundをインストール

# apt-get install openssl $ wget http://www.apsis.ch/pound/Pound-2.1.tgz $ tar zxvf Pound-2.1.tgz $ cd Pound-2.1 $ ./configure --with-ssl=/etc/ssl/ $ make $ sudo make install [ -d /usr/local/sbin ] || mkdir /usr/local/sbin /usr/bin/install…

poundはmakeで

Requirements We assume that the following: * Pound and the mongrel cluster are running on the same machine1. * Pound 2.0.4 is built and installed, including SSL support if desired. * The mongrel gem is installed. * The mongrel_cluster gem …

mongrel_cluster

というわけで、拍子抜けするほど簡単に導入できてしまいました。確かに使い勝手はよさそう。 id:drawnboyさんの言うとおり、拍子抜けするほど簡単でした。次はpoundで負荷分散。

mongrel

昨日作ったRubyの環境にmongrelをインストールしようとしたらこんなエラーが出た。 Building native extensions. This could take a while... extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 ERROR: While executi…