系统及服务启动控制:

1,启动管理器:systemd

2,启动管理命令:systemctl

例如:

systemctl status UNIT

systemctl start UNIT

systemctl stop UNIT

systemctl restart UNIT

systemctl mask UNIT # 将该服务剔除,禁止安装启动

systemctl unmask UNIT # 取消禁止,可以安装启动

systemctl reload UNIT

.......

chkconfig --list 被替换为:==> systemctl list-units

设置开机启动或开机不启动:

systemctl enable autofs 对应rhel6:chkconfig autofs on

systemctl disable autofs 对应rhel6:chkconfig autofs off

启动停止服务:

systemctl start autofs 对应rhel6:service autofs start

systemctl stop autofs 对应rhel6:service autofs stop


编辑器及工具:

1,使用gcc 4.8作为默认编译工具(rhel6 使用的是:gcc 4.4)

2,使用glibc 2.17作为标准库(rhel6 使用的是:glibc 2.12)

3,使用GDB 7.6.1作为编译调试工具(rhel6 使用的是:GDB 7.2)

4,支持Ruby 2.0 (rhel6 :Ruby 1.8)

5,支持Python 2.7.5(rhel6 :Python 2.6)

6,支持Java 6和7(rhel6 :Java 5,6,7 )


网络配置:

1,迁移原有的网络配置工具到全新的NetworkManager

2,支持全新的网络聚合模式Team(和bond一样,Team更高效,更安全,新技术)

3,使用chronyd(/etc/chronyd.conf)服务替换原有的ntpd(/etc/ntpd.conf)服务

4,全新的Firewalld防火墙工具

firewall-config  #打开图形化界面命令

5,支持网络名字空间方便容器型虚拟机管理


------------------ 防火墙设置对比:

允许外部访问本地80端口


RHEL6:

iptables -A INPUT -p tcp --dport 80 -j ACCEPT # 临时生效

service iptables save # 保存设置,永久生效


RHEL7:

firewall-cmd --permanent --add-service=http # --permanent 持续生效,--runtime 临时生效

firewall-cmd --reload # 重新读取配置,使配置生效