linux添加虚拟内存 2023-12-09 19:43 | 2,199 | 0 | linux,小技巧 295 字 | 2 分钟 为一些低运存的服务器或linux设备添加虚拟内存以便承载更多的程序 这里采用设置交换文件的方法 以centos7为例: 输入 :free -h total used free shared buff/cache available Mem: 487 312 74 28 101 134Swap: 0 0 0 显示swap为0表示没有开启 使用命令创建…