Step 1. use "mkfile" to create a swap file within a sufficient disk space partition. eg. #mkfile 512m /export/home/swapfile Step 2. use "swap -a" to add the swap file. eg. #swap -a /export/home/swapfile Step 3. use "swap -l" to check it. Step 4. edit /etc/vfstab ( optional ). |
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.