您好,登錄后才能下訂單哦!
這篇文章給大家介紹CentOS 7與CentOS 6的區別是什么,內容非常詳細,感興趣的小伙伴們可以參考借鑒,希望對大家能有所幫助。
[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
實際修改的是文件 /etc/locale.conf
修改 Secure CRT 的Terminal—>Appearance—>“Character encoding”為 UTF-8,控制臺方能正常顯示中文。
[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
默認
$ systemctl set-default graphical.target
$ systemctl set-default multi-user.target
當前
$ systemctl get-default
[CentOS 6]
eth0
[CentOS 7]
成為了可預見性的命名規則
關于CentOS 7與CentOS 6的區別是什么就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。