{"id":2244,"date":"2022-12-06T16:32:10","date_gmt":"2022-12-06T07:32:10","guid":{"rendered":"https:\/\/weblog.hirohiro716.com\/?p=2244"},"modified":"2023-08-21T18:13:56","modified_gmt":"2023-08-21T09:13:56","slug":"linuxmint21%e3%81%a7%e3%82%b9%e3%83%af%e3%83%83%e3%83%97%e9%a0%98%e5%9f%9f%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/weblog.hirohiro716.com\/?p=2244","title":{"rendered":"LinuxMint21\u3067\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u3092\u8ffd\u52a0\u3059\u308b"},"content":{"rendered":"<pre class=\"brush: plain; title: \u74b0\u5883; notranslate\" title=\"\u74b0\u5883\">\r\nLinux Mint 21 Vanessa\r\n<\/pre>\n<h4>\u65e2\u5b58\u306e\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u5bb9\u91cf\u3092\u5909\u66f4\u3059\u308b\u5834\u5408<\/h4>\n<p>\n\u203b\u4e00\u5ea6\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u304c\u306a\u304f\u306a\u308b\u306e\u3067\u7269\u7406\u30e1\u30e2\u30ea\u306b\u4f59\u88d5\u304c\u306a\u3044\u5834\u5408\u306f\u5371\u967a\n<\/p>\n<p style=\"margin-top:2em;\">\n\u30b9\u30ef\u30c3\u30d7\u3092\u4e00\u5ea6off\u306b\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# swapoff --all\r\n<\/pre>\n<p style=\"margin-top:2em;\">\n\u65b0\u3057\u3044\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# dd if=\/dev\/zero of=\/swapfile bs=1M count=8192\r\n# chmod 600 \/swapfile\r\n<\/pre>\n<p style=\"margin-top:2em;\">\n\u65b0\u3057\u3044\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u3068\u3057\u3066\u30de\u30fc\u30af\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# mkswap \/swapfile\r\n<\/pre>\n<p style=\"margin-top:2em;\">\n\u30b9\u30ef\u30c3\u30d7\u3092\u6709\u52b9\u5316\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# swapon \/swapfile\r\n<\/pre>\n<h4>\u65e2\u5b58\u306e\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3068\u306f\u5225\u306e\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408<\/h4>\n<p>\n\u203b\u65e2\u5b58\u306e\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u3092\u6d3b\u304b\u3057\u305f\u307e\u307e\u8ffd\u52a0\u3067\u304d\u308b\u305f\u3081\u7269\u7406\u30e1\u30e2\u30ea\u306b\u4f59\u88d5\u304c\u306a\u3044\u5834\u5408\u306b\u6709\u52b9\n<\/p>\n<p style=\"margin-top:2em;\">\n\u65b0\u3057\u3044\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# dd if=\/dev\/zero of=\/swapfile2 bs=1M count=4096\r\n# chmod 600 \/swapfile2\r\n<\/pre>\n<p style=\"margin-top:2em;\">\n\u65b0\u3057\u3044\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u3068\u3057\u3066\u30de\u30fc\u30af\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# mkswap \/swapfile2\r\n<\/pre>\n<p style=\"margin-top:2em;\">\n\u30b9\u30ef\u30c3\u30d7\u3092\u6709\u52b9\u5316\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# swapon \/swapfile2\r\n<\/pre>\n<p style=\"margin-top:2em;\">\nfstab\u306b\u4e0b\u8a18\u306e\u884c\u3092\u8ffd\u8a18\u3057\u3066\u518d\u8d77\u52d5\u6642\u306b\u30b9\u30ef\u30c3\u30d7\u304c\u81ea\u52d5\u7684\u306b\u6709\u52b9\u5316\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: \/etc\/fstab; notranslate\" title=\"\/etc\/fstab\">\r\n\/swapfile2    none    swap    sw    0    0\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Linux Mint 21 Vanessa \u65e2\u5b58\u306e\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u5bb9\u91cf\u3092\u5909\u66f4\u3059\u308b\u5834\u5408 \u203b\u4e00\u5ea6\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u304c\u306a\u304f\u306a\u308b\u306e\u3067\u7269\u7406\u30e1\u30e2\u30ea\u306b\u4f59\u88d5\u304c\u306a\u3044\u5834\u5408\u306f\u5371\u967a \u30b9\u30ef\u30c3\u30d7\u3092\u4e00\u5ea6off\u306b\u3059\u308b\u3002 # swapoff &#8211;all \u65b0\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,10],"tags":[],"class_list":["post-2244","post","type-post","status-publish","format-standard","hentry","category-mint","category-ubuntu"],"views":2568,"_links":{"self":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2244"}],"version-history":[{"count":12,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2244\/revisions"}],"predecessor-version":[{"id":2428,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2244\/revisions\/2428"}],"wp:attachment":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}