[root@centos redmine-1.0.0]# cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock default-character-set=utf8 <-これ user=mysql 割愛 [root@centos redmine-1.0.0]#
Redmineが、Mongrelとかでhttp://localhost:3000/redmine というコンテキストパスで起動している前提で、Apacheの設定ファイルに以下を追加します
cat /etc/httpd/conf.d/mongrel.conf
ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /redmine http://localhost:3000/redmine ProxyPassReverse /redmine http://localhost:3000/redminem
これでApacheからMongrelにproxyすることができます。
まずは設定ファイルで基本的な設定をしておきます。
[root@www config]# cd /opt/redmine-1.0.0/ [root@www redmine-1.0.0]# cp -pfr config/email.yml.example config/email.yml [root@www redmine-1.0.0]# /etc/init.d/redmine restart [root@www redmine-1.0.0]# cat config/email.yml 〜 割愛 〜 production: delivery_method: :smtp smtp_settings: address: 127.0.0.1 port: 25 domain: example.net #authentication: :login #user_name: "redmine@example.net" #password: "redmine" development: delivery_method: :smtp smtp_settings: address: 127.0.0.1 port: 25 domain: example.net authentication: :login user_name: "redmine@example.net" password: "redmine" [root@www redmine-1.0.0]#
次にRedmineの管理画面(管理>>設定>>メール通知) で設定をすればOKです。
この記事は
現在のアクセス:10100