首頁  >  文章  >  運維  >  centos7與centos6.5的差別是什麼?

centos7與centos6.5的差別是什麼?

coldplay.xixi
coldplay.xixi原創
2020-07-28 15:26:084412瀏覽

centos7與centos6.5的差別是:1、預設的檔案系統,centos6是ext4而centos7是xfs;2、核心版本,centos6是【2.6.x-x/】而centos7是【3.10.x-x 】。

centos7與centos6.5的差別是什麼?

centos7與centos6.5的差異是:

(1)桌上型系統
[CentOS6] GNOME 2.x/

[CentOS7] GNOME 3.x(GNOME Shell)

(2)檔案系統
[CentOS6] ext4/

[CentOS7] xfs

(3)核心版本
[CentOS6] 2.6.x-x/

[CentOS7] 3.10.x-x

#(4)啟動載入器
[ CentOS6] GRUB Legacy ( efibootmgr)/

[CentOS7] GRUB2

(5)防火牆
[CentOS6] iptables/

[CentOS7] firewalld




#[CentOS7] firewalld

##(6)預設資料庫

[CentOS6] MySQL/

[CentOS7] MariaDB

(7)檔案結構

[CentOS6] /bin, /sbin, /lib , and /lib64在/下/ 

[CentOS7] /bin, /sbin, /lib, and /lib64移到/usr下



#(8)主機名稱

[CentOS6]

/etc/sysconfig/network/

[CentOS7]

/etc/hostname

(9)時間同步
[CentOS6]

$ ntp $ ntpq -p /

[CentOS7]

$ chrony $ chronyc sources

(10)修改時間
[CentOS6]

$ vim /etc/sysconfig/clock
ZONE="Asia/Tokyo"
UTC=fales
$ sudo ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime

#[CentOS7]


$ timedatectl set-timezone Asia/Tokyo
$ timedatectl status

(11)修改區域

[CentOS6]

$ vim /etc/sysconfig/i18n
LANG="ja_JP.utf8"
$ /etc/sysconfig/i18n
$ locale

[CentOS7]
###
$ localectl set-locale.utf8
$ localectl status
######相關教學推薦:###centos教學##########

以上是centos7與centos6.5的差別是什麼?的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn