Mar 20

创建swap文件的命令 不指定

bkkkd , 11:46 , 开发应用 , 评论(0) , 引用(0) , 阅读(840) , Via 本站原创 | |

fallocate -l 1G /swapfile
mkswap /swapfile
chmod 600 /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults    0  0" >> /etc/fstab
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]