Amazon EC2ã«Redmineãã¤ã³ã¹ãã¼ã«
Amazon EC2ã®ç¡ææ ãéä¼ç¶æ ã ã£ãã®ã§Redmineãå ¥ãã¦ã¿ãã
幸éãªãã¨ã«ãã»ã¼åããããªãã¨ããã£ã¦æé ãè¨é²ãã¦ãã ãã£ã¦ããæ¹ãããã®ã§ããããã»ã¼ãã®ã¾ã¾ä½¿ããã¦ããã£ãã http://il-all.blogspot.com/2012/02/amazon-ec2redmine.html
ä½ã«æãã§å¼ã£ããã£ããæé ãæ¹å¤ãããããã®ã§ã¡ã¢ã£ã¦ããã
- Ruby Enterprise Editionã¯ä½¿ããªãã£ã
- ããç¥ããªãã£ããã®ãªã®ã§ããã¨ããã§ãå ¥ããããã ããã
- Ruby Enterprise Editionã¯çµãããããï¼ http://www.infoq.com/jp/news/2012/03/ruby-eee-eol
- sudo gem install rmagic ã§ãruby.h ãè¦ã¤ãããªãã¨ããã¨ã©ã¼ãåºã
- mysqlèµ·åå¾ã«rootã®ãã¹ã¯ã¼ãè¨å®ããã¨ããã§ã"No database selected" ã¨ããã¨ã©ã¼ãåºã
- ãã®ç´å㧠"use mysql;" ãå ¥ããã解決
- è¨äºã§ã¯Redmine1.3.0ã使ã£ã¦ãããã1.3.1ãåºã¦ããã®ã§ãã¡ããã¤ã³ã¹ãã¼ã«ããï¼ãã¦ã³ãã¼ããããã¡ã¤ã«ã¯åãã¨ããã«ããï¼
- bzrãhgã¯ä½¿ããªãã®ã§ã¤ã³ã¹ãã¼ã«ãã¦ãªã
- configuration.yml ã®ã### SCMãLDAPã®éµæå·åãããå ´åããã追å database_cipher_key: "v3rys3cr3t"ãã¯ããããããªãã®ã§ã¨ããããçç¥ãã
- sudo rake generate_session_store ã¯ä¸çºã§æåãããgemã®ãã¼ã¸ã§ã³ã¯1.3.7
- sudo openssl rsa -in *.pem -out *_nopass.pemï¼éµãã¡ã¤ã«ã®ãã¹ã¯ã¼ããé¤å»ãã¦ãã¨ããï¼ï¼ã§ã*.pemãåå¨ããªãã¨ããã¨ã©ã¼ã«ãªã£ã
- *.pem ãããªã㦠*.key ã¨æå®ããããã¾ããã£ã
- /etc/httpd/conf.d/ssl.conf ã¸ã®ç·¨éå
容ã§ã次ã®ã¨ãããæ¹å¤ããªãã¨åããªãã£ã
- SSLPrivateKeyFile ã SSLCertificateKeyFile ã«
- ããã«æå®ããéµãã¡ã¤ã«ã *.pem ãã *_nopass.keyã«
ããã¨ã¯å¥ã«ãã¨ãããããªæãã§ãã¼ã«ã«ãã·ã³ã§åããã¦ããRedmineããã£ã¦ããããããã¼ã¿ã移è¡ããã
æé ã¯ãã®è¨äºã«ããã¨ããã http://www.binword.com/blog/archives/000285.html
64bit->32bitã®ç§»è¡ã ã£ããã©åé¡ãªãã§ããããããã«ãã³ãã®ãã©ã¼ãããã¯ããã«ä¾åããªãããã«ã¯ãªã£ã¦ããã
ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ã ãã©ãã¾ã®ã¨ããå¿«é©ã«åä½ãã¦ã¾ããã¡ã¢ãªä½¿ç¨éã¯200MBãããã
ãã¼ã¿ãå¢ãã¦ããã¨ãã«ã©ããªããã¯åãããªããã©â¦