{"id":3816,"date":"2021-06-30T12:53:01","date_gmt":"2021-06-30T03:53:01","guid":{"rendered":"https:\/\/suzutukiblog.com\/?p=3816"},"modified":"2022-12-30T00:02:03","modified_gmt":"2022-12-29T15:02:03","slug":"lamp1","status":"publish","type":"post","link":"https:\/\/suzutukiblog.com\/index.php\/2021\/06\/30\/lamp1\/","title":{"rendered":"LAMP\u74b0\u5883\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30d6\u30ed\u30b0(\u3053\u306e\u30b5\u30a4\u30c8)\u3092\u4f5c\u6210\u3057\u3066\u5b66\u3093\u3060\u3053\u30681(\u6982\u8981)"},"content":{"rendered":"<h3>0\uff1a\u306a\u305c\u4f5c\u6210\u3057\u305f\u306e\u304b\uff1f<\/h3>\r\n<ol>\r\n<li><a href=\"https:\/\/linuc.org\/textbooks\/linux\/\">Linux\u6a19\u6e96\u6559\u79d1\u66f8<\/a>\u3067\u5b66\u3093\u3060\u3053\u3068\u3092\u5fdc\u7528\u3057\u3066\u5b9f\u969b\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u30d6\u30ed\u30b0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3067\u304d\u3066\u5b66\u7fd2\u306e\u52b9\u7387\u3092\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002<\/li>\r\n<li>\u30d6\u30ed\u30b0\u3067\u3001\u4ed6\u306e\u5b66\u7fd2\u306e\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u304c\u3067\u304d\u308b\u3002<\/li>\r\n<li>Linux\u30b3\u30de\u30f3\u30c9\u306b\u6163\u308c\u308b\u305f\u3081<\/li>\r\n<\/ol>\r\n<h3><span style=\"font-weight: 400;\"><strong>1:LAMP\u74b0\u5883\u3068\u306f\uff1f(\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u5b9f\u969b\u306b\u4f7f\u7528\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059)<\/strong> <\/span><\/h3>\r\n<ul>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">L: Linux\u3000\u3000\u30fb\u30fb\u30fbOS(CentOS7)<\/span><\/li>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A: Apache\u3000\u30fb\u30fb\u30fbWeb\u30b5\u30fc\u30d0\u3000(Apache 2.4)<\/span><\/li>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">M: MySQL\u3000\u30fb\u30fb\u30fb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3000(MySQL 5.7)<\/span><\/li>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">P: PHP\u3000\u3000 \u00a0 \u30fb\u30fb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3000(PHP 7)<\/span><\/li>\r\n<li>+Wordpress\u30fb\u30fb\u30fb\u30d6\u30ed\u30b0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2 \u4e0a\u8a18\u306eL A M P\u3092\u3042\u308f\u305b\u305f\u3082\u306e<\/li>\r\n<\/ul>\r\n<h3><b>Linux\u3068\u306f\uff1f<\/b><\/h3>\r\n<ul>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u30b5\u30fc\u30d0\u30fc\u3001PC\u3001\u30b9\u30fc\u30d1\u30fc\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3001 <\/span><span style=\"font-weight: 400;\">\u7d44\u307f\u8fbc\u307f\u6a5f\u5668(\u643a\u5e2f\u96fb\u8a71\u30fb\u30c6\u30ec\u30d3)\u306a\u3069\u306b\u5e45\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Web\u696d\u754c\u3067\u306f\u30b5\u30fc\u30d0\u30fc OS \u306e\u7b2c\u4e00\u9078\u629e\u80a2<\/span><\/li>\r\n<\/ul>\r\n<h3><strong>Apache\u3068\u306f\uff1f<\/strong><\/h3>\r\n<ul>\r\n<li>\u4e16\u754c\u4e2d\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u308bWeb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2(HTTP\u30b5\u30fc\u30d0\u30fc)\u3002\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u306b\u306fWeb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\r\n<li>\u4ed6\u306b\u3082\u69d8\u3005\u306aWeb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\r\n<\/ul>\r\n<h3><strong>MySQL\u3068\u306f\uff1f<\/strong><\/h3>\r\n<ul>\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(RDBMS)\u306b\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\r\n<li>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(RDBMS)\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3092\u3001\u8907\u6570\u306e\u884c\u3068\u5217\u3067\u69cb\u6210\u3055\u308c\u305f\u300c\u8868(\u30c6\u30fc\u30d6\u30eb)\u300d\u306e\u5f62\u5f0f\u3067\u53d6\u308a\u6271\u3044\u307e\u3059\u3002<\/li>\r\n<li>MariaDB\u30fbPostgreSQL\u306a\u3069\u4ed6\u306b\u3082\u3044\u308d\u3044\u308d\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\r\n<\/ul>\r\n<p><!--more--><\/p>\r\n<h3><span style=\"font-weight: 400;\"><strong>PHP\u3068\u306f\uff1f<\/strong> <\/span><\/h3>\r\n<p>\u52d5\u7684\u306bWeb\u30da\u30fc\u30b8\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3002Ruby\u3082\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3059\u3002<\/p>\r\n<p><span style=\"font-size: 1rem;\">MySQL\u306a\u3069\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u306e\u9023\u643a\u304c\u7c21\u5358\u306a\u306e\u3067WordPress\u3092\u542b\u3081\u305fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u306b\u3082\u3088\u304f\u4f7f\u308f\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\r\n<h3><span style=\"font-weight: 400;\">+<\/span><b>WordPress\u3068\u306f\uff1f<\/b><span style=\"font-weight: 400;\">\u3000 <\/span><\/h3>\r\n<p><span style=\"font-weight: 400;\">\u7121\u6599\u3067\u4f7f\u3048\u308b\u30d6\u30ed\u30b0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3001<\/span><span style=\"font-weight: 400;\">\u30d6\u30ed\u30b0\u3068\u3057\u3066\u306e\u6a5f\u80fd\u3084 <\/span><span style=\"font-weight: 400;\">\u30da\u30fc\u30b8\u3092\u66f4\u65b0\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u305f\u3081<\/span><span style=\"font-weight: 400;\">\u7c21\u5358\u306b\u30b5\u30a4\u30c8\u306e\u66f4\u65b0\u3084\u7ba1\u7406\u306a\u3069\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\r\n<h3><b>\uff12\uff1aVirtual Box\u306e\u5229\u7528\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/b><\/h3>\r\n<p><b>Virtual Box\u3068\u306f\uff1f<\/b><\/p>\r\n<ul>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u65e2\u5b58\u306e OS \u306e\u4e0a\u306b\u4eee\u60f3\u306e PC \u74b0\u5883\u3092\u4f5c\u3063\u3066 OS \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u52d5\u4f5c\u3055\u305b\u3089\u308c\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3002<\/span><\/li>\r\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Mac \u3084 Windows \u4e0a\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066 Linux \u3092\u74b0\u5883\u69cb\u7bc9\u3067\u304d\u308b<\/span>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f<a href=\"https:\/\/pc-karuma.net\/mac-virtualbox-install\/\">\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u69d8<\/a>\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002<\/li>\r\n<\/ul>\r\n<h3><b>\uff13\uff1aCentOS7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/b><\/h3>\r\n<p>CentOS\u3068\u306f\uff1f Linux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3(\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u3092\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3057\u3066\u3059\u3050\u306b\u4f7f\u3048\u308b\u72b6\u614b\u306b\u3057\u305f\u3082\u306e)\u306e\u4e00\u7a2e Red Hat Enterprise Linux(RHEL)\u7cfb\u7d71\u306eOS \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f<a href=\"https:\/\/eng-entrance.com\/linux-centos-install\">\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u69d8<\/a>\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\r\n<h3><b>4:\u77e5\u8b58\uff1a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5f79\u5272 \u306b\u3064\u3044\u3066<\/b><\/h3>\r\n<pre><span style=\"font-weight: 400;\">\u30fb<\/span><b>\/ (\u30eb\u30fc\u30c8) <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u9802\u70b9\u306b\u3042\u305f\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<br \/><br \/><\/span><b>\/etc<\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb \u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u7528\u30fb\u5404\u7a2e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58<br \/><\/span><b><br \/>\/boot <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fbroot\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<br \/><\/span><b><br \/>\/var <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb \u30b7\u30b9\u30c6\u30e0\u904b\u7528\u4e2d\u306b\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5909\u5316\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58<br \/><\/span><b><br \/>\/log <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u30b7\u30b9\u30c6\u30e0\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58<br \/><\/span><b><br \/>\/bin\u3000 <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3001\u7ba1\u7406\u8005\u304c\u4f7f\u7528\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\">\u00a0<br \/><\/span><b><br \/>\/dev <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u30c7\u30d0\u30a4\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58<br \/><\/span><b><br \/>\/usr(\u30e6\u30fc\u30b6\u30fc) <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u30e6\u30fc\u30b6\u30fc\u304c\u5171\u6709\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3002\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u30b3\u30de\u30f3\u30c9\u306a\u3069\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002\u00a0<\/span> <span style=\"font-weight: 400;\">\u3000<br \/><\/span><b><br \/>\/bin <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3001\u7ba1\u7406\u8005\u304c\u4f7f\u7528\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002\u00a0<br \/><\/span><b><br \/>\/home <\/b><span style=\"font-weight: 400;\">\u30fb\u30fb\u30fb\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002\u00a0<\/span><\/pre>\r\n<p><a href=\"https:\/\/suzutukiblog.com\/index.php\/2020\/05\/08\/lamp2\/\"><span style=\"font-weight: 400;\">2\u306b\u7d9a\u304f<\/span><\/a><\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>0\uff1a\u306a\u305c\u4f5c\u6210\u3057\u305f\u306e\u304b\uff1f Linux\u6a19\u6e96\u6559\u79d1\u66f8\u3067\u5b66\u3093\u3060\u3053\u3068\u3092\u5fdc\u7528\u3057\u3066\u5b9f\u969b\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u30d6\u30ed\u30b0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3067\u304d\u3066\u5b66\u7fd2\u306e\u52b9\u7387\u3092\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002 \u30d6\u30ed\u30b0\u3067\u3001\u4ed6\u306e\u5b66\u7fd2\u306e\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u304c\u3067\u304d\u308b\u3002 Linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7,27],"tags":[],"class_list":["post-3816","post","type-post","status-publish","format-standard","hentry","category-lamp","category-programming-note"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/3816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=3816"}],"version-history":[{"count":6,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/3816\/revisions"}],"predecessor-version":[{"id":3949,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/3816\/revisions\/3949"}],"wp:attachment":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=3816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=3816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=3816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}