Ubuntu 14.04 で、ruby on rails passenger をインストールして apache 連携する

passenger インストール cd ~/ rbenv exec gem install passenger rbenv rehash passenger-install-apache2-module実行 rbenv exec passenger-install-apache2-module passenger-install-apache2-module 詳細 This installer will guide you through the entire installation process. It shouldn't take more than 3 minutes in total. Here's what you can expect from the installation process: 1. The Apache 2 module will be installed for you. 2. You'll learn how to configure Apache. 3. You'll learn how to deploy a Ruby on Rails application....

2014-11-14 ·  2014-11-14 · 4 分 · 755 文字

玄箱HG(lenny) Apache2 ssl化

玄箱HG(lenny) Apache2 ssl化 前提条件 opensslはインストール済み apache2で既にサイトが稼働済み su 実行済み opensslの設定 cd /etc/ssl ls -l 合計 28 drwxr-xr-x 2 root root 12288 2011-11-16 00:11 certs -rw-r--r-- 1 root root 9374 2010-12-06 00:23 openssl.cnf drwx--x--- 2 root ssl-cert 4096 2011-03-19 20:58 private cp -p openssl.cnf openssl.cnf.org vi openssl.cnf 編集内容は以下 diff ./openssl.cnf.org openssl.cnf 172c172 < # nsCertType = server --- > nsCertType = server 241c241 < # nsCertType = sslCA, emailCA --- > nsCertType = sslCA, emailCA 証明書の作成 場所はどこでもよいと思われる。...

2012-05-29 ·  2012-05-29 · 3 分 · 498 文字

玄箱HG(lenny) Apache2 再起動時にでる警告を消す

玄箱HG(lenny) Apache2 再起動時に警告がでる apache2 再起動やら設定リロードなどで下記エラーが出る場合の対処 エラー内容 以下のようなログがでる Could not reliably determine the server's fully qualified domain name, using 192.168.24.2 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.24.2 for ServerName ...done. 対処 cd /etc/apache2 vi apache2.conf ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files....

2012-05-28 ·  2012-05-28 · 1 分 · 98 文字