{"id":16234,"date":"2020-03-19T11:12:12","date_gmt":"2020-03-19T02:12:12","guid":{"rendered":"https:\/\/www.ekbt.work\/?p=16234"},"modified":"2024-05-19T07:29:36","modified_gmt":"2024-05-18T22:29:36","slug":"samba%e3%81%a7nas-%e8%a3%9c%e8%b6%b32","status":"publish","type":"post","link":"https:\/\/ekbt.info\/?p=16234","title":{"rendered":"samba\u3067NAS-\u88dc\u8db32"},"content":{"rendered":"<p>\u305d\u306e\uff19\u56de\u76ee\u3002\u88dc\u8db3\u305d\u306e\uff12<\/p>\n<p>NAS\u52d5\u4f5c\u78ba\u8a8d\u7528web\u30b5\u30fc\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3001\u65e5\u3005\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3002<\/p>\n<p>VNC\u3067NAS\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u304c\u3001web\u30b5\u30fc\u30d0\u3092\u52d5\u4f5c\u3055\u305b\u3066\u304a\u304f\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u7c21\u5358\u306bNAS\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002\u305d\u3053\u3067web\u30b5\u30fc\u30d0\u3092\u5165\u308c\u3066\u304a\u304f\u3002<\/p>\n<p>yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>[root@centos7 fummy]# yum install httpd<br \/>\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror, langpacks<br \/>\nLoading mirror speeds from cached hostfile<br \/>\n* base: ftp.riken.jp<br \/>\n* extras: ftp.riken.jp<br \/>\n* updates: ftp.riken.jp<br \/>\n\u4f9d\u5b58\u6027\u306e\u89e3\u6c7a\u3092\u3057\u3066\u3044\u307e\u3059<br \/>\n&#8211;&gt; \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n&#8212;&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 httpd.x86_64 0:2.4.6-90.el7.centos \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d\u3000\u4e2d\u7565\u3000\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d<\/p>\n<p>\u7dcf\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5bb9\u91cf: 2.8 M<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5bb9\u91cf: 9.6 M<br \/>\nIs this ok [y\/d\/N]: y<br \/>\nDownloading packages:<br \/>\n(1\/3): mailcap-2.1.41-2.el7.noarch.rpm | 31 kB 00:00<br \/>\n(2\/3): httpd-tools-2.4.6-90.el7.centos.x86_64.rpm | 91 kB 00:00<br \/>\n(3\/3): httpd-2.4.6-90.el7.centos.x86_64.rpm | 2.7 MB 00:02<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n\u5408\u8a08 1.1 MB\/s | 2.8 MB 00:02<\/p>\n<p>\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d\u3000\u4e2d\u7565\u3000\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:<br \/>\nhttpd.x86_64 0:2.4.6-90.el7.centos<\/p>\n<p>\u4f9d\u5b58\u6027\u95a2\u9023\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f:<br \/>\nhttpd-tools.x86_64 0:2.4.6-90.el7.centos mailcap.noarch 0:2.1.41-2.el7<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001web\u30b5\u30fc\u30d0\u3092\u30b9\u30bf\u30fc\u30c8\u3055\u305b\u308b\u3002<\/p>\n<p>[root@centos7 fummy]# systemctl start httpd<\/p>\n<p>web\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u5f8c\u3082\u5e38\u306b\u5b9f\u884c<\/p>\n<p>[root@centos7 fummy]# systemctl enable httpd<br \/>\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service to \/usr\/lib\/systemd\/system\/httpd.service.<\/p>\n<p>WindowsPC\u3067\u30d6\u30e9\u30a6\u30b6\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u3001CentOS7\u306eNAS\u306e\u56fa\u5b9aip\u3092\u5165\u529b\u3057\u3066\u307f\u308b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16235 size-full\" src=\"https:\/\/www.ekbt.info\/wp-content\/uploads\/2020\/03\/httpd-testfromedge01.jpg\" alt=\"\" width=\"1366\" height=\"728\" \/><\/p>\n<p>\u4e0a\u8a18\u3001web\u30b5\u30fc\u30d0\u306e\u30c6\u30b9\u30c8\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001web\u30b5\u30fc\u30d0\uff08httpd\u3001Apache\uff09\u304c\u6b63\u5e38\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3002\u3082\u3061\u308d\u3093CentOS7\u306eNAS\u3082\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u3066\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002<\/p>\n<p>\u3055\u3066\u3001\u65e5\u3005\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3068\u3057\u3066\u3001CentOS7\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u3042\u308b\u3002\u6708\u306b\u6570\u56de\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3001yum update\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u4f5c\u696d\u3092\u884c\u3046\u3002<\/p>\n<p>[root@centos7 fummy]# yum update<br \/>\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror, langpacks<br \/>\nLoading mirror speeds from cached hostfile<br \/>\n* base: ftp.riken.jp<br \/>\n* extras: ftp.riken.jp<br \/>\n* updates: ty1.mirror.newmediaexpress.com<br \/>\nbase | 3.6 kB 00:00<br \/>\nextras | 2.9 kB 00:00<br \/>\nupdates | 2.9 kB 00:00<br \/>\nupdates\/7\/x86_64\/primary_db | 7.5 MB 00:03<br \/>\n\u4f9d\u5b58\u6027\u306e\u89e3\u6c7a\u3092\u3057\u3066\u3044\u307e\u3059<br \/>\n&#8211;&gt; \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n&#8212;&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 augeas-libs.x86_64 0:1.4.0-9.el7 \u3092 \u66f4\u65b0<br \/>\n&#8212;&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 augeas-libs.x86_64 0:1.4.0-9.el7_7.1 \u3092 \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<br \/>\n&#8212;&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 binutils.x86_64 0:2.27-41.base.el7_7.2 \u3092 \u66f4\u65b0<\/p>\n<p>\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d\u3000\u4e2d\u7565\u3000\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d<\/p>\n<p>python-firewall.noarch 0:0.6.3-2.el7_7.4<br \/>\npython-libipa_hbac.x86_64 0:1.16.4-21.el7_7.3<br \/>\npython-perf.x86_64 0:3.10.0-1062.18.1.el7<br \/>\npython-requests.noarch 0:2.6.0-9.el7_7<br \/>\npython-sss-murmur.x86_64 0:1.16.4-21.el7_7.3<br \/>\npython-sssdconfig.noarch 0:1.16.4-21.el7_7.3<br \/>\nrsyslog.x86_64 0:8.24.0-41.el7_7.4<br \/>\nsos.noarch 0:3.7-11.el7.centos<br \/>\nsssd.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-ad.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-client.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-common.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-common-pac.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-ipa.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-krb5.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-krb5-common.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-ldap.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsssd-proxy.x86_64 0:1.16.4-21.el7_7.3<br \/>\nsysstat.x86_64 0:10.1.5-18.el7_7.1<br \/>\nsystemd.x86_64 0:219-67.el7_7.4<br \/>\nsystemd-libs.x86_64 0:219-67.el7_7.4<br \/>\nsystemd-python.x86_64 0:219-67.el7_7.4<br \/>\nsystemd-sysv.x86_64 0:219-67.el7_7.4<\/p>\n<p>\u5b8c\u4e86\u3057\u307e\u3057\u305f!<\/p>\n<p>Linux\u306ekernel\u81ea\u4f53\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u6642\u306f\u518d\u8d77\u52d5\u3092\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u3088\u3044\u3002\u305d\u306e\u4ed6\u306e\u5834\u5408\u306f\u7279\u306b\u305d\u306e\u307e\u307e\u4f7f\u3044\u7d9a\u3051\u3066\u3082\u3044\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u305d\u306e\uff19\u56de\u76ee\u3002\u88dc\u8db3\u305d\u306e\uff12 NAS\u52d5\u4f5c\u78ba\u8a8d\u7528web\u30b5\u30fc\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3001\u65e5\u3005\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3002 VNC\u3067NAS\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u304c\u3001web\u30b5\u30fc\u30d0\u3092\u52d5\u4f5c\u3055\u305b\u3066\u304a\u304f\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u7c21\u5358\u306bNAS\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002\u305d\u3053\u3067web\u30b5\u30fc &hellip; <a href=\"https:\/\/ekbt.info\/?p=16234\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;samba\u3067NAS-\u88dc\u8db32&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":14194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[139,10],"tags":[433,487,488,517,98,151,518,519,520,521],"class_list":["post-16234","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-win-pc-web","tag-apache","tag-centos","tag-centos7","tag-httpd","tag-linux","tag-nas","tag-web","tag-webserver","tag-yum","tag-yum-update"],"_links":{"self":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/16234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16234"}],"version-history":[{"count":2,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/16234\/revisions"}],"predecessor-version":[{"id":18816,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/16234\/revisions\/18816"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}