{"id":1456,"date":"2015-01-18T15:11:05","date_gmt":"2015-01-18T06:11:05","guid":{"rendered":"http:\/\/www.white-room.jp\/blog\/?p=1456"},"modified":"2015-01-18T15:36:35","modified_gmt":"2015-01-18T06:36:35","slug":"vimbadmin%e3%81%86p%e3%83%87%e3%83%bc%e3%83%88%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/www.white-room.jp\/blog\/?p=1456","title":{"rendered":"vimbadmin\u3046p\u30c7\u30fc\u30c8\u30e1\u30e2"},"content":{"rendered":"<p>\u7d50\u69cb\u9762\u5012\u304f\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u624b\u9806\u3092\u7d44\u307f\u7acb\u3066\u3088\u3046\u3002<\/p>\n<p>php5.4\u306b\u5909\u66f4<\/p>\n<pre><code>$ sudo add-apt-repository ppa:ondrej\/php5\r\n$ sudo apt-get update\r\n$ sudo apt-get upgrade\r\n$ sudo apt-get dist-upgrade<\/code><\/pre>\n<p>\u3053\u308c\u3092\u3084\u308b\u3068apache2\u304c2.2\u304b\u30892.4\u306b\u5909\u66f4\u3055\u308c\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u5f0f\u5909\u66f4\u3067\u52d5\u304b\u306a\u304f\u306a\u308b\u306e\u3067\u3001\/etc\/apache2\/sites-alival\u306e\u4e2d\u8eab\u3092\u66f8\u304d\u76f4\u3059\u3002<\/p>\n<pre><code>\r\n&lt;directory \/home\/wwww\/white-room>\r\n# Options \u306e+\u306f\u7701\u7565\u3067\u304d\u306a\u3044\r\n\r\n# order allow, deny\r\n# allow from all\r\nRequire all granted &lt;--\r\n&lt;\/directory>\r\n&lt;files ~ \"^\\.\">\r\n# Deny from all\r\nRequire all denied &lt;--\r\n&lt;\/files>\r\n## allow from, deny from\u3058\u3083\u306a\u304f\u3066\u3001Require all (granted|denied)\r\n\r\n##\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u308b\u306e\u306b\u6c17\u3092\u3064\u3051\u308b\u3002mods-enabled\u3092\u898b\u308d\r\n##conf.d\u5185\u306e*.conf\u304b\u305d\u3046\u3067\u306a\u3044\u304b\u3067\u5206\u3051\u308b\u3093\u3058\u3083\u306a\u304f\u3066\u3001conf-alival\u3092conf-enabled\u306b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3059\u308b\u3002\r\n##\u30b3\u30de\u30f3\u30c9\u306f\u3000a2enconf [conf\u540d]\r\n<\/code><\/pre>\n<p>\u3051\u3063\u3053\u3046\u306a\u5927\u5909\u66f4\u3060\u304b\u3089\u30012.4\u3088\u308a3.x\u306b\u3057\u3066\u304f\u308c\u305f\u65b9\u304c\u30d3\u30d3\u3063\u3066\u826f\u304b\u3063\u305f\u304b\u3082\u3002<\/p>\n<p>vimbadmin3x\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><code>composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3060\u3068\u30e1\u30e2\u30ea\u4e0d\u8db3\u3067\u6b62\u307e\u308b\u306e\u3067\r\n$ sudo echo 'memory_limit = \"512M\"' >> \/etc\/php5\/conf.d\/oresama.conf\r\n\u203bubuntu\u306ephp\u306f\u5b88\u8b77\u795e\u30d1\u30c3\u30c1\u4ed8\u304d\u306a\u306e\u3067\r\n$ sudo echo 'suhosin.executor.include.whitelist = phar' >> \/etc\/php5\/conf.d\/oresama.conf\r\ncomposer\u3092\/home\/oresama\/\u306b\r\n$ cd curl -sS https:\/\/getcomposer.org\/installer | php\r\n\u3042\u3068\u306f<a href=\"https:\/\/github.com\/opensolutions\/ViMbAdmin\/wiki\/Installation\" target=\"_blank\" title=\"\">https:\/\/github.com\/opensolutions\/ViMbAdmin\/wiki\/Installation<\/a>\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/code><\/pre>\n<p>\u73fe\u884c\u306eDB\u3092dump\u3059\u308b\u3002<\/p>\n<p>\u73fe\u884c\u306eDB\u3092drop\u3059\u308b\u3002<\/p>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u7528\u306eDB\u3092\u4f5c\u3063\u3066\u3001dump\u3057\u305fDB\u3092\u8aad\u307f\u8fbc\u3080\u3002<\/p>\n<p>\u65b0\u3057\u3044DB\u3092\u4f5c\u3063\u3066\u3001vimbadmin\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d1\u30b9\u306b\u5165\u308a\u3000.\/bin\/doctrine2-cli.php orm:schema-tool:create<\/p>\n<p>\u3042\u3068\u306f<a href=\"https:\/\/github.com\/opensolutions\/ViMbAdmin\/wiki\/Migrate-from-ViMbAdmin2\" target=\"_blank\" title=\"\">https:\/\/github.com\/opensolutions\/ViMbAdmin\/wiki\/Migrate-from-ViMbAdmin2<\/a>\u306b\u5f93\u3063\u3066\u3001\u5b8c\u74a7\u306b\u79fb\u884c\u3059\u308b\u3002<\/p>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u7528\u306eDB\u3092\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3002<\/p>\n<p>\u66f4\u306b\u3001\u3093\u304e\u306a\u3093\u3068\u304b\u3055\u3093\u304c\u5165\u3063\u3066\u308b\u304b\u3089\u3001\u305d\u3063\u3061\u3082\u4f55\u3068\u304b\u3059\u308b\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u63d0\u4f9b\u3055\u308c\u308b\u9650\u308a\u4f55\u3082\u3057\u306a\u3044\u306e\u304c\u5f97\u7b56\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d50\u69cb\u9762\u5012\u304f\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u624b\u9806\u3092\u7d44\u307f\u7acb\u3066\u3088\u3046\u3002 php5.4\u306b\u5909\u66f4 $ sudo add-apt-repository ppa:ondrej\/php5 $ sudo apt-get update $ sudo apt-ge [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1456","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1456"}],"version-history":[{"count":0,"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1456\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.white-room.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}