On the main changes of RHEL7 and RHEL6 |
|
RHEL7 |
RHEL6 |
File system |
Xfs |
EXT4 |
Kernel version |
3.10.x-x Series |
2.6.x-x Series |
Kernel name |
Maipo |
Santiago |
Publish Time |
2014-06-09 (3.10.0-123) |
2010-11-09 (2.6.32-71) |
Process Name |
Systemd |
Init |
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.target |
Runlevel0 Runlevel1 Runlevel2 Runlevel3 Runlevel4 Runlevel5 Runlevel6 /etc/inittab |
Host Name |
/etc/hostname |
/etc/sysconfig/network |
Maximum file |
500TB |
16TB |
Check tool |
Xfs.repair |
E2fsck |
Startup tool |
GRUB2 |
GRUB0.97 |
Service startup |
Systemd |
Upstart |
Service Management |
Systemctl Enable Xxx.service Systemctl Start Xxx.service Systemctl Stop Xxx.service Systemctl Restart Xxx.service Compatible Chkconfig,service command |
Service Enable Xxx.service Service Stop Xxx.service Service Start Xxx.service Chkconfig--level 3 5 NFS on |
Firewall |
FIREWALLD compatible iptables |
Iptables |
Network bindings |
Team Driver |
Bonding |
Network time |
Chrony,ntpd |
Ntpd |
NFS Version |
NFS4.1 Support nfsv3,nfsv4.0,nfsv4.1 Client |
NFS4 |
Cluster Management tools |
Pacemaker |
Rgmanager |
Load Balancing Tool |
Keepalived,haproxy |
Rgmanager |
Desktop environment |
gnome3,kde4.10 |
GNOME2 |
Database |
Mariadb |
Mysql |
Changes to management commands and configuration files for RHEL7 and RHEL6 |
Subscription information |
RHEL7 |
RHEL6
|
Subscribe to Information Tools |
Subscription-manager identity |
/etc/sysconfig/rhn/systemid Subscription-manager identity |
Configure subscription information |
Subscription-manager Rhn_register |
Rhn_register Rhnreg_ks Subscription-manager Identity |
Basic Configuration |
RHEL7 |
RHEL6 |
GUI Configuration Tool |
Gnome-control-center |
system-config-* |
Network Configuration Tool |
NMCLI Nmtui Nm-connection-editor |
System-config-network |
Language Configuration Tool |
Localectl |
System-config-language |
Time Configuration Tool |
Timedatectl Date |
System-config-date Date |
Time synchronization |
Ntpdate/etc/chrony.conf |
Ntpdate/etc/ntp.conf |
Keyboard configuration |
Localectl |
System-config-keyboard |
Service Management |
RHEL7 |
RHEL6 |
Services list |
Systemctl-at Service LS/{usr/lib,etc}/systemd/system/*.service |
Chkconfig ls/etc/init.d/ |
Service startup |
Systemctl Start Name.service |
Service Name Start |
Service stopped |
Systemctl Stop Name.service |
Service Name Stop |
Services View |
Systemctl Status Name.service |
Service Name Status |
Service restart |
Systemctl Restart Name.service |
Service Name Restart |
Service Power-on Self-starter |
Systemctl Enable Name.service |
Chkconfig name on |
The service does not start from the startup |
Systemctl Disable Name.service |
Chkconfig name off |
Add a service |
Systemctl Daemon-reload |
Achkconfig--add |
Services List View |
SYSTEMCTL-T Service--state=active |
Service--status-all |
View Run Level |
Systemctl Get-default |
RunLevel |
Modify Run Level |
Systemctl Isolate Name.target Init runlevel |
Init runlevel |
Log files |
/etc/rsyslog.conf /etc/rsyslog.d/*.conf /var/log/journal/ /etc/systemd/journald.conf |
/etc/rsyslog.conf |
viewing log files |
/var/log/ |
/var/log/journalctl |
Kernel hardware |
RHEL7 |
RHEL6 |
Start prompt |
Append rd.break or Init=/bin/bash to kernel cmdline |
Append 1 or S or Init=/bin/bash to kernel cmdline |
Shutting down the system |
Systemctl shutdown |
Shutdown |
Power off |
Systemctl Poweroff |
Poweroff |
Suspend system |
Systemctl Halt |
Halt |
Reboot system |
Systemctl reboot |
Reboot |
Modify Run Level |
Systemctl Set-default |
/etc/inittab |
Configuring GRUB |
/etc/default/grub Grub2-mkconfig Grub-set-default |
/boot/grub/grub.conf |
Software Management |
RHEL7 |
RHEL6 |
Installing packages |
Yum Install Yum Group Install |
Yum Install Yum Groupinstall |
View Packages |
Yum Info Yum Group Info |
Yum Info Yum GroupInfo |
File system |
RHEL7 |
RHEL6 |
Establish a file system |
Fdisk parted Gdisk |
Fdisk parted |
LVM Management |
Vgextend Lvextend Xfs_growfs |
Vgextend Lvextend RESIZE2FS |
Network Interface Configuration |
RHEL7 |
RHEL6 |
Configuration name |
/etc/hosts /etc/resolv.conf NMCLI Conmod |
/etc/hosts /etc/resolv.conf |
Host name Configuration |
/etc/hostname Hostnamectl Nmcli |
/etc/sysconfig/network |
IP address configuration |
IP addr NMCLI Dev Show Teamdctl Brctl Bridge |
IP add Ifconfig Brctl |
Configuring firewalls |
Firewall-cmd Firewall-config |
Iptables&ip6tables /etc/sysconfig/ip*tables System-config-firewall |
View Port command |
Ss Lsof |
Netstat Ss Lsof |