#!/bin/bash
#by fuqiang
#2018-11-29
fallocate -l 4G /home/swapfile
ls -lh /home/swapfile
chmod 600 /home/swapfile
mkswap /home/swapfile
swapon /home/swapfile
swapon -s
free -m
centos7添加虚拟内存
猜你喜欢
转载自blog.csdn.net/kevinsingapore/article/details/91432652
今日推荐
周排行