You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Power Mac G5を引退させるつもりでMac mini server(Lion)用意したのに、半年経ってもまだG5が居座り続けてます。 夏の間はファンが良く回り、電気料金の大半はここで費やしている気もするので*1、本格的な夏になる前には引退させたい所です。 原因はRails2.xで起動しているアプリの移動です。しかもRuby 1.8.6。 PassengerだとRubyのバージョンが固定されてしまうので、Ruby 1.9.3 + Rails3.x主体にすると、既存のアプリの移植とか面倒な具合になるので… 最近Unicornというのがあるというのを知って、でもめんどくさそうだなと思ったり… この間、東京で割と簡単なことを聞いてきたので、重い腰を上げて試しました。 Nginxとの組合せの例が多いみたいですが、インストールで失敗してめげたのでApacheと組み合わせます。 Rubyはrvm
Apacheのモジュールを有効化 sudo a2enmod proxy sudo a2enmod proxy_balancer sudo a2enmod proxy_http sudo a2enmod rewrite sudo /etc/init.d/apache2 restart Unicornをインストール gem install unicorn Apacheの設定 #/etc/apache2/conf.d/railsapp.conf <VirtualHost *:80> ServerAdmin admin@localhost ServerName localhost DocumentRoot /home/username/railsapp/current/public ProxyRequests Off <Proxy *> Order deny,allow Allow from al
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く