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!
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
CentOS 6.x | CentOS 7.x | |
---|---|---|
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 |
CentOS 6.x | CentOS 7.x | |
---|---|---|
eth0 | ens33 | |
ifconfig/setup | ip/nmtui | |
network | NetworkManager (network) backup |