{"id":11985,"date":"2014-05-31T23:18:14","date_gmt":"2014-05-31T14:18:14","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=11985"},"modified":"2016-06-18T17:24:40","modified_gmt":"2016-06-18T08:24:40","slug":"lost-redmine-db","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2014\/05\/lost-redmine-db.html","title":{"rendered":"Redmine\u306e\u30c7\u30fc\u30bf\u3092\u6d88\u5931(FreeBSD 10.0\u3067Apache2.4)"},"content":{"rendered":"<p>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\u304c5.5\u306b\u56fa\u5b9a\u306e\u69d8\u306a\u611f\u3058\u3067\u3059\u3002\u304d\u3061\u3093\u3068\u8abf\u3079\u305f\u8a33\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u9055\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>FreeBSD 10.0\u306b\u306a\u3063\u3066\u304b\u3089\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u304cpkg\u30b3\u30de\u30f3\u30c9\u306b\u5909\u66f4\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001pkg\u3092upgrade\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>pkg upgrade -f<\/pre>\n<p>\u3067\u3059\u304c\u3001apache2.2\u3068MySQL5.5\u3001\u305d\u308c\u3068PHP5.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u304d\u307e\u3059\u3002\u305d\u308c\u306f\u3001\u3069\u3046\u3082FreeBSD 9.1\u306e\u6642\u306b\u3001apache2.4\u306emod_fcgi\u3068libphp5.so(php5.5)\u3001Ruby\u306erubygem-passenger\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u3044\u305f\u304b\u3089\u306e\u3088\u3046\u3067\u3059\u3002mod_fcgi\u3068libphp5.so\u304capache22\u3068\u4f9d\u5b58\u95a2\u4fc2\u3092\u6301\u3063\u3066\u3044\u3066\u3001rubygem-passenger\u304cMySQL5.5\u3068\u4f9d\u5b58\u95a2\u4fc2\u3092\u6301\u3063\u3066\u3044\u308b\u69d8\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2013\/08\/installing-redmine-on-freebsd-9-1-with-apache-2-4.html\" rel=\"_RAclick\">FreeBSD 9.1\u306eApache2.4\u306bRedmine\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u3042\u308a] : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2013\u5e748\u670816\u65e5)<\/em><\/li>\n<\/ul>\n<p>Apache2.4\u3092Apache2.2\u306b\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u3057\u307e\u3048\u3070\u3001\u4f55\u306e\u554f\u984c\u3082\u7121\u304f\u306a\u308b\u306e\u3067\u3059\u304c\u3001httpd.conf\u95a2\u4fc2\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u76f4\u3059\u306e\u306f\u9762\u5012\u3060\u3057\u3001\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3082\u3061\u3087\u3063\u3068\u3057\u3083\u304f\u306b\u969c\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u3001mod_fcgi\u3068php55\u306f\u3001make\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002\u305d\u308c\u3068\u3001\u3069\u3053\u304b\u3067\u8aad\u3093\u3060\u306e\u3067\u3059\u304c\u3001\/etc\/make.conf\u306b\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"makefile\">WITH_PKGNG= yes\r\nDEFAULT_VERSIONS=php=5.5 mysql=5.6 apache=2.4\r\n<\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001ports\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u66f4\u65b0\u3057\u3066\u3001make\u3057\u307e\u3059\u3002<\/p>\n<pre># portsnap fetch\r\n# portsnap upgrade\r\n# cd \/usr\/ports\/lang\/php55\r\n# make install clean\r\n# \/usr\/ports\/www\/mod_fcgid\r\n# make install clean\r\n<\/pre>\n<p>\u4eca\u5ea6\u306f\u3001pkg upgrade -f\u3067\u3001\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304cupgrade\u3055\u308c\u306a\u3044\u69d8\u306b\u3001pkg lock\u3057\u307e\u3059\u3002\u591a\u5206\u3001\u6b21\u306e\u901a\u308a\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u9055\u3063\u3066\u305f\u3089\u30b4\u30e1\u30f3\u30ca\u30b5\u30a4\u3002<\/p>\n<pre># pkg lock ap24-mod_fcgid\r\n# pkg lock rubygem-mysql\r\n# pkg lock rubygem-mysql2\r\n# pkg lock rubygem-passenger\r\n# pkg lock mysql56-server\r\n# pkg lock mysql56-client\r\n<\/pre>\n<p>\u4e00\u5fdc\u3001\u3053\u306e\u5f8c\u3067\u3001pkg upgrade -f\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u7121\u4e8b\u74b0\u5883\u304c\u6574\u3063\u305f\u8a33\u3067\u3059\u304c\u3001ports\u3092make\u3057\u305f\u5f8c\u3001\u30ea\u30d6\u30fc\u30c8\u3057\u305f\u3089\u3001Redmine\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u3002phpMyAdmin\u3067\u8abf\u3079\u3066\u307f\u305f\u3089\u3001redmine\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(\u30c6\u30fc\u30d6\u30eb)\u306e\u4e2d\u8eab\u304c\u3001\u7a7a\u3063\u307d\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002MySQL\u304c5.5\u30845.6\u306b\u30b3\u30ed\u30b3\u30ed\u5909\u308f\u3063\u305f\u4e8b\u3084\u3001Redmine\u95a2\u4fc2\u306e\u8a2d\u5b9a\u3092\u3050\u3061\u3083\u3050\u3061\u3083\u3084\u3063\u3066\u3057\u307e\u3063\u305f\u305f\u3081\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u30013\u6708\u672b\u306e\u30c7\u30fc\u30bf\u307e\u3067\u306f\u5fa9\u5e30\u3067\u304d\u305f\u306e\u3067\u3059\u304c\u30014\u6708\u30685\u6708\u306e\u4f5c\u696d\u5206\u304c\u7121\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>WordPress\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u7121\u4e8b\u3060\u3063\u305f\u306e\u3067\u3001MySQL\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u5909\u66f4\u306f\u95a2\u4fc2\u7121\u304b\u3063\u305f\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002rake\u30b3\u30de\u30f3\u30c9\u3067\u3001\u3050\u3061\u3083\u3050\u3061\u3083\u3084\u3063\u3061\u3083\u3063\u305f\u304b\u3089\u304b\u306a\u3041\u3002<\/p>\n<p>Redmine\u306e\u30c1\u30b1\u30c3\u30c8\u3092\u3001\u5099\u5fd8\u9332\u4ee3\u308f\u308a\u306b\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u304b\u306a\u308a\u75db\u3044\u3067\u3059\u3002<\/p>\n[amazonjs asin=\"488337968X\" locale=\"JP\"]\n","protected":false},"excerpt":{"rendered":"<p>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\u304c5.5\u306b\u56fa\u5b9a\u306e\u69d8\u306a\u611f\u3058\u3067\u3059\u3002\u304d\u3061\u3093\u3068\u8abf\u3079\u305f\u8a33\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u9055\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 FreeBSD 10.0\u306b\u306a\u3063\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"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_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eRedmine\u306e\u30c7\u30fc\u30bf\u3092\u6d88\u5931(FreeBSD 10.0\u3067Apache2.4)\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-11985","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":14176,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/install-redmine2-5-with-fastcgi-via-apache24-on-freebsd10.html","url_meta":{"origin":11985,"position":0},"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":15622,"url":"https:\/\/oichinote.com\/plus\/2015\/07\/pkg-upgrade-for-redmine-on-freebsd.html","url_meta":{"origin":11985,"position":1},"title":"FreeBSD\u3067pkg upgrade\u3092\u3057\u3066Redmine\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u6642\u306e\u5bfe\u5fdc\u65b9\u6cd5[\u8ffd\u8a18]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e747\u670825\u65e5","format":false,"excerpt":"FreeBSD\u3067\u3001Apache2.4+FastCGI\u3092\u4f7f\u3063\u3066\u3001Redmine2.5\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002\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":9088,"url":"https:\/\/oichinote.com\/plus\/2013\/08\/installing-redmine-on-freebsd-9-1-with-apache-2-4.html","url_meta":{"origin":11985,"position":2},"title":"FreeBSD 9.1\u306eApache2.4\u306bRedmine\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e748\u670816\u65e5","format":false,"excerpt":"\u307e\u3041\u3001\u500b\u4eba\u3067Redmine\u3092\u4f7f\u3046\u307e\u3067\u306e\u4e8b\u3082\u7121\u3044\u306e\u3067\u3059\u304c\u3001\u9ad8\u5ea6\u306aToDo\u30ea\u30b9\u30c8\u3001\u9032\u6357\u7ba1\u7406\u3001\u884c\u52d5\u8a18\u9332\u3068\u3057\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"php55-extentions","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/08\/20130816php1-416x480.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":13261,"url":"https:\/\/oichinote.com\/plus\/2014\/11\/repairing-freebsd-10-0.html","url_meta":{"origin":11985,"position":3},"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":14204,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/php-with-fastcgi-on-freebsd10.html","url_meta":{"origin":11985,"position":4},"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":[]},{"id":12979,"url":"https:\/\/oichinote.com\/plus\/2014\/09\/freebsd-is-running-normally.html","url_meta":{"origin":11985,"position":5},"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":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/11985","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=11985"}],"version-history":[{"count":7,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/11985\/revisions"}],"predecessor-version":[{"id":18052,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/11985\/revisions\/18052"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=11985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=11985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=11985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}