{"id":491,"date":"2019-07-05T16:51:00","date_gmt":"2019-07-05T07:51:00","guid":{"rendered":""},"modified":"2020-10-02T22:28:00","modified_gmt":"2020-10-02T13:28:00","slug":"%e6%a4%9c%e8%a8%bc%e7%94%a8%e3%81%abtinycore-linux%e3%81%ae%e3%82%a4%e3%83%a1%e3%83%bc%e3%82%b8%e3%82%92%e6%ba%96%e5%82%99%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/wp.zassoul.com\/?p=491","title":{"rendered":"\u691c\u8a3c\u7528\u306btinycore linux\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u6e96\u5099\u3059\u308b"},"content":{"rendered":"<p>GNS3\u3084EVE-NG\u4e0a\u3067\u306e\u691c\u8a3c\u306b\u8efd\u91cfLinux\u304c\u6b32\u3057\u304b\u3063\u305f\u306e\u3067, Tiny Core Linux\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fsshd\u3084httpd, keyboard map\u306a\u3069\u307e\u3044\u3069\u307e\u3044\u3069\u8a2d\u5b9a\u3057\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067, \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u6e08\u307f\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<p>\u305d\u306e\u624b\u9806\u306e\u30e1\u30e2\u3002<\/p>\n<h3>1. \u30a4\u30e1\u30fc\u30b8\u5165\u624b<\/h3>\n<p><a href=\"http:\/\/tinycorelinux.net\/downloads.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u30aa\u30d5\u30a3\u30b7\u30e3\u30eb<\/a>\u304b\u3089iso\u3092DL\u3002<\/p>\n<h3>2. OpenStack\u306b\u30a4\u30e1\u30fc\u30b8\u767b\u9332\u3057\u3066\u8d77\u52d5<\/h3>\n<p>\u624b\u9806\u306f\u4ee5\u4e0b\u3002\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u305f\u3081\u306b\u3084\u3084\u3053\u3057\u3044\u624b\u9806\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002(\u3082\u3063\u3068\u7c21\u5358\u306a\u624b\u9806\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u308c\u3069\u30fb\u30fb\u30fb(^_^; )<\/p>\n<p>2.1. iso \u306e\u30a4\u30e1\u30fc\u30b8\u306b\u30d6\u30fc\u30bf\u30d6\u30eb\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u3066\u8d77\u52d5<br \/>2.2. \u30a2\u30bf\u30c3\u30c1\u3057\u305f\u30dc\u30ea\u30e5\u30fc\u30e0\u306btinycore\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>2.3. \u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u30c7\u30bf\u30c3\u30c1<br \/>2.4. \u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u767b\u9332<br \/>2.5. \u305d\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u518d\u5ea6\u8d77\u52d5<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/wp.zassoul.com\/wp-content\/uploads\/2019\/07\/tynicore.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" data-original-height=\"765\" data-original-width=\"1022\" height=\"149\" src=\"https:\/\/wp.zassoul.com\/wp-content\/uploads\/2019\/07\/tynicore-300x225.jpg\" width=\"200\" \/><\/a><\/div>\n<h3>3. \u30bf\u30fc\u30df\u30ca\u30eb\u3092\u7acb\u3061\u4e0a\u3052\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h3>\n<p>3.1. sshd \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb <\/p>\n<pre>tc@box:~$ tce-load -wi openssh<br \/>tc@box:~$ sudo \/usr\/local\/etc\/init.d\/openssh start<br \/><\/pre>\n<p>3.2. Pass\u8a2d\u5b9a<\/p>\n<pre>tc@box:~$ sudo su<br \/>root@box:\/home\/tc# passwd tc<br \/><\/pre>\n<p>3.3. httpd \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre>tc@box:~$ tce-load -wi apache2<br \/>tc@box:~$ sudo \/usr\/local\/apache2\/bin\/apachectl start<br \/><\/pre>\n<p>3.4. \u30ad\u30fc\u30dc\u30fc\u30c9\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u65e5\u672c\u8a9e\u30ad\u30fc\u30dc\u30fc\u30c9\u3078\u5909\u66f4<\/p>\n<pre>tc@box:~$ tce-load -wi kmaps.tcz<br \/>tc@box:~$ loadkmap &lt; \/usr\/share\/kmap\/qwerty\/jp106.kmap<br \/><\/pre>\n<p>3.5. \u8a2d\u5b9a\u4fdd\u5b58\u5bfe\u5fdc<br \/>\u30e1\u30e2\u30ea\u4e0a\u3067\u8d77\u52d5\u3057\u3066\u3044\u308bOS\u306e\u305f\u3081, \u518d\u8d77\u52d5\u3059\u308b\u3068\u521d\u671f\u72b6\u614b\u306b\u623b\u308b\u4ed5\u69d8\u3002<br \/>\u4ee5\u4e0b\u3092\u7de8\u96c6\u3057\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre>tc@box:~$ cat \/opt\/.filetool.lst<br \/>opt<br \/>home<br \/>usr\/local\/etc\/ssh                   #\u8ffd\u52a0<br \/>etc\/shadow                          #\u8ffd\u52a0<br \/>usr\/local\/apache2\/htdocs            #\u8ffd\u52a0<br \/>usr\/local\/apache2\/conf\/httpd.conf   #\u8ffd\u52a0<br \/><\/pre>\n<p>\u53cd\u6620\u3002 <\/p>\n<pre>tc@box:~$ filetool.sh -b<br \/><\/pre>\n<p>3.6. \u8d77\u52d5\u6642\u5bfe\u5fdc<br \/>OS\u8d77\u52d5\u6642\u306bsshd\u3092\u8d77\u52d5\u3057, \u30ad\u30fc\u30dc\u30fc\u30c9\u30ec\u30a4\u30a2\u30a6\u30c8\u3082JP\u306b\u3059\u308b\u3088\u3046\u306b\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u767b\u9332\u3002 <\/p>\n<pre>tc@box:~$ cat \/opt\/bootlocal.sh<br \/>#!\/bin\/sh<br \/># put other system startup commands here<br \/>\/usr\/local\/etc\/init.d\/openssh start<br \/>loadkmap &lt; \/usr\/share\/kmap\/qwerty\/jp106.kmap<br \/><\/pre>\n<p><\/p>\n<h3>4. qcow2\u53d6\u308a\u51fa\u3057<\/h3>\n<p>4.1. \u5f53\u8a72\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8<br \/>4.2. \u5f53\u8a72\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092\u30d5\u30a1\u30a4\u30eb\u843d\u3068\u3059<br \/>4.3. EVE-NG\u3078\u767b\u9332<\/p>\n<p>\u8a66\u3057\u306bEVE-NG\u3078\u767b\u9332\u3057\u3066\u307f\u305f\u3089, \u7121\u4e8b\u306b\u8d77\u52d5\u3057\u305f\u3002<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/wp.zassoul.com\/wp-content\/uploads\/2019\/07\/tynicore2.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" data-original-height=\"789\" data-original-width=\"1600\" height=\"157\" src=\"https:\/\/wp.zassoul.com\/wp-content\/uploads\/2019\/07\/tynicore2-300x148.jpg\" width=\"320\" \/><\/a><\/div>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GNS3\u3084EVE-NG\u4e0a\u3067\u306e\u691c\u8a3c\u306b\u8efd\u91cfLinux\u304c\u6b32\u3057\u304b\u3063\u305f\u306e\u3067, Tiny Core Linux\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fsshd\u3084httpd, keyboard map\u306a\u3069\u307e\u3044\u3069\u307e\u3044\u3069\u8a2d\u5b9a\u3057\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u2026 <span class=\"read-more\"><a href=\"https:\/\/wp.zassoul.com\/?p=491\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":232,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,36,8],"tags":[],"class_list":["post-491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-eve-ng","category-tinycore","category-8"],"_links":{"self":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=491"}],"version-history":[{"count":1,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/491\/revisions"}],"predecessor-version":[{"id":628,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/491\/revisions\/628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/media\/232"}],"wp:attachment":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}