{"id":2516,"date":"2020-03-15T12:34:15","date_gmt":"2020-03-15T03:34:15","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=2516"},"modified":"2020-05-24T12:17:04","modified_gmt":"2020-05-24T03:17:04","slug":"%e3%80%90laravel%e3%80%91%e3%81%be%e3%81%a3%e3%81%95%e3%82%89%e3%81%aa%e7%8a%b6%e6%85%8b%e3%81%aelinux%e3%81%8b%e3%82%89%e7%92%b0%e5%a2%83%e6%a7%8b%e7%af%89","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=2516","title":{"rendered":"\u3010Laravel\u3011\u307e\u3063\u3055\u3089\u306a\u72b6\u614b\u306eLinux\u304b\u3089\u74b0\u5883\u69cb\u7bc9"},"content":{"rendered":"\n<p>\u3053\u306e\u8a18\u4e8b\u3001\u5b9a\u671f\u7684\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u3044\u3053\u3046\u3002<\/p>\n\n\n\n<p>MySQL\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"yrVGrucqwY\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=2513\">\u3010Linux\u3011mysql\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u3089\u8e93\u3044\u305f\u306e\u3067<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010Linux\u3011mysql\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u3089\u8e93\u3044\u305f\u306e\u3067&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=2513&#038;embed=true#?secret=Nn2TXD0aRs#?secret=yrVGrucqwY\" data-secret=\"yrVGrucqwY\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>composer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt-get install composer<\/code><\/pre>\n\n\n\n<p>php\u306e\u8db3\u308a\u306a\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt-get install php7.2-mbstring\n$ sudo apt-get install php7.2-xml\n$ sudo apt-get install php7.2-zip\n$ sudo apt-get install php7.2-gd\n$ sudo apt-get install php7.2-mysql<\/code><\/pre>\n\n\n\n<p>nginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<p>Laravel\u306e\u8a2d\u5b9a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ composer global require \"laravel\/installer\"\n$ cd \/var\/www\n$ sudo chmod 777 html\n$ cd html<\/code><\/pre>\n\n\n\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089Laravel\u306e\u30bd\u30fc\u30b9\u3092clone<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git clone \u30ea\u30dd\u30b8\u30c8\u30ea\u306eURL\n$ chmod 777 storage\/\n$ chmod 777 bootstrap\/cache\/<\/code><\/pre>\n\n\n\n<p>.env\u3092\u4f5c\u6210\u3057\u3066\u3001\u8a2d\u5b9a\u3092\u8a18\u5165<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ composer install\n$ php artisan key:generate\n<\/code><\/pre>\n\n\n\n<p>node.js\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt-get install npm\n$ sudo apt-get install libpng-dev\n$ npm install\n$ npm run dev\n<\/code><\/pre>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8a2d\u5b9a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php artisan migrate\n$ php artisan db:seed --class=\u5b9f\u884c\u3059\u308bseeder\u30af\u30e9\u30b9<\/code><\/pre>\n\n\n\n<a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"><\/a>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3001\u5b9a\u671f\u7684\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u3044\u3053\u3046\u3002 MySQL\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 composer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb php\u306e\u8db3\u308a\u306a\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb nginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Laravel\u306e\u8a2d\u5b9a \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089Laravel &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=2516\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010Laravel\u3011\u307e\u3063\u3055\u3089\u306a\u72b6\u614b\u306eLinux\u304b\u3089\u74b0\u5883\u69cb\u7bc9<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_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":"","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":[167,8,3],"tags":[138,79],"class_list":["post-2516","post","type-post","status-publish","format-standard","hentry","category-laravel","category-linux","category-3","tag-laravel","tag-linux"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-EA","jetpack-related-posts":[{"id":1648,"url":"https:\/\/taki-lab.site\/bocci\/?p=1648","url_meta":{"origin":2516,"position":0},"title":"\u3010Linux\u3011\u3010Laravel\u3011Laravel5.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002","author":"taki","date":"2019\u5e7411\u670814\u65e5","format":false,"excerpt":"\u30aa\u30a4\u30e9\u306eLinux PC\u306bLaravel5.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \u4f7f\u7528\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306f\u2026","rel":"","context":"Linux","block_context":{"text":"Linux","link":"https:\/\/taki-lab.site\/bocci\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-14-08-19-23.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-14-08-19-23.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-14-08-19-23.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-14-08-19-23.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-14-08-19-23.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1652,"url":"https:\/\/taki-lab.site\/bocci\/?p=1652","url_meta":{"origin":2516,"position":1},"title":"\u3010Linux\u3011\u3010Laravel\u3011Laravel\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002","author":"taki","date":"2019\u5e7411\u670814\u65e5","format":false,"excerpt":"Laravel\u304b\u3089mysql\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3068\u3053\u308d\u307e\u3067\u3084\u308a\u307e\u3057\u305f\u3002 mysql\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ s\u2026","rel":"","context":"Linux","block_context":{"text":"Linux","link":"https:\/\/taki-lab.site\/bocci\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3254,"url":"https:\/\/taki-lab.site\/bocci\/?p=3254","url_meta":{"origin":2516,"position":2},"title":"\u3010LARAVEL\u3011\u3010\u30c0\u30a4\u30a8\u30c3\u30c8\u652f\u63f4\u3011VPS\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b","author":"taki","date":"2020\u5e746\u670812\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=3206 \u6700\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/8e7f0e43cd25eb4b7f7ce883c5354768.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/8e7f0e43cd25eb4b7f7ce883c5354768.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/8e7f0e43cd25eb4b7f7ce883c5354768.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/8e7f0e43cd25eb4b7f7ce883c5354768.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/8e7f0e43cd25eb4b7f7ce883c5354768.jpg?resize=1050%2C600 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/8e7f0e43cd25eb4b7f7ce883c5354768.jpg?resize=1400%2C800 4x"},"classes":[]},{"id":2513,"url":"https:\/\/taki-lab.site\/bocci\/?p=2513","url_meta":{"origin":2516,"position":3},"title":"\u3010Linux\u3011mysql\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u3089\u8e93\u3044\u305f\u306e\u3067","author":"taki","date":"2020\u5e743\u670815\u65e5","format":false,"excerpt":"\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002 MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ sudo apt-get install\u2026","rel":"","context":"Linux","block_context":{"text":"Linux","link":"https:\/\/taki-lab.site\/bocci\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":773,"url":"https:\/\/taki-lab.site\/bocci\/?p=773","url_meta":{"origin":2516,"position":4},"title":"WSL\u306bGUI\u3092\u5b9f\u88c5\u3057\u3066\u307f\u305f","author":"taki","date":"2018\u5e7412\u670813\u65e5","format":false,"excerpt":"WSL\u3068\u306fWindows Sub system for Linux\u3001\u3064\u307e\u308a\u3001Windows\u3067\u52d5\u304b\u3059\u3053\u2026","rel":"","context":"Linux","block_context":{"text":"Linux","link":"https:\/\/taki-lab.site\/bocci\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4967,"url":"https:\/\/taki-lab.site\/bocci\/?p=4967","url_meta":{"origin":2516,"position":5},"title":"Tesseract-OCR\u3092\u8a66\u3057\u3066\u307f\u308b","author":"taki","date":"2021\u5e741\u670825\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=4928 \u3069\u3046\u3084\u3089Linux\u306b\u306f\u30aa\u30fc\u30d7\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2021\/01\/PXL_20210124_214021031-1-scaled.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2021\/01\/PXL_20210124_214021031-1-scaled.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2021\/01\/PXL_20210124_214021031-1-scaled.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2021\/01\/PXL_20210124_214021031-1-scaled.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2021\/01\/PXL_20210124_214021031-1-scaled.jpg?resize=1050%2C600 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2021\/01\/PXL_20210124_214021031-1-scaled.jpg?resize=1400%2C800 4x"},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2516"}],"version-history":[{"count":6,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2516\/revisions"}],"predecessor-version":[{"id":3050,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2516\/revisions\/3050"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}