centos文件系统变为只读的简单处置

#mount -n -o remount,rw /
#fsck -y
-----------------------
#vi /etc/rc.d/rc.local
fsck -y
mount -n -o remount,rw /
service sshd restart
service iptables start
iptables-restore /etc/iptables.r

原文地址:https://www.cnblogs.com/taosim/p/2948060.html