为Centos 7分配SWAP(交换分区)

经过Mariadb数次异常停摆后,查出来内存溢出错误。为啥以前就没有出过这个问题。free指令一看,我怎么没有swap分区!整理了一下Linux下分配交换分区的指令,以备后用。

当前环境为Centos 7,root用户

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×

alt="AthorX - 仰望星空" height="28">

© 2019 zhshch  Powered by Hexo & Icarus

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×