linux中增加swap分区文件的步骤方法

来源:互联网 发布:网络畅销书排行榜 编辑:程序博客网 时间:2024/05/16 18:35

参考:http://blog.csdn.net/sungblog/article/details/1185965

dd if=/dev/zero of=/data1/swap bs=1024 count=10240000mkswap /data1/swapswapon /data1/swapfree -m & topvi /etc/fstab/data1/swap swap swap defaults 0 0