{"id":29,"date":"2024-12-15T07:28:18","date_gmt":"2024-12-14T22:28:18","guid":{"rendered":"https:\/\/www.c-mash.co.jp\/?page_id=29"},"modified":"2024-12-24T07:21:17","modified_gmt":"2024-12-23T22:21:17","slug":"ubuntu-server-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"page","link":"https:\/\/www.c-mash.co.jp\/?page_id=29","title":{"rendered":"Ubuntu Server \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p><a href=\"https:\/\/jp.ubuntu.com\/download\">https:\/\/jp.ubuntu.com\/download<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"659\" height=\"529\" src=\"https:\/\/www.c-mash.co.jp\/wp-content\/uploads\/2024\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-12-15-6.58.41.jpg\" alt=\"\" class=\"wp-image-28\"\/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<p>\u6b21\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30c7\u30a3\u30a2\u3092\u5236\u4f5c\u3059\u308b\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/timesaving.hatenablog.com\/entry\/2023\/04\/01\/150000\">macOS\u3067Ubuntu\u306e\u30a4\u30f3\u30c8\u30fc\u30ebUSB\u306e\u4f5c\u6210\u624b\u9806<\/a><\/p>\n\n\n\n<p>1.USB\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3092Mac\u306eUSB\u30dd\u30fc\u30c8\u306b\u633f\u3057\u3066<code>diskutil list<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u5bfe\u8c61\u306e\u30c9\u30e9\u30a4\u30d6\u3092\u78ba\u8a8d<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ diskutil list<br>\/dev\/disk0 (internal):<br><br>   \u7565<br><br>\/dev\/disk1 (synthesized):<br>   \u7565<br><br>\/dev\/disk2 (external, physical):<br>   #:               TYPE NAME         SIZE     \u3000IDENTIFIER<br>   0:               NO NAME           *8.1 GB   \u3000disk2<\/pre>\n\n\n\n<p>2.\u4eca\u56de\u4f5c\u696d\u3092\u884c\u3046\u306eUSB\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306f \/dev\/disk2(external\u3068physical) \u306a\u306e\u3067\u3001\u3053\u308c\u3092\u521d\u671f\u5316<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ diskutil eraseDisk MS-DOS MYDISK \/dev\/disk2\n\nStarted erase on disk2 NO NAME\n\n   \u7565\n\nFinished erase on disk2\n\u30de\u30a6\u30f3\u30c8\u3092\u89e3\u9664\n$ diskutil unmountDisk \/dev\/disk2\nUnmount of all volumes on disk2 was successful\n4.dd\u30b3\u30de\u30f3\u30c9\u3067USB\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306biso\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\nsudo dd if=.\/ubuntu-20.04.2.0-desktop-amd64.iso of=\/dev\/disk2 bs=1m\n$ diskutil eject \/dev\/disk2<\/code><\/pre>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>ubuntu@localhost:~$<\/p>\n\n\n\n<p><a href=\"https:\/\/www.server-world.info\/command\/html\/sudo.html\">sudo<\/a><a href=\"https:\/\/www.server-world.info\/command\/html\/passwd.html\">passwd<\/a> root<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[sudo] password for ubuntu:   # \u81ea\u8eab\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\nNew password:                 # root \u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\nRetype new password:          # \u78ba\u8a8d\u518d\u5165\u529b\npasswd: password updated successfully\n\n<\/pre>\n\n\n\n<p>ubuntu@localhost:~$<\/p>\n\n\n\n<p><a href=\"https:\/\/www.server-world.info\/command\/html\/su.html\">su<\/a> &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Password:                     # root \u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\nroot@localhost:~#             # \u30b9\u30a4\u30c3\u30c1\u5b8c\u4e86\n<\/pre>\n\n\n\n<p>ubuntu@localhost:~$<\/p>\n\n\n\n<p><a href=\"https:\/\/www.server-world.info\/command\/html\/sudo.html\">sudo<\/a> -s<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[sudo] password for ubuntu:   # \u81ea\u8eab\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\nroot@localhost:\/home\/ubuntu#  # \u30b9\u30a4\u30c3\u30c1\u5b8c\u4e86\n<\/pre>\n\n\n\n<p>ipaddress\u78ba\u8a8d<\/p>\n\n\n\n<p>hostname -I<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Webmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<\/div>\n\n\n\n<p>root@dlp:~#<\/p>\n\n\n\n<p><a href=\"https:\/\/www.server-world.info\/command\/html\/apt.html\">apt<\/a> -y install python3 shared-mime-info unzip apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl<\/p>\n\n\n\n<p>root@dlp:~#<\/p>\n\n\n\n<p>curl -L -O https:\/\/www.webmin.com\/download\/deb\/webmin-current.deb<br>root@dlp:~#<\/p>\n\n\n\n<p>dpkg -i webmin-current.deb<\/p>\n\n\n\n<p>kunio<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/jp.ubuntu.com\/download \u6b21\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30c7\u30a3\u30a2\u3092\u5236\u4f5c\u3059\u308b\u3002 macOS\u3067Ubuntu\u306e\u30a4\u30f3\u30c8\u30fc\u30ebUSB\u306e\u4f5c\u6210\u624b\u9806 1.USB\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3092Mac\u306eUSB\u30dd\u30fc\u30c8\u306b\u633f\u3057\u3066disku [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-29","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=\/wp\/v2\/pages\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":6,"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=\/wp\/v2\/pages\/29\/revisions"}],"predecessor-version":[{"id":37,"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=\/wp\/v2\/pages\/29\/revisions\/37"}],"wp:attachment":[{"href":"https:\/\/www.c-mash.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}