一、Centos6.x和Centos7.x对比
### --- CentosOS6.x和CentOS7.x对比-文件系统
~~~ #centos6.x:EXT4:
~~~ ext4的单个文件系统容量达到1EB,单个文件大小则达到16TB
~~~ #centos7.x:XFS:
~~~ xfs默认支持8EB减1字节的单个文件系统,最大可支持的文件大小为9EB,
~~~ 最大文件系统尺寸为18EB
### --- CentosOS6.x和CentOS7.x对比-防火墙/内核版本/默认数据库
~~~ centos6.x:防火墙:iptables 内核版本:3.6.x-x 默认数据库:mysql
~~~ centos7.x:防火墙:firewalld 内核版本:3.10.x-x 默认数据库:mariadb
### --- CentosOS6.x和CentOS7.x对比-时间同步/修改时区/修改语言
~~~ centos6.x:时间同步:ntpq -p 修改时区:/etc/sysconfig/clock 修改语言:/etc/sysconfig/i18n
~~~ centos7.x:时间同步:chronyc sources 修改时区:timedatectl set-timezone Asia/Shanghai 修改语言:localectl set-locale LANG=zh_CN.UTF-8
### --- centos7.x
[root@cento7 ~]# timedatectl // 查看当前系统的时区
Time zone: Asia/Shanghai (CST, +0800)
[root@cento7 ~]# timedatectl set-timezone Asia/Shanghai // 修改时区
[root@cento7 ~]# localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
[root@cento7 ~]# localectl set-locale LANG=en_US.utf8 // 修改语言
[root@cento7 ~]# localectl
System Locale: LANG=en_US.utf8
VC Keymap: us
X11 Layout: us
### --- centos6.x
[root@centos6 ~]# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16" // i18n:i十八n</