Redmineãã¤ã³ã¹ãã¼ã«ããéã®ã¡ã¢
æè¿çæ´»ãã ãã ããã¦ããæ°ãããã®ã§ï¼èªåã®çæ´»ãã¿ã¹ã¯ç®¡çãã¦ã¿ããã¨æãRedmineãå°å
¥ãã¦ã¿ã¾ããï¼
æ¬å½ã¯ãã¼ã ãµã¼ã(ãªãã¡ãã£ã¦ãã¼ãPCé¯)ã«å°å
¥ãããã£ãã®ã§ããï¼é·å¹´ubuntuãæ´æ°ãã¦ããªãã£ãããã§æ°è¦ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ãªã©ãå
¨ããã£ã¦ã¾ã¾ãªããªãç¶æ³ã ã£ã+OSã®ãã¼ã¸ã§ã³ã®ã¢ãããã¼ããã§ããªãç¶æ
ã ã£ãã®ã§ï¼ä»æ¹ããªãVMä¸ã®ubuntuã«å°å
¥ãã¾ãã(ãã®ããï¼ä»ã®ã¨ããVMãèµ·åä¸ã§ãªãã¨Redmineã¯ä½¿ãã¾ãã)ï¼
ãã®è¨äºã§ã¯ä¸»ã«å°å ¥ã®æé ã¨ãã®æã«èºãããã¨ãªã©ãè¨è¼ãã¦ããããã¨æãã¾ãï¼
Redmineã¨ã¯
詳ããã¯wikipediaの記事ã公式サイトãè¦ã¦æ¬²ããã®ã§ããï¼ç°¡æ½ã«ããã¨Redmineã¯ããã¸ã§ã¯ã管çã·ã¹ãã ã§ãï¼
ãã±ããé§åéçºã¨ã®é¢é£æ§ãé«ãï¼ããããä½æ¥ã¯ãã±ãã(ãã ãè±èªçã§ã¯issuesã¨è¡¨ç¾ããã)ãä½æãã¦ããéå§ãï¼é²æç¶æ³ã常ã«ãã±ããã«åæ ãã¦ãããã¨ã§ï¼ããã¸ã§ã¯ãå
¨ä½ã®é²æ管çãè¡ããã¨ãã§ãã¾ãï¼Redmineãåä½ãã¦ãããµã¼ããç«ã¦ã¦ããï¼æä½ã¯ãã©ã¦ã¶ä¸ã§è¡ãã¾ãï¼
æ©è½ã¯ããããããã®ã§ãã
- ãã±ããã®è¦ªåé¢ä¿æ©è½
- ã¬ã³ããã£ã¼ã表示æ©è½
- ãã¡ã¤ã«æ·»ä»æ©è½
ãªã©ãªã©ã®æ©è½ãããï¼ãªããªã便å©ã§ãï¼
å ãã¦ï¼ç§ã¯ã¾ã 使ã£ããã¨ã¯ããã¾ããã
- ã¡ã¼ã«ã§ã®éç¥æ©è½
- ã¹ããã¢ããªããã®æä½!(ããã¯ããã!)
ãªã©ãããããã§ãï¼ã¨ã¦ã便å©ããã§ãã!
å°å ¥ã®æé
åºæ¬çã«公式サイトã®インストール手順ã«å¾ã£ã¦å°å ¥ãã¾ããï¼å ¬å¼ãµã¤ãã®ããã¥ã¢ã«ã¯è©³ããã¦ããããããã®ã§ããï¼éä¸ã§ããããã¨ããã¦ï¼çµæ§ã°ã¼ã°ã«å çã®ãä¸è©±ã«ãªã£ãã®ãäºå®ã§ãã¦ï¼ãã®è¨äºã¯å度å°å ¥ããéã«åãã¨ããã§æéãåããªãããã«æ¸ãã¦ãã¾ãï¼
ç°å¢
ç§ãå°å ¥ããç°å¢ã»ã½ããã¦ã§ã¢ã¯ä¸è¨ã®ããã«ãªã£ã¦ãã¾ãï¼
Redmineã®ãã¼ã¸ã§ã³
version 2.6
å°å ¥ã®æµãã®ä¸ã§ã¤ã³ã¹ãã¼ã«ãããã®
- MySQL version 14.14
- Ruby version 1.9.3
- Ruby on rails version 4.0.2
å°å ¥ã®éã«çããé害ã¨ãã®è§£æ±ºæ¹æ³
æºå
å ¬å¼ãµã¤ãã§å¿ è¦ãªã½ããä¸è¦§ã«ããã¦ï¼"ãã¼ã¿ãã¼ã¹"ã®é ãããã¾ããï¼ã©ãã1ã¤ã§å¤§ä¸å¤«ã§ãï¼ç§ã¯MySQLãé¸æãã¾ãã(apt-get install mysql-server)ï¼
gemã«MySQLãå ¥ãããã¨ãããä½ãã³ã±ã
$>gem install mysql
ã§ã¤ã³ã¹ãã¼ã«ããéã« Building native extensions. ... ERROR: ...
ã¨åºãï¼å ´åã¯
$>apt-get install ruby-dev
$>apt-get install libmysqlclient-dev
ãå ã«ãã£ã¦ããã¨è¯ãã§ãï¼
MySQLã«å ¥ããªã(èµ·åã§ããªã)
æé ã§mysqlã«ãã¼ã¿ãã¼ã¹ãä½ãããã«æ¸ããã¦ã¾ããï¼mysqlã«å
¥ããã¨ããããå
¥ããªãã£ãï¼
このページãåèã«è§£æ±º
$>mysql ERROR 1045 (28000): Access denied for user 'user'@'localhost' ...
ã£ã¦åºã¾ãï¼
ä½ã ãã¤ã³ã¹ãã¼ã«(åã¤ã³ã¹ãã¼ã«?)ããéã«rootã«ãã¹ã¯ã¼ããè¨å®ããã¦ããããããã¦ããªãããã§å
¥ããªãã¿ãããªã®ã§ï¼å
¥ããããã«è¨å®ãæ¸ãæãã¾ããï¼
主ã«ãã£ããã¨ã¨ãã¦ã¯ï¼
$>service mysqld stop
ã§MySQLãåæ¢ï¼
ä½ããã¾ãè¡ããªãå ´åã¯
$>pkill mysqld
ãããã¾ããï¼ç¹ã«ä¸è¨ãªãã·ã§ã³ä»ãèµ·åããã¾ãè¡ããªãæã¯pkillããã»ãããããªãè¡ãã¾ãããï¼
ã§ï¼æ¬¡ã«MySQLããªãã·ã§ã³ä»ãã§èµ·åãã¾ãï¼
$>mysqld_safe --skip-grant-tables &
&ãã¤ãããã¨ã§æç¶ããç¶è¡ãã¾ã(ãããªãã¨ã¿ã¼ããã«ã«æä½æ¨©ãæ»ã£ã¦ããªã)
$>mysqld_safe --skip-grant-tables &
å¾ã¯MySQLã«å ¥ããããã«ãªã£ã¦ããã®ã§ï¼このサイト様ã«å¾ã£ã¦æç¶ããé²ããã¨ãã¾ãè¡ãã¾ãã(æç¶ãå®äºå¾ã¯æçµçã«-pãªãã·ã§ã³ãä»ãã¦MySQLã«å ¥ããã¨ã«ãªãã¾ã)
bundler installã§ããªã
ã«ã¬ã³ããã£ã¬ã¯ããªãRedmineã®ãã£ã¬ã¯ããªã«ç§»åãã¦ããã¾ã(ä»åã¯redmine-2.6.0)ã¡ãªã¿ã«ç§ã¯
$>bundle install --without development test rmagick.
ã使ã£ã¦rmagickã®ã¤ã³ã¹ãã¼ã«ãçç¥ãã¾ãã(æé ãµã¤ãã«"å¿ è¦ããã"ã¨æ¸ããã¦ããéãï¼ç°å¢ãæã£ã¦ããªãå ´åã¯ãã®ãªãã·ã§ã³ã«ããªããã°ããã¾ã)ï¼
çµãã
以ä¸ï¼ç§ãRedmineãã¤ã³ã¹ãã¼ã«ããã«å½ãã£ã¦èºããã¨ããã¨ï¼ããã解決ããã«ããã£ã¦ãã¦ã¿ãè¡åã®ã¡ã¢ã§ãï¼æ®æ®µWindows使ããªããããã£ã¦ï¼ãããããã¨ãçºçããæã®å¯¾å¦åãå¼±ãç§ã§ãããï¼ç´ä½æ²æãçµã¦ä½ã¨ãã¤ã³ã¹ãã¼ã«ã§ãã¦è¯ãã£ãã§ãï¼