{"id":15622,"date":"2015-07-25T22:36:47","date_gmt":"2015-07-25T13:36:47","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=15622"},"modified":"2016-06-18T17:12:55","modified_gmt":"2016-06-18T08:12:55","slug":"pkg-upgrade-for-redmine-on-freebsd","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2015\/07\/pkg-upgrade-for-redmine-on-freebsd.html","title":{"rendered":"FreeBSD\u3067pkg upgrade\u3092\u3057\u3066Redmine\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u6642\u306e\u5bfe\u5fdc\u65b9\u6cd5[\u8ffd\u8a18]"},"content":{"rendered":"<p>FreeBSD\u3067\u3001Apache2.4+FastCGI\u3092\u4f7f\u3063\u3066\u3001Redmine2.5\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2015\/02\/install-redmine2-5-with-fastcgi-via-apache24-on-freebsd10.html\" rel=\"_RAclick\">FreeBSD10\u3067Redmine2.5\u3092Apache2.4+FastCGI\u3067\u52d5\u304b\u3059[\u8ffd\u8a18\u3042\u308a] : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2015\u5e742\u67088\u65e5)<\/em><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13262\" src=\"https:\/\/oichinote.com\/plus\/files\/2014\/11\/20141103redmine.png\" alt=\"Redmine\" width=\"242\" height=\"163\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2014\/11\/20141103redmine.png 242w, https:\/\/oichinote.com\/plus\/files\/2014\/11\/20141103redmine-150x101.png 150w\" sizes=\"auto, (max-width: 242px) 100vw, 242px\" \/><\/p>\n<p>FreeBSD\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u66f4\u65b0\u3059\u308b\u6642\u3001pkg upgrade -f\u3092\u3059\u308b\u306e\u3067\u3059\u304c\u3001Redmine\u304c\u4f7f\u3048\u306a\u304f\u306a\u308b\u4e8b\u304c\u3057\u3087\u3063\u3061\u3085\u3046\u3067\u3059\u3002\u6bce\u56de\u3001\u4e0a\u8a18\u306e\u8a18\u4e8b\u3092\u898b\u3066\u3084\u308a\u76f4\u3059\u306e\u3067\u3059\u304c\u3001\u6bce\u56de\u5fd8\u308c\u3066\u3044\u308b\u306e\u3067\u3001pkg upgade\u6642\u306b\u7279\u5316\u3057\u3066\u306e\u30e1\u30e2\u3067\u3059\u3002<\/p>\n<ol>\n<li>pkg upgrade -f\u3067\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0<\/li>\n<li>rubygem-passenger\u306e\u30ed\u30b0\u3092\u898b\u3066apache24\/Includes\/Passenger.conf\u3092\u4fee\u6b63<\/li>\n<li>apache24\/httpd.conf\u306efastcgi_module\u306eLoadModule\u3092\u6709\u52b9\u306b\u3059\u308b<\/li>\n<li>\/usr\/local\/www\/redmine\u3067\u3001bundle install\u304b\u3089\u3084\u308a\u76f4\u3057<\/li>\n<li>apachectl\u3067Apache\u3092\u518d\u8d77\u52d5<\/li>\n<\/ol>\n<p>\u591a\u5206\u3001\u308f\u304b\u3063\u3066\u3044\u308b\u4eba\u306b\u306f\u5e38\u8b58\u306a\u306e\u3067\u3057\u3087\u3046\u3051\u3069\u3001\u79c1\u306f\u308f\u304b\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u6bce\u56de\u82e6\u52b4\u3057\u3066\u307e\u3059\u3002<\/p>\n[amazonjs asin=\"488337968X\" locale=\"JP\"]\n<h3>1. pkg upgrade -f\u3067\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0<\/h3>\n<p>FreeBSD\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u66f4\u65b0\u3059\u308b\u6642\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre># pkg upgrade -f\r\n<\/pre>\n<p>pkg\u30b3\u30de\u30f3\u30c9\u304c\u53e4\u3044\u5834\u5408\u3001pkg\u30b3\u30de\u30f3\u30c9\u306e\u66f4\u65b0\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<h3>2. rubygem-passenger\u306e\u30ed\u30b0\u3092\u898b\u3066apache24\/Includes\/Passenger.conf\u3092\u4fee\u6b63<\/h3>\n<p>Apache\u3092\u3069\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u304b\u3067\u5909\u308f\u3063\u3066\u304f\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u79c1\u306fPassenger\u7cfb\u306e\u8a2d\u5b9a\u3092\u3001Passenger.conf\u306b\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>pkg upgrade\u3092\u3059\u308b\u3068\u3001\u6b21\u306e\u69d8\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre>===============================================================================\r\nMessage for rubygem-passenger-5.0.14:\r\n #####################################################################\r\n\r\nPlease edit your Apache configuration file, and add these lines:\r\n\r\n   LoadModule passenger_module \/usr\/local\/lib\/ruby\/gems\/2.1\/gems\/passenger-5.0.14\/buildout\/apache2\/mod_passenger.so\r\n   PassengerRoot \/usr\/local\/lib\/ruby\/gems\/2.1\/gems\/passenger-5.0.14\r\n   PassengerRuby \/usr\/local\/bin\/ruby21\r\n\r\nAfter you restart Apache, you are ready to deploy any number of Ruby on Rails\r\napplications on Apache, without any further Ruby on Rails-specific\r\nconfiguration!\r\n\r\n<\/pre>\n<p>\u79c1\u306f\u3001\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5185\u5bb9\u3092\u3001apache24\/Includes\/Passenger.conf\u306b\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"apache\">LoadModule passenger_module \/usr\/local\/lib\/ruby\/gems\/2.1\/gems\/passenger-5.0.14\/buildout\/apache2\/mod_passenger.so\r\nPassengerRoot \/usr\/local\/lib\/ruby\/gems\/2.1\/gems\/passenger-5.0.14\r\nPassengerRuby \/usr\/local\/bin\/ruby21\r\n<\/code><\/pre>\n<h3>3. apache24\/httpd.conf\u306efastcgi_module\u306eLoadModule\u3092\u6709\u52b9\u306b\u3059\u308b<\/h3>\n<p>\u79c1\u306f\u3001\u9ad8\u901f\u5316\u306e\u305f\u3081\u306bFastCGI\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u304chttpd.conf\u306b\u8a18\u8f09\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u66f4\u65b0\u6642\u306b\u306a\u305c\u304b\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre>[322\/322] Reinstalling ap24-mod_fastcgi-2.4.7_1...\r\nDon't forget to remove all mod_fastcgi-related directives in your httpd.conf\r\n[322\/322] Extracting ap24-mod_fastcgi-2.4.7_1: 100%\r\n[preparing module `fastcgi' in \/usr\/local\/etc\/apache24\/httpd.conf]\r\n<\/pre>\n<p>httpd.conf\u306e\u3001\u8a72\u5f53\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"apache\">LoadModule fastcgi_module libexec\/apache24\/mod_fastcgi.so\r\n<\/code><\/pre>\n<h3>4. \/usr\/local\/www\/redmine\u3067\u3001bundle install\u304b\u3089\u3084\u308a\u76f4\u3057<\/h3>\n<p>(\u8ffd\u8a18 2016-01-04 12:14<br \/>\n\u306a\u304a\u3001Gemfile.local\u306b\u6b21\u306e\u5185\u5bb9\u3092\u8a18\u8f09\u3057\u3001fcgi\u3092\u6709\u52b9\u5316\u3057\u3066\u3042\u308a\u307e\u3059\u3002Gemfile.local\u306b\u66f8\u3044\u3066\u304a\u304f\u3068\u3001Gemfile\u306b\u8ffd\u52a0\u3057\u3066\u8aad\u307f\u8fbc\u307e\u308c\u308b\u69d8\u3067\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"ruby\">gem &quot;fcgi&quot;\r\n<\/code><\/pre>\n<p>)<\/p>\n<p>\u6bce\u56de\u3001\u3053\u306e\u4f5c\u696d\u304c\u5fc5\u8981\u306a\u306e\u3067\u3059\u304c\u3001\u666e\u901a\u306a\u306e\u3067\u3057\u3087\u3046\u304b? \u6700\u5f8c\u306erake\u306e&#8221;Select language&#8221;\u3067\u306f\u3001ja\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre># cd \/usr\/local\/www\/redmine\r\n# bundle install\r\n# rake generate_secret_token\r\n# rake db:migrate RAILS_ENV=production\r\n# rake redmine:load_default_data RAILS_ENV=production\r\n\r\nSelect language: ar, az, bg, bs, ca, cs, da, de, el, en, en-GB, es, et, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sq, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en] ja\r\n====================================\r\nDefault configuration data loaded.\r\n<\/pre>\n<h3>5. apachectl\u3067Apache\u3092\u518d\u8d77\u52d5<\/h3>\n<p><del datetime=\"2015-08-14T13:08:28+00:00\">\u518d\u8d77\u52d5\u304c\u5fc5\u9808\u304b\u3069\u3046\u304b\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u8a2d\u5b9a\u304c\u6b63\u3057\u304f\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u3067\u304d\u308c\u3070\u518d\u8d77\u52d5\u3057\u305f\u65b9\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<\/del><\/p>\n<p>\u8a2d\u5b9a\u3092\u66f8\u304d\u63db\u3048\u3066\u3044\u307e\u3059\u306e\u3067\u3001Apache\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre># apachectl restart\r\n<\/pre>\n<p>(\u8ffd\u8a18 2015-08-14 22:09)<\/p>\n<p>Apache\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u9808\u306a\u4e8b\u306b\u6c17\u304c\u3064\u3044\u305f\u306e\u3067\u3001\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD\u3067\u3001Apache2.4+FastCGI\u3092\u4f7f\u3063\u3066\u3001Redmine2.5\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002 FreeBSD10\u3067Redmine2.5\u3092Apache2.4+FastCGI\u3067\u52d5\u304b\u3059[\u8ffd\u8a18\u3042\u308a] : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 ( [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13262,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eFreeBSD\u3067pkg upgrade\u3092\u3057\u3066Redmine\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u6642\u306e\u5bfe\u5fdc\u65b9\u6cd5[\u8ffd\u8a18]\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[60,5],"tags":[],"class_list":["post-15622","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-freebsd","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2014\/11\/20141103redmine.png","jetpack-related-posts":[{"id":11985,"url":"https:\/\/oichinote.com\/plus\/2014\/05\/lost-redmine-db.html","url_meta":{"origin":15622,"position":0},"title":"Redmine\u306e\u30c7\u30fc\u30bf\u3092\u6d88\u5931(FreeBSD 10.0\u3067Apache2.4)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e745\u670831\u65e5","format":false,"excerpt":"FreeBSD 10.0\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3068\u3001Apache\u306e\u6a19\u6e96\u304c2.2\u306b\u3001MySQL\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14176,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/install-redmine2-5-with-fastcgi-via-apache24-on-freebsd10.html","url_meta":{"origin":15622,"position":1},"title":"FreeBSD10\u3067Redmine2.5\u3092Apache2.4+FastCGI\u3067\u52d5\u304b\u3059[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e742\u67088\u65e5","format":false,"excerpt":"\u81ea\u5b85\u3067Redmine\u52d5\u304b\u3057\u3066\u307e\u3059\u3002\u5099\u5fd8\u9332\u4ed8\u304d\u306e\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8\u4ee3\u308f\u308a\u3067\u3059\u3002 FreeBSD 9.1\u306eA\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"Redmine","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/11\/20141103redmine.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":13261,"url":"https:\/\/oichinote.com\/plus\/2014\/11\/repairing-freebsd-10-0.html","url_meta":{"origin":15622,"position":2},"title":"\u307e\u305fFreeBSD10.0(WordPress, Redmine)\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u5fa9\u65e7\u4f5c\u696d","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e7411\u67083\u65e5","format":false,"excerpt":"\u5148\u3005\u6708\u3001\u30b5\u30fc\u30d0\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u308bFreeBSD10.0\u304c\u307e\u3068\u3082\u306b\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002 \u3084\u3063\u3068Fre\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"Redmine","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/11\/20141103redmine.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12979,"url":"https:\/\/oichinote.com\/plus\/2014\/09\/freebsd-is-running-normally.html","url_meta":{"origin":15622,"position":3},"title":"\u3084\u3063\u3068FreeBSD10.0\u304c\u901a\u5e38\u904b\u8ee2\u306b\u623b\u3063\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e749\u670827\u65e5","format":false,"excerpt":"\u5148\u65e5\u3001Redmine\u306e\u30c7\u30fc\u30bf\u3092\u6d88\u5931\u3057\u3066\u304b\u3089\u3001\u304b\u306a\u308a\u304c\u3063\u304f\u308a\u6765\u3066\u3001\u30b5\u30fc\u30d0\u7ba1\u7406\u3092\u307e\u3058\u3081\u306b\u3057\u3066\u304d\u307e\u305b\u3093\u3067\u3057\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"\u30b5\u30fc\u30d0\u6a5f","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/09\/20130910my-server.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12360,"url":"https:\/\/oichinote.com\/plus\/2014\/07\/glitch-on-my-freebsd-10-0.html","url_meta":{"origin":15622,"position":4},"title":"FreeBSD 10.0\u4e0d\u8abf","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e747\u67087\u65e5","format":false,"excerpt":"\u5148\u65e5\u3001Redmine\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u6d88\u5931\u3057\u307e\u3057\u305f\u3002 Redmine\u306e\u30c7\u30fc\u30bf\u3092\u6d88\u5931(FreeBSD 1\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14204,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/php-with-fastcgi-on-freebsd10.html","url_meta":{"origin":15622,"position":5},"title":"FreeBSD10\u3067PHP5.4\u3092Apache24+FastCGI\u3067\u52d5\u304b\u3059","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e742\u67089\u65e5","format":false,"excerpt":"FreeBSD\u3067Redmine\u3092FastCGI\u7d4c\u7531\u3067\u52d5\u304b\u3059\u4e8b\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002 FreeBSD10\u3067R\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"PHP on FastCGI","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/02\/20150209php-on-fastcgi.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/15622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=15622"}],"version-history":[{"count":7,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/15622\/revisions"}],"predecessor-version":[{"id":18048,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/15622\/revisions\/18048"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/13262"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=15622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=15622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=15622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}