這篇文章給大家介紹CentOS 7與CentOS 6的區(qū)別是什么,內(nèi)容非常詳細(xì),感興趣的小伙伴們可以參考借鑒,希望對(duì)大家能有所幫助。
[CentOS 6] GNOME 2.x
[CentOS 7] GNOME 3.x(GNOME Shell)
[CentOS 6] ext4
[CentOS 7] xfs
[CentOS 6] 2.6.x-x
[CentOS 7] 3.10.x-x
[CentOS 6] 2.6
[CentOS 7] 2.7
[CentOS 6] iptables
[CentOS 7] firewalld
[CentOS 6] MySQL
[CentOS 7] MariaDB
[CentOS 6] /bin, /sbin, /lib, and /lib64在/下
[CentOS 7] /bin, /sbin, /lib, and /lib64在/usr下
[CentOS 6] /etc/sysconfig/network
[CentOS 7] /etc/hostname
[CentOS 6]
$ ntp
$ ntpq -p
[CentOS 7]
$ chrony
$ chronyc sources
[CentOS 6]
$ vim /etc/sysconfig/clock
ZONE="Asia/Tokyo"
UTC=fales
$ sudo ln -s /usr/share/zoneinfo/Asia/Tokyo/etc/localtime
[CentOS 7]
$ timedatectl set-timezone Asia/Tokyo
$ timedatectl status
[CentOS 6]
$ vim /etc/sysconfig/i18n
LANG="zh_CN.utf8"
$ /etc/sysconfig/i18n
$ locale
[CentOS 7]
$ localectl set-locale.utf8
$ localectl status
實(shí)際修改的是文件 /etc/locale.conf
修改 Secure CRT 的Terminal—>Appearance—>“Character encoding”為 UTF-8,控制臺(tái)方能正常顯示中文。
[CentOS 6]
$ service service_name start
$ service service_name stop
$ service sshd restart/status/reload
[CentOS 7]
$ systemctl start service_name
$ systemctl stop service_name
$ systemctl restart/status/reload sshd
[CentOS 6]
$ chkconfig service_name on/off
[CentOS 7]
$ systemctl enable service_name
$ systemctl disable service_name
[CentOS 6]
$ chkconfig --list
[CentOS 7]
$ systemctl list-unit-files
$ systemctl --type service
[CentOS 6]
$ kill -9
[CentOS 7]
$ systemctl kill --signal=9 sshd
[CentOS 6]
$ netstat
$ netstat -I
$ netstat -n
[CentOS 7]
$ ip n
$ ip -s l
$ ss
[CentOS 6]
$ ifconfig -a
[CentOS 7]
$ ip address show
[CentOS 6]
$ route -n
$ route -A inet6 -n
[CentOS 7]
$ ip route show
$ ip -6 route show
[CentOS 6]
$ shutdown -h now
[CentOS 7]
$ poweroff
$ systemctl poweroff
[CentOS 6]
$ reboot
$ shutdown -r now
[CentOS 7]
$ reboot
$ systemctl reboot
[CentOS 6]
$ init S
[CentOS 7]
$ systemctl rescue
[CentOS 6]
[GUICUI]
$ vim /etc/inittab
id:3:initdefault:
[CUIGUI]
$ startx
[CentOS 7]
[GUICUI]
$ systemctl isolate multi-user.target
[CUIGUI]
$systemctl isolate graphical.target
默認(rèn)
$ systemctl set-default graphical.target
$ systemctl set-default multi-user.target
當(dāng)前
$ systemctl get-default
[CentOS 6]
eth0
[CentOS 7]
成為了可預(yù)見性的命名規(guī)則
關(guān)于CentOS 7與CentOS 6的區(qū)別是什么就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,可以學(xué)到更多知識(shí)。如果覺得文章不錯(cuò),可以把它分享出去讓更多的人看到。
分享題目:CentOS7與CentOS6的區(qū)別是什么-創(chuàng)新互聯(lián)
標(biāo)題網(wǎng)址:http://aaarwkj.com/article0/dspooo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、面包屑導(dǎo)航、網(wǎng)頁設(shè)計(jì)公司、做網(wǎng)站、云服務(wù)器、商城網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容