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

posted @ 2013-03-07 14:53  陳聽溪  阅读(520)  评论(0编辑  收藏  举报