MySQL¤Çʸ»ú²½¤±¤·¤Ê¤¤ÀßÄê †[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]# Apache¤ÈÏ¢·È¤¹¤ë †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¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ Redmine¤Ç¥á¡¼¥ëÄÌÃΤε¡Ç½¤ò»È¤¦¡£ †¤Þ¤º¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤Ç´ðËÜŪ¤ÊÀßÄê¤ò¤·¤Æ¤ª¤¤Þ¤¹¡£ [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¤Î´ÉÍý²èÌÌ(´ÉÍý>>ÀßÄê>>¥á¡¼¥ëÄÌÃÎ) ¤ÇÀßÄê¤ò¤¹¤ì¤Ð£Ï£Ë¤Ç¤¹¡£ Redmine¤Î¥¢¥«¥¦¥ó¥È¤È¡¢Redmine¤¬»²¾È¤·¤Æ¤¤¤ëSubversion¤Î¥¢¥«¥¦¥ó¥È¤ÎƱ´ü¤ò¼è¤ë †<Location "/svnhogehoge"> <-Ŭµ¹¡£
DAV svn
SVNPath /opt/svnroot <-Ŭµ¹¤¢¤ï¤»¤ë
Require valid-user
# mod_auth_mysql
AuthName "Subversion repository"
AuthType Basic
AuthMySQLEnable on
AuthMySQLUser redmine <-Ŭµ¹
AuthMySQLPassword redmine <-Ŭµ¹
AuthMySQLDB redmine <-Ŭµ¹
AuthMySQLNameField login
AuthMySQLPasswordField hashed_password
AuthMySQLUserTable "users,members,projects"
AuthMySQLUserCondition "users.id=members.user_id and
projects.id=members.project_id and projects.identifier='hogehoge'"
identifier¤À¤±¡¢³Æ¥×¥í¥¸¥§¥¯¥È¤Î¼±Ê̻Ҥˤ¢¤ï¤»¤ë ¢¬
AuthMySQLPwEncryption sha1
</Location>
¤³¤Îµ»ö¤Ï ¸½ºß¤Î¥¢¥¯¥»¥¹:1882 |