linux 命令点滴记录(centos)

2016年5月26日:创建root用户

[lx@localhost ~]$ su root
Password: 
[root@localhost lx]# 
帐号:root ;密码:输入的Password

 2016年5月31日:关闭防火墙

1) 即时生效,重启后失效 
开启: service iptables start 
关闭: service iptables stop 

2)重启生效
关闭:chkconfig iptables off
开启:chkconfig iptables on
重启:reboot
原文地址:https://www.cnblogs.com/vitre/p/5531304.html