您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

CentOS 6.x和 CentOS 7.x对比详解

2024/2/29 11:41:34发布12次查看
下面由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.xcentos 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/networkcentos 7.x
配置文件:/etc/hostname网络服务管理操作centos 6.xcentos 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.xcentos 7.x
网卡名 eth0 ens33
网络配置命令 ifconfig/setup ip/nmtui
网络服务 network networkmanager(network)备用
更多centos技术文章,请访问centos入门教程栏目!  
以上就是centos 6.x和 centos 7.x对比详解的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product