In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you what the main changes in RHEL7 and RHEL6 are. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
As follows:
On the main changes of RHEL7 and RHEL6
RHEL7RHEL6 file system XFSEXT4 kernel version 3.10.x-x series 2.6.x-x series kernel name MaipoSantiago release time 2014-06-09 (3.10.0-123) 2010-11-09 (2.6.32-71) process name systemdinit run level runlevel0.target- > poweroff.target
Runlevel1.target- > rescue.target
Runlevel2.target- > multi-user.target
Runlevel3.target- > multi-user.target
Runlevel4.target- > multi-user.target
Runlevel5.target- > graphical.target
Runlevel6.target- > reboot.target
/ etc/systemd/system/default.targetrunlevel0
Runlevel1
Runlevel2
Runlevel3
Runlevel4
Runlevel5
Runlevel6
/ etc/inittab hostname / etc/hostname/etc/sysconfig/network maximum file 500TB16TB check tool xfs.repaire2fsck startup tool GRUB2GRUB0.97 service startup SystemdUpstart service management systemctl enable xxx.service
Systemctl start xxx.service
Systemctl stop xxx.service
Systemctl restart xxx.service
Compatible with the chkconfig,service command service enable xxx.service
Service stop xxx.service
Service start xxx.service
Chkconfig-level 3 5 nfs on Firewall Firewalld compatible with IptablesIptables Network binding Team DriverBonding Network time Chrony,ntpdntpdNFS version NFS4.1 support NFSv3,NFSv4.0,NFSv4.1 client NFS4 Cluster Management tool PacemakerRgmanager load balancing tool Keepalived,HAProxyRgmanager Desktop Environment GNOME3,KDE4.10GNOME2 Database MariaDBMySQLRHEL7 and RHEL6 Management commands and configuration File change subscription Information RHEL7RHEL6
Subscription Information tool subscription-manager identity/etc/sysconfig/rhn/systemid
Subscription-manager identity configuration subscription information subscription-manager rhn_registerrhn_register rhnreg_ks subscription-manager identity basic configuration RHEL7RHEL6GUI configuration tool gnome-control-centersystem-config-* network configuration tool nmcli nmtui nm-connection-editorsystem-config-network language configuration tool localectlsystem-config-language time configuration tool timedatectl datesystem-config-date date time synchronization ntpdate / etc/chrony.confntpdate / etc/ntp.conf keyboard configuration localectlsystem-config-keyboard service management RHEL7RHEL6 service list systemctl-at service
Ls / {usr/lib,etc} / systemd/system/*.servicechkconfig
Ls / etc/init.d/ service starts systemctl start name.serviceservice name start service stops systemctl stop name.serviceservice name stop service view systemctl status name.serviceservice name status service restart systemctl restart name.serviceservice name restart service boot self-boot systemctl enable name.servicechkconfig name on service does not start systemctl disable name.servicechkconfig name off add service systemctl daemon-reloadachkconfig-- add service list view systemctl-t service-- state=activeservice-- status-all view run level systemctl get-defaultrunlevel modify run level systemctl isolate name.target
Init runlevelinit runlevel log file / etc/rsyslog.conf
/ etc/rsyslog.d/*.conf
/ var/log/journal/
/ etc/systemd/journald.conf/etc/rsyslog.conf View log file / var/log//var/log/journalctl kernel hardware RHEL7RHEL6 startup prompt append rd.break or init=/bin/bash to kernel cmdlineappend 1 or s or init=/bin/bash to kernel cmdline turn off system systemctl shutdownshutdown power off systemctl poweroffpoweroff suspend system systemctl halthalt restart system systemctl rebootreboot modify run level systemctl set-default/etc/inittab configuration GRUB/etc/default/grub
Grub2-mkconfig
Grub-set-default/boot/grub/grub.conf Software Management RHEL7RHEL6 installation package yum install
Yum group installyum install
Yum groupinstall View package yum info
Yum group infoyum info
Yum groupinfo file system RHEL7RHEL6 establish file system fdisk parted gdiskfdisk partedLVM management vgextend lvextend xfs_growfsvgextend lvextend resize2fs network interface configuration RHEL7RHEL6 configuration name / etc/hosts
/ etc/resolv.conf
Nmcli conmod/etc/hosts
/ etc/resolv.conf hostname configuration / etc/hostname
Hostnamectl
Nmcli/etc/sysconfig/networkIp address configuration ip addr
Nmcli dev
Show
Teamdctl
Brctl
Bridgeip add
Ifconfig
Brctl configure Firewall firewall-cmd
Firewall-configiptables&ip6tables
/ etc/sysconfig/ip*tables
System-config-firewall View Port Command ss
Lsofnetstat
Ss
The above contents of lsof are the main changes in RHEL7 and RHEL6. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.