{"id":5970,"date":"2016-10-14T17:41:06","date_gmt":"2016-10-14T08:41:06","guid":{"rendered":"http:\/\/www.ekbt.net\/blog\/?p=5970"},"modified":"2024-05-27T13:18:55","modified_gmt":"2024-05-27T04:18:55","slug":"bash-on-ubuntu-on-windows","status":"publish","type":"post","link":"https:\/\/ekbt.info\/?p=5970","title":{"rendered":"Bash on Ubuntu on Windows"},"content":{"rendered":"<p>Bash on Ubuntu on Windows\u3053\u308c\u306f\u3001Windows\u3067\u30cd\u30a4\u30c6\u30a3\u30d6\u306bLinux\u304c\u8d70\u308b\u3068\u3044\u3046\u3082\u306e\u3001\u4eee\u60f3\u74b0\u5883\u3088\u308a\u3082\u65e9\u3044\u3089\u3057\u3044\u3002\u3057\u304b\u3057\u305d\u306e\u540d\u306e\u901a\u308aGUI\u306f\u306a\u304f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u307f\u3089\u3057\u3044\u3002<br \/>\n\u3057\u304b\u3057\u8a66\u3057\u3066\u307f\u305f\u3044\u306e\u3067\u3001\u3084\u3063\u3066\u307f\u305f\u3002\u52d5\u304b\u3059\u305f\u3081\u306e\u8a2d\u5b9a\u304c\u7d50\u69cb\u3084\u3084\u3053\u3057\u3044\u3002\u307e\u305a\u958b\u767a\u8005\u30e2\u30fc\u30c9\u306b\u3057\u3066\u3001<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu01-1024x798.jpg\" alt=\"\" class=\"aligncenter size-large wp-image-8561\" width=\"474\" height=\"369\"><\/a><br \/>\n\u518d\u8d77\u52d5<br \/>\nWindows\u306e\u6a5f\u80fd\u3067Windows Subsystem for Linux(Bata)\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu03-1024x577.jpg\" alt=\"\" class=\"aligncenter size-large wp-image-8556\" width=\"474\" height=\"267\"><\/a><br \/>\n\u518d\u8d77\u52d5<br \/>\n\u3055\u3089\u306b\u7ba1\u7406\u8005\u30e2\u30fc\u30c9\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089bash\u3068\u6253\u3064\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u59cb\u307e\u308b\u3002\uff59\u3092\u62bc\u3057\u3066\u7d9a\u3051\u308b<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu08.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu08.jpg\" alt=\"\" class=\"aligncenter size-full wp-image-8558\" width=\"979\" height=\"512\"><\/a><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u308b\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u306b\u306a\u308b\u3002<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu09.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu09.jpg\" alt=\"\" class=\"aligncenter size-full wp-image-8559\" width=\"981\" height=\"514\"><\/a><\/p>\n<p>\u4e00\u65e6\u3001exit\u30b3\u30de\u30f3\u30c9\u3067\u7d42\u4e86\u3059\u308b\u3002<br \/>\n\u3059\u308b\u3068\u3001\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u306bUbuntu\u306e\u30de\u30fc\u30af\u304c\u51fa\u3066\u3001\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/bashonUbuntu-01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/bashonUbuntu-01-1024x768.jpg\" alt=\"\" class=\"aligncenter size-large wp-image-8555\" width=\"474\" height=\"356\"><\/a><\/p>\n<p>Ubuntu\u306f14.04.5 LTS\u306e\u3088\u3046\u3060\u3002<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu11.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu11.jpg\" alt=\"\" class=\"aligncenter size-full wp-image-8562\" width=\"979\" height=\"512\"><\/a><\/p>\n<p>apt-get update\u3084apt-get upgrade\u306a\u3069\u3082\u666e\u901a\u306b\u3067\u304d\u308b\u3002<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu12.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/win10-ubu12.jpg\" alt=\"\" class=\"aligncenter size-full wp-image-8563\" width=\"981\" height=\"513\"><\/a><\/p>\n<p>\u8a66\u3057\u306bApache\u3092\u5165\u308c\u3066\u307f\u305f\u3089\u3001<br \/>\nsudo apt-get install apache2<br \/>\n<a href=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/bashonUbuntu-02-1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekbt.info\/ekbtdat\/uploads\/2016\/10\/bashonUbuntu-02-1-1024x696.jpg\" alt=\"\" class=\"aligncenter size-large wp-image-8564\" width=\"474\" height=\"322\"><\/a><\/p>\n<p>\u306a\u3093\u306a\u304f\u52d5\u3044\u305f\u3002<br \/>\nsudo service apache2 start<br \/>\n\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3001Windows\u5074\u306e\u30d6\u30e9\u30a6\u30b6\u30fc\u3067localhost\u3068\u6253\u3064\u3068\u3001Apache\u306e\u521d\u671f\u753b\u9762\u304c\u51fa\u308b\u3002<br \/>\n\u3053\u308c\u306f\u306a\u304b\u306a\u304b\u3088\u3044\uff01\uff01\u3053\u308c\u3067C\u8a00\u8a9e\u306a\u3069\u8272\u3005\u3044\u3058\u304f\u3063\u3066\u307f\u3088\u3046\u3002PHP\u306e\u30c6\u30b9\u30c8\u30e9\u30f3\u306a\u3069\u306b\u3082\u4f7f\u3048\u305d\u3046\u3060\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bash on Ubuntu on Windows\u3053\u308c\u306f\u3001Windows\u3067\u30cd\u30a4\u30c6\u30a3\u30d6\u306bLinux\u304c\u8d70\u308b\u3068\u3044\u3046\u3082\u306e\u3001\u4eee\u60f3\u74b0\u5883\u3088\u308a\u3082\u65e9\u3044\u3089\u3057\u3044\u3002\u3057\u304b\u3057\u305d\u306e\u540d\u306e\u901a\u308aGUI\u306f\u306a\u304f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u307f\u3089\u3057\u3044\u3002 \u3057\u304b\u3057\u8a66\u3057\u3066\u307f\u305f\u3044\u306e\u3067 &hellip; <a href=\"https:\/\/ekbt.info\/?p=5970\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Bash on Ubuntu on Windows&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":14446,"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":[98,102,130],"class_list":["post-5970","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-win-pc-web","tag-linux","tag-ubuntu","tag-windows10"],"_links":{"self":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/5970","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=5970"}],"version-history":[{"count":1,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/5970\/revisions"}],"predecessor-version":[{"id":19510,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/5970\/revisions\/19510"}],"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=5970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}