{"id":7485,"date":"2019-08-22T10:00:05","date_gmt":"2019-08-22T01:00:05","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=7485"},"modified":"2019-08-20T13:02:33","modified_gmt":"2019-08-20T04:02:33","slug":"%e4%bb%ae%e6%83%b3%e7%92%b0%e5%a2%83%e3%81%aelinux%e4%b8%8a%e3%81%aehttpd%e3%81%abpc%e3%82%84%e3%82%b9%e3%83%9e%e3%83%9b%e3%81%ae%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%8b%e3%82%89%e3%82%a2","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/7485","title":{"rendered":"\u4eee\u60f3\u74b0\u5883\u306eLinux\u4e0a\u306ehttpd\u306bPC\u3084\u30b9\u30de\u30db\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b"},"content":{"rendered":"\n<p>\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306eLAMP\u74b0\u5883\u3078\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u969b\u306e\u7df4\u7fd2\u3067\u3001Windows\u306e\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306e\u4eee\u60f3\u74b0\u5883\u306bLinux\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u304a\u3053\u306a\u3044\u52d5\u4f5c\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u4eca\u56de\u306f\u4eee\u60f3\u74b0\u5883\u306eLinux\u4e0a\u306bhttpd(Apache HTTP Server)\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u304a\u3053\u306a\u3044\u3001\u540c\u3058LAN\u5185\u306ePC\u3084\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u3001Linux\u306ehttpd\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u624b\u9806\u306e\u8aac\u660e\u3092\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3>\u52d5\u4f5c\u78ba\u8a8d\u74b0\u5883<\/h3>\n\n\n\n<p>OS\uff1aWindows10(64bit)<br> \u4eee\u60f3\u74b0\u5883\uff1aVirtualBox + CentOS7(64bit)<\/p>\n\n\n\n<h3>\u516c\u5f0f\u30b5\u30a4\u30c8<\/h3>\n\n\n\n<p>VirtualBox<br> <a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.virtualbox.org\/ (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">https:\/\/www.virtualbox.org\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"750\" height=\"431\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/vb-top.png\" alt=\"\" class=\"wp-image-7489\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>CentOS<br> <a rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.centos.org\/ (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/www.centos.org\/\" target=\"_blank\">https:\/\/www.centos.org\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"796\" height=\"444\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/centtop.png\" alt=\"\" class=\"wp-image-7492\"\/><\/figure>\n\n\n\n<h3>VirtualBox\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>\u4e0a\u8a18\u306eVirtualBox\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089 VirtualBox \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u304a\u3053\u306a\u3044\u3001\u753b\u9762\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3>VirtualBox\u3078\u306eCentOS7(64bit)\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>\u3053\u3061\u3089\u3082\u57fa\u672c\u7684\u306b\u753b\u9762\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3059\u3059\u3081\u3066\u3044\u3051\u3070OK\u3067\u3059\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u969b\u306e\u8a2d\u5b9a\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u70b9\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u4ee5\u4e0b\u306b\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30fbCentOS7(64bit)\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u4f5c\u6210\u6642\u306bOS\u306e\u30bf\u30a4\u30d7\u3068\u30d0\u30fc\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br> \u30bf\u30a4\u30d7\u306f\u300cLinux\u300d\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u300cRedHat(64bit)\u300d\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br> \u540d\u524d\u306f\u81ea\u7531\u306b\u6c7a\u3081\u3066OK\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"405\" height=\"377\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/cent1.png\" alt=\"\" class=\"wp-image-7493\"\/><\/figure>\n\n\n\n<p>\u30fbCentOS7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u300c\u8a2d\u5b9a\u300d\u306b\u3066\u300c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u300d\u306e\u300c\u5272\u308a\u5f53\u3066\u300d\u3092\u300c\u30d6\u30ea\u30c3\u30b8\u30a2\u30c0\u30d7\u30bf\u30fc\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<br> \u203b\u521d\u671f\u5024\u3067\u306f\u300cNAT\u300d\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u300cNAT\u300d\u306e\u5834\u5408\u3001\u30db\u30b9\u30c8OS\u304c\u30eb\u30fc\u30bf\u30fc\u306e\u3088\u3046\u306a\u6319\u52d5(\u30db\u30b9\u30c8OS\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308bIP\u304c\u30eb\u30fc\u30bf\u30fc\u3067\u3044\u3046\u3068\u3053\u308d\u306e\u30b0\u30ed\u30fc\u30d0\u30ebIP\u3001\u30b2\u30b9\u30c8OS\u306b\u306f\u65b0\u3057\u3044\u30bb\u30b0\u30e1\u30f3\u30c8\u306e\u30ed\u30fc\u30ab\u30ebIP\u3092\u5272\u308a\u5f53\u3066\u308b\u3088\u3046\u306a\u6319\u52d5\uff09\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<br> \u3053\u306e\u90e8\u5206\u3092\u300c\u30d6\u30ea\u30c3\u30b8\u30a2\u30c0\u30d7\u30bf\u30fc\u300d\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u30b2\u30b9\u30c8OS\u306b\u3082\u30db\u30b9\u30c8OS\u3068\u540c\u3058\u30bb\u30b0\u30e1\u30f3\u30c8\u4e0a\u306eIP\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308b\u305f\u3081\u3001\u540c\u4e00LAN\u5185\u3067\u81ea\u7531\u306b\u901a\u4fe1\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br> \u4eca\u56de\u306e\u691c\u8a3c\u3067\u306f\u540c\u4e00LAN\u5185\u306ePC\u3084\u30b9\u30de\u30db\u304b\u3089\u3001\u4eee\u60f3\u74b0\u5883\u306eLinux\u4e0a\u306ehttpd\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u300c\u30d6\u30ea\u30c3\u30b8\u30a2\u30c0\u30d7\u30bf\u30fc\u300d\u306b\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"774\" height=\"487\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/cent2.png\" alt=\"\" class=\"wp-image-7497\"\/><\/figure>\n\n\n\n<p>\u30fb\u4eee\u60f3OS\u3092\u306f\u3058\u3081\u3066\u8d77\u52d5\u3059\u308b\u3068\u3001\u300c\u8d77\u52d5\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u9078\u629e\u300d\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br> \u3053\u3053\u3067\u306f\u4e0a\u8a18\u306eCentOS\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528DVD-ROM\u306eISO\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"317\" height=\"298\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/cent3.png\" alt=\"\" class=\"wp-image-7498\"\/><\/figure>\n\n\n\n<p>\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u9014\u4e2d\u306b\u300c\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u9078\u629e\u300d\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br> \u300c\u30b5\u30fc\u30d0\u30fc(GUI\u4f7f\u7528)\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3044\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"801\" height=\"562\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/cent4.png\" alt=\"\" class=\"wp-image-7499\"\/><\/figure>\n\n\n\n<p>\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u9014\u4e2d\u306b\u300c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u30db\u30b9\u30c8\u540d\u300d\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br> \u300cEthernet(enp0s3)\u300d\u3092\u300c\u30aa\u30f3\u300d\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br> \u307e\u305f\u3053\u306e\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u300cIP\u30a2\u30c9\u30ec\u30b9\u300d\u306f\u540c\u4e00LAN\u5185\u306ePC\u3084<br> \u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089Linux\u306ehttpd\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u306b\u5fc5\u8981\u3067\u3059\u306e\u3067<br> \u30e1\u30e2(\u203b1)\u3092\u3068\u3063\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u4eca\u56de\u306e\u4f8b\u306e\u5834\u5408\u3001IP\u30a2\u30c9\u30ec\u30b9\u306f<br> \u4e0b\u56f3\u306e\u901a\u308a\u300c192.168.0.155\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"800\" height=\"570\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/centip.png\" alt=\"\" class=\"wp-image-7500\"\/><\/figure>\n\n\n\n<h3>CentOS7\u3078\u306ehttpd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>CentOS7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u8d77\u52d5\u3092\u304a\u3053\u306a\u3044\u3001root\u6a29\u9650\u3067\u300c\u7aef\u672b\u300d\u3092\u958b\u304d\u307e\u3059\u3002<br> httpd(Apache HTTP Server)\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u304a\u3053\u306a\u3046\u306b\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install httpd<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"801\" height=\"462\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/install_httpd.png\" alt=\"\" class=\"wp-image-7505\"\/><\/figure>\n\n\n\n<p>httpd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067httpd\u306e\u8d77\u52d5\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl start httpd.service<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"795\" height=\"477\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/start_httpd_serv.png\" alt=\"\" class=\"wp-image-7506\"\/><\/figure>\n\n\n\n<h3>PC\u3084\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089\u306e\u63a5\u7d9a\u78ba\u8a8d<\/h3>\n\n\n\n<p>httpd\u304c\u8d77\u52d5\u3057\u305f\u3089\u3001(\u203b1)\u3067\u30e1\u30e2\u3092\u3068\u3063\u305fIP\u30a2\u30c9\u30ec\u30b9\uff08\u4eca\u56de\u306e\u4f8b\u306e\u5834\u5408\u300c192.168.0.155\u300d\uff09\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u5165\u529b\u3092\u304a\u3053\u306a\u3044\u3001\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u304b\u78ba\u304b\u3081\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306fCentOS\u306b\u30d7\u30ea\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d6\u30e9\u30a6\u30b6\u300cFirefox\u300d\u3092\u8d77\u52d5\u3057\u3066<br> \u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u304b\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"801\" height=\"573\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/cent_access.png\" alt=\"\" class=\"wp-image-7508\"\/><\/figure>\n\n\n\n<p>\u7121\u4e8b\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u5225\u306ePC\u3084\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"553\" height=\"635\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/win_ng.png\" alt=\"\" class=\"wp-image-7509\"\/><\/figure>\n\n\n\n<p>\u5225\u306ePC\u304b\u3089\u3060\u3068\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br> \u539f\u56e0\u306f\u3001CentOS7\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067firewalld(\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30b5\u30fc\u30d3\u30b9)\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30dd\u30fc\u30c8\u304c\u585e\u304c\u308c\u3066\u3044\u305f\u304b\u3089\u3067\u3059\u3002<br> \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3066http\u901a\u4fe1\u306b\u5fc5\u8981\u306a\u30dd\u30fc\u30c880\u756a\u3092\u958b\u653e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>firewall-cmd --zone=public --add-service=http<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"602\" height=\"60\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/fw_port80.png\" alt=\"\" class=\"wp-image-7510\"\/><\/figure>\n\n\n\n<p>\u4e0a\u56f3\u306e\u3088\u3046\u306b\u300csuccess\u300d\u3068\u8868\u793a\u3055\u308c\u308c\u3070\u300180\u756a\u306e\u30dd\u30fc\u30c8\u958b\u653e\u304c\u5b8c\u4e86\u3067\u3059\u3002<br> \u3042\u3089\u305f\u3081\u3066\u5225\u306ePC\u3084\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>PC(Windows10)\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"728\" height=\"641\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/windows_access.png\" alt=\"\" class=\"wp-image-7511\"\/><\/figure>\n\n\n\n<p>\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3(Android9)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"508\" height=\"1024\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/sp_access-508x1024.png\" alt=\"\" class=\"wp-image-7512\" srcset=\"https:\/\/www.gigas-jp.com\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/sp_access-508x1024.png 508w, https:\/\/www.gigas-jp.com\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/sp_access.png 1078w\" sizes=\"(max-width: 508px) 100vw, 508px\" \/><\/figure>\n\n\n\n<p>\u7121\u4e8b\u306b\u30a2\u30af\u30bb\u30b9\u3092\u304a\u3053\u306a\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3>IP\u30a2\u30c9\u30ec\u30b9\u3092\u56fa\u5b9a\u3059\u308b\u65b9\u6cd5<\/h3>\n\n\n\n<p>\u4e0a\u8a18\u306e\u65b9\u6cd5\u3067\u306fDHCP\u306b\u3088\u308a\u81ea\u52d5\u7684\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305fIP\u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u304c\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u56fa\u5b9a\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u73fe\u72b6\u306e\u30db\u30b9\u30c8OS\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u304c\u3069\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d(\u203b2)\u3092\u3057\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u5f8c\u8ff0\u3059\u308bLinux\u3067\u306e\u8a2d\u5b9a\u306e\u969b\u306b\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"464\" height=\"513\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2019\/08\/windows_network_config.png\" alt=\"\" class=\"wp-image-7513\"\/><\/figure>\n\n\n\n<p>Linux\u3067IP\u30a2\u30c9\u30ec\u30b9\u3092\u56fa\u5b9a\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb(XXXX\u306e\u90e8\u5206\u306f\u74b0\u5883\u306b\u3088\u308a\u7570\u306a\u308a\u307e\u3059)\u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3044\u3066\u7de8\u96c6\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30fb\u7de8\u96c6\u3059\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<br> \/etc\/sysconfig\/network-scripts\/ifcfg-XXXX<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>TYPE=Ethernet\nPROXY_METHOD=none\nBROWSER_ONLY=no\nBOOTPROTO=dhcp\nDEFROUTE=yes\nIPV4_FAILURE_FATAL=no\nIPV6INIT=yes\nIPV6_AUTOCONF=yes\nIPV6_DEFROUTE=yes\nIPV6_FAILURE_FATAL=no\nIPV6_ADDR_GEN_MODE=stable-privacy\nNAME=XXXX\nUUID=XXXX-XXXX-XXXX-XXXX\nDEVICE=XXXX\nONBOOT=no<\/code><\/pre>\n\n\n\n<p>\u4ee5\u4e0a\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>TYPE=Ethernet\nPROXY_METHOD=none\nBROWSER_ONLY=no\nBOOTPROTO=static\nDEFROUTE=yes\nIPV4_FAILURE_FATAL=no\nIPV6INIT=yes\nIPV6_AUTOCONF=yes\nIPV6_DEFROUTE=yes\nIPV6_FAILURE_FATAL=no\nIPV6_ADDR_GEN_MODE=stable-privacy\nNAME=XXXX\nUUID=XXXX-XXXX-XXXX-XXXX\nDEVICE=XXXX\nONBOOT=yes\nIPV6_PRIVACY=no\nDNS1=192.168.0.2\nDNS2=192.168.0.1\nIPADDR=192.168.0.XXX(\u4efb\u610f\u306e\u5024\u306b\u8a2d\u5b9a\u3059\u308b)\nNETMASK=255.255.255.0\nGATEWAY=192.168.0.2<\/code><\/pre>\n\n\n\n<p>\u5909\u66f4\u7b87\u6240\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<br>\n\u30fb\u300cBOOTPROTO\u300d\u3092\u300cdhcp\u300d\u304b\u3089\u300cstatic\u300d\u306b\u5909\u66f4\u3059\u308b\u3002<br>\n\u30fb\u300cONBOOT\u300d\u3092\u300cno\u300d\u304b\u3089\u300cyes\u300d\u306b\u5909\u66f4\u3059\u308b\u3002<br>\n\u30fb\u300cDNS1\u300d\u3092\u65b0\u898f\u8ffd\u52a0\u3059\u308b\u3002\u5024\u306f(\u203b2)\u3067\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3063\u305f\u30db\u30b9\u30c8OS\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u306e\u300c\u512a\u5148DNS\u30b5\u30fc\u30d0\u30fc\u300d\u3068\u540c\u3058\u5024\u306b\u3059\u308b\u3002<br>\n\u30fb\u300cDNS2\u300d\u3092\u65b0\u898f\u8ffd\u52a0\u3059\u308b\u3002\u5024\u306f(\u203b2)\u3067\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3063\u305f\u30db\u30b9\u30c8OS\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u306e\u300c\u4ee3\u66ffDNS\u30b5\u30fc\u30d0\u30fc\u300d\u3068\u540c\u3058\u5024\u306b\u3059\u308b\u3002<br>\n\u30fb\u300cIPADDR\u300d\u3092\u65b0\u898f\u8ffd\u52a0\u3059\u308b\u3002XXX\u90e8\u5206\u3092\u4efb\u610f\u306e\u5024\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\n\u30fb\u300cNETMASK\u300d\u3092\u65b0\u898f\u8ffd\u52a0\u3059\u308b\u3002\u5024\u306f(\u203b2)\u3067\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3063\u305f\u30db\u30b9\u30c8OS\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u306e\u300c\u30b5\u30d6\u30cd\u30c3\u30c8\u30de\u30b9\u30af\u300d\u3068\u540c\u3058\u5024\u306b\u3059\u308b\u3002<br>\n\u30fb\u300cGATEWAY\u300d\u3092\u65b0\u898f\u8ffd\u52a0\u3059\u308b\u3002\u5024\u306f(\u203b2)\u3067\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3063\u305f\u30db\u30b9\u30c8OS\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u306e\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u300d\u3068\u540c\u3058\u5024\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3001\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3067\u3059\u3002<br> \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u56fa\u5b9aIP\u306e\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart network<\/code><\/pre>\n\n\n\n<p>\u6728\u66dc\u65e5\u62c5\u5f53\uff1anishida<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/7485\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/7485\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"\u4eee\u60f3\u74b0\u5883\u306eLinux\u4e0a\u306ehttpd\u306bPC\u3084\u30b9\u30de\u30db\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/7485\" data-text=\"\u4eee\u60f3\u74b0\u5883\u306eLinux\u4e0a\u306ehttpd\u306bPC\u3084\u30b9\u30de\u30db\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/7485\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/7485\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306eLAMP\u74b0\u5883\u3078\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u969b\u306e\u7df4\u7fd2\u3067\u3001Windows\u306e\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306e\u4eee\u60f3\u74b0\u5883\u306bLinux\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u304a\u3053\u306a\u3044\u52d5\u4f5c\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[72,90,35,58],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/7485"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=7485"}],"version-history":[{"count":18,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/7485\/revisions"}],"predecessor-version":[{"id":7528,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/7485\/revisions\/7528"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=7485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=7485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=7485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}