this is a extra element for clear the floated element
增加临时交换空间
  • 12/31
  • 2008
基础知识 | Linux 3235 次查看
  1. 产生一个64M的空文件

  #dd if=/dev/zero of=/swapfile bs=1024 count=65536

  2. 初始化该文件为交换文件:

  mkswap /swapfile 65536

  sync

  3. 激活这个交换文件:

  swapon /swapfile