admin

修改swap分区大小 经验教程

修改swap分区大小

1.查看当前swap大小 free -h 2. 创建大小为4G的空间 dd if=/dev/zero of=/swap1 bs=1M count=4096 if 表示infile,of表示outfil ···