Home  >  Article  >  Operation and Maintenance  >  Detailed comparison between CentOS 6.x and CentOS 7.x

Detailed comparison between CentOS 6.x and CentOS 7.x

藏色散人
藏色散人forward
2020-08-18 11:51:462892browse

The column centos tutorial below will introduce you to the detailed comparison between CentOS 6.x and CentOS 7.x. I hope it will be helpful to friends in need!

Detailed comparison between CentOS 6.x and CentOS 7.x

File system

CentOS 6.x

EXT4: The capacity of a single file system reaches 1EB, and the size of a single file Reaching 16TB.

CentOS 7.x

XFS: The default supports a single file system of 8EB minus 1 byte, the maximum supported file size is 9EB, and the maximum file system size is 18EB .

Firewall

  • CentOS 6.x

    • iptables
  • CentOS 7. x

    • firewalled

Kernel version

  • CentOS 6.x

    • 2.6.x-x
  • CentOS 7.x

    • 3.10.x-x

Default Database

  • CentOS 6.x

    • MySQL
  • CentOS 7.x

    • MariaDB

Time synchronization, time zone modification, language modification

Operation CentOS 6.x CentOS 7.x
Time synchronization ntpq -p chronyc sources
Time zone modification /etc/sysconfig/clock timedatectl set-timezone Asia/Shanghai
Language Modify /etc/sysconfig/i18n localectl set-locale LANG=zh_CN.UTF-8

Host name

  • CentOS 6.x

    • Configuration file:/etc/sysconfig/network
  • ##CentOS 7.x

      Configuration file:/etc/hostname
Network Service Management

OperationCentOS 6.xCentOS 7.x##Start serviceClose serviceRestart serviceView service statusView all service statusSet the service to start automaticallySet the service not to start automatically View the self-starting status of all servicesNetwork settings
service service name start systemctl start service name
service service namestop systemctl stop service name
service service name restart systemctl restart service name
service service name status systemctl status service name
service --status-all systemctl list-units
chkconfig service name on systemctl enable service name
chkconfig service name off systemctl disable service name
chkconfig --list systemctl list-unit-files

OperationNetwork card nameNetwork configuration commandNetwork service
CentOS 6.x CentOS 7.x
eth0 ens33
ifconfig/setup ip/nmtui
network NetworkManager (network) backup
For more centos technical articles, please visit the
centos Getting Started Tutorial

column!

The above is the detailed content of Detailed comparison between CentOS 6.x and CentOS 7.x. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete