User Tools

Site Tools


linux:membuat-swap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:membuat-swap [2025/01/25 08:42] – kbadminlinux:membuat-swap [2026/11/11 02:54] (current) – kbadmin
Line 21: Line 21:
 </code> </code>
  
 +Contoh 4GB 
 +<code> 
 +sudo dd if=/dev/zero of=/swapfile count=4048 bs=1MiB 
 +sudo chmod 600 /swapfile 
 +sudo mkswap /swapfile 
 +sudo swapon /swapfile 
 +echo "/swapfile   swap    swap    sw  0   0" >> /etc/fstab 
 +</code>
 untuk membuat swap lebih besar anda cukup mengganti pada bagian **count=2048** dengan angka yang lebih tinggi, misalnya 4096 dll untuk membuat swap lebih besar anda cukup mengganti pada bagian **count=2048** dengan angka yang lebih tinggi, misalnya 4096 dll
  
  

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/membuat-swap.txt · Last modified: by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki