下面由centos教程栏目给大家介绍CentOS 6.x和 CentOS 7.x对比详解,希望对需要的朋友有所帮助!
文件系统CentOS 6.xEXT4
:单个文件系统容量达到1EB,单个文件大小达到16TB。
CentOS 7.xXFS
:默认支持8EB减1字节的单个文件系统,最大可支持的文件大小为9EB,最大文件系统尺寸为18EB。
防火墙CentOS 6.x
iptablesCentOS 7.x
firewalled内核版本CentOS 6.x
2.6.x-xCentOS 7.x
3.10.x-x默认数据库CentOS 6.x
MySQLCentOS 7.x
MariaDB时间同步、时区修改、语言修改操作 | CentOS 6.x | CentOS 7.x | 时间同步ntpq -pchronyc sources时区修改/etc/sysconfig/clocktimedatectl set-timezone Asia/Shanghai语言修改/etc/sysconfig/i18nlocalectl set-locale LANG=zh_CN.UTF-8主机名CentOS 6.x
配置文件:/etc/sysconfig/networkCentOS 7.x
配置文件:/etc/hostname网络服务管理操作 | CentOS 6.x | CentOS 7.x | 启动服务service 服务名 startsystemctl start 服务名关闭服务service 服务名 stopsystemctl stop 服务名重启服务service 服务名 restartsystemctl restart 服务名查看服务状态service 服务名 statussystemctl status 服务名查看所有服务状态service --status-allsystemctl list-units设置服务自启动chkconfig 服务名 onsystemctl enable 服务名设置服务不自启动chkconfig 服务名 offsystemctl disable 服务名查看所有服务自启动状态chkconfig --listsystemctl list-unit-files网络设置操作 | CentOS 6.x | CentOS 7.x | 网卡名eth0ens33网络配置命令ifconfig/setupip/nmtui网络服务networkNetworkManager(network)备用更多centos技术文章,请访问centos入门教程栏目!