{"id":10,"date":"2011-11-11T11:12:08","date_gmt":"2011-11-11T11:12:08","guid":{"rendered":"http:\/\/technese.com\/?p=10"},"modified":"2012-05-20T02:09:17","modified_gmt":"2012-05-20T02:09:17","slug":"add-linux-swapfile-as-virtual-memory","status":"publish","type":"post","link":"https:\/\/technese.com\/index.php\/2011\/11\/11\/add-linux-swapfile-as-virtual-memory\/","title":{"rendered":"Add Linux swapfile as virtual memory"},"content":{"rendered":"<p>Add a 1 GByte swapfile:<\/p>\n<pre><code>$ dd if=\/dev\/zero of=\/swapfile bs=1M count=1024\r\n$ mkswap \/swapfile\r\n$ swapon \/swapfile\r\n<\/code><\/pre>\n<p>to make it available on boot, edit \/etc\/fstab file and include: \/swapfile swap swap defaults 0 0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add a 1 GByte swapfile: $ dd if=\/dev\/zero of=\/swapfile bs=1M count=1024 $ mkswap \/swapfile $ swapon \/swapfile to make it available on boot, edit \/etc\/fstab file and include: \/swapfile swap swap defaults 0 0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":8,"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technese.com\/index.php\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}