본문 바로가기

IT/SAP

Adding SWAP file for Linux

1. dd if=/dev/zero of=/swapfile bs=1024 count=10485760  # 10G

2. mkswap /swapfile

3. swapon /swapfile