下面由centos教程栏目给大家介绍CentOS 6.x和 CentOS 7.x对比详解,希望对需要的朋友有所帮助!
文件系统
CentOS 6.x
EXT4:单个文件系统容量达到1EB,单个文件大小达到16TB。
CentOS 7.x
XFS:默认支持8EB减1字节的单个文件系统,最大可支持的文件大小为9EB,最大文件系统尺寸为18EB。
防火墙
-
CentOS 6.x
- iptables
-
CentOS 7.x
- firewalled
内核版本
-
CentOS 6.x
- 2.6.x-x
-
CentOS 7.x
- 3.10.x-x
默认数据库
-
CentOS 6.x
- MySQL
-
CentOS 7.x
- MariaDB
时间同步、时区修改、语言修改
操作 | CentOS 6.x | CentOS 7.x |
---|---|---|
时间同步 | ntpq -p | chronyc sources |
时区修改 | /etc/sysconfig/clock | timedatectl set-timezone Asia/Shanghai |
语言修改 | /etc/sysconfig/i18n | localectl set-locale LANG=zh_CN.UTF-8 |
主机名
-
CentOS 6.x
- 配置文件:/etc/sysconfig/network
-
CentOS 7.x
- 配置文件:/etc/hostname
网络服务管理
操作 | CentOS 6.x | CentOS 7.x |
---|---|---|
启动服务 | service 服务名 start | systemctl start 服务名 |
关闭服务 | service 服务名 stop | systemctl stop 服务名 |
重启服务 | service 服务名 restart | systemctl restart 服务名 |
查看服务状态 | service 服务名 status | systemctl status 服务名 |
查看所有服务状态 | service –status-all | systemctl list-units |
设置服务自启动 | chkconfig 服务名 on | systemctl enable 服务名 |
设置服务不自启动 | chkconfig 服务名 off | systemctl disable 服务名 |
查看所有服务自启动状态 | chkconfig –list | systemctl list-unit-files |
网络设置
操作 | CentOS 6.x | CentOS 7.x |
---|---|---|
网卡名 | eth0 | ens33 |
网络配置命令 | ifconfig/setup | ip/nmtui |
网络服务 | network | NetworkManager(network)备用 |
以上就是“CentOS 6.x和 CentOS 7.x对比详解”的详细内容,更多请关注1818ip网其它相关文章!
相关文章
标签:CentOS
- •centos中的uuid是必须的吗 centos安装minicom必须联网吗
- •centos如何查看用户 centos如何查看用户密码
- •centos重启后时间不对怎么办 centos时间不同步怎么解决
- •如何解决centos7下chrome打不开的问题 centos安装chrome
- •centos下ping不通网关怎么办 centos ping不通网关怎么解决
- •centos7系统找不到网卡 centos7装完系统找不到网卡
- •centos中pear命令无法使用怎么办 pear是什么意思
- •centos怎么实现开机进入命令行模式 centos7开机进入命令行模式
- •centos无法进入图形界面怎么解决 centos无法进入图形界面
- •centos默认用户名密码是什么 centos默认用户名密码